:: Re: [DNG] [FYI] Docker upgrade fail…
Góra strony
Delete this message
Reply to this message
Autor: Olaf Meeuwissen
Data:  
Dla: dng
Stare tematy: Re: [DNG] [FYI] Docker upgrade fails to restart daemon
Temat: Re: [DNG] [FYI] Docker upgrade fails to restart daemon

On 2018-11-12, Olaf Meeuwissen wrote:

> [...]
>
> When upgrading a package that provides a daemon, I expect the upgrade to
> shut down the daemon provided by the old version and start the one from
> the new version. I do not want anything to "muck" with that, be that
> daemontools or anything else.
> Keeping an otherwise running daemon running is a different story.
>
> I checked to /var/lib/dpkg/info/docker-ce.{prerm,postinst} scripts. For
> 18.06.1~ce~3-0~debian these include calls to invoke-rc.d to stop and
> start the daemon. As of 5:18.09.0~3-0~debian-stretch these calls are
> gone. The only stop/start mechanism supported is systemd :-(
> Ditto for containerd.io :-(
>
> FWIW, I've submitted https://github.com/docker/for-linux/issues/482


I've been working with upstream and submitted a patch a couple of days
ago. Yesterday that patch was merged onto the 18.09 branch and cherry
picked on the master branch of docker-ce-packaging. The next release
of the docker-ce package should have working sysvinit support again.

Hope this helps,
--
Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27
 GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9
 Support Free Software                        https://my.fsf.org/donate
 Join the Free Software Foundation              https://my.fsf.org/join