Package: docker.io
Version: 1.13.0~ds1-1

dockerd has moved from /usr/bin/ to /usr/sbin/. the systemd script seems
to have been updated, because docker restarts correctly on my systemd
machines. it doesn't do so on my sysvinit machines - the init.d script
hasn't been updated, causing docker not to start and, worse, the failure
of the package update.

e.g:

# apt-get -u -t experimental install docker.io runc containerd
[...]
Setting up docker.io (1.13.0~ds1-1) ...
Installing new version of config file /etc/init.d/docker ...
Installing new version of config file /etc/init/docker.conf ...
[FAIL] /usr/bin/dockerd not present or not executable ... failed!
invoke-rc.d: initscript docker, action "start" failed.
dpkg: error processing package docker.io (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for systemd (232-20) ...
Errors were encountered while processing:
 docker.io
[master e0c58fa] committing changes in /etc after apt run
 2 files changed, 24 insertions(+), 17 deletions(-)
E: Sub-process /usr/bin/dpkg returned an error code (1)




the fix is easy.  line 25 of /etc/init.d/docker needs to be changed:

- DOCKERD=/usr/bin/dockerd
+ DOCKERD=/usr/sbin/dockerd


thanks,

craig

--
craig sanders <c...@taz.net.au>

Reply via email to