Package: docker.io Version: 1.6.2~dfsg1-2 Severity: normal Dear Maintainer,
My weekly unattended-upgrade failed to configure docker.io correctly during the upgrade from 1.6.2~dfsg1-1 to 1.6.2~dfsg1-2. The unattended-upgrade log shows: Setting up docker.io (1.6.2~dfsg1-2) Starting Docker: dockerinvoke-rc.d: initscript docker, actino "start" failed dpkg: error processing package docker.io (--configure): subprocess installed post-installation script returned error exit status 1 My /var/log/docker.log shows /usr/bin/docker already running. The postinst has: # Automatically added by dh_installinit if [ -x "/etc/init.d/docker" ]; then update-rc.d docker defaults >/dev/null invoke-rc.d docker start || exit $? fi # End automatically added section I traced this down to the following in docker.io's debian/rules file: override_dh_installinit: dh_installinit --name=docker --no-restart-on-upgrade This was introduced in 777987c but the commit message isn't very clear as to what this tries to fix. As far as I am concerned it prevents a clean upgrade. Either the docker daemon is restarted immediately or it is scheduled for a restart at a convenient time. Alternatively, the upgrade notifies the system administrator that a manual restart is needed in some way. I had a slew of containers running at the time of the upgrade but that shouldn't really matter as docker is started (rather than restarted) unconditionally during the upgrade. -- System Information: Debian Release: stretch/sid APT prefers testing APT policy: (990, 'testing'), (500, 'testing-updates'), (500, 'stable-updates'), (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init) Versions of packages docker.io depends on: ii adduser 3.113+nmu3 ii init-system-helpers 1.23 ii iptables 1.4.21-2+b1 ii libapparmor1 2.9.2-3 ii libc6 2.19-18 ii libdevmapper1.02.1 2:1.02.90-2.2 ii libsqlite3-0 3.8.10.2-1 ii perl 5.20.2-6 Versions of packages docker.io recommends: ii aufs-tools 1:3.2+20130722-1.1 ii ca-certificates 20150426 ii cgroupfs-mount 1.2 ii git 1:2.1.4-2.1 ii xz-utils 5.1.1alpha+20120614-2.1 Versions of packages docker.io suggests: pn btrfs-tools <none> ii debootstrap 1.0.71 pn lxc <none> ii rinse 3.0.9 -- Configuration Files: /etc/default/docker changed: DOCKER_OPTS="--bip 10.0.42.1/16" export http_proxy="http://127.0.0.1:3128/" -- no debconf information -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- EPSON AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org