** Description changed: + [impact] + docker.io now prompts on upgrade as to whether to restart, which is an improvement, but there is no way to decide ahead of time for a non-interactive upgrade. + + [test case] + # apt install docker.io + # dpkg-reconfigure docker.io + < this will only ask a question once the bug is fixed > + < choose yes > + # DEBIAN_FRONTEND=noninteractive apt install --reinstall docker.io + < check dockerd has restarted > + # dpkg-reconfigure docker.io + < choose no > + # DEBIAN_FRONTEND=noninteractive apt install --reinstall docker.io + < check dockerd has not restarted> + + [regression potential] + The change implementing this clearly only affects install/upgrade scenarios: https://github.com/tianon/debian-docker/commit/4bc8afa9594ca51d2707cfbf0cc682e68b215c68. The test case above covers these. + + Also we don't care much about regressions in docker.io! + https://wiki.ubuntu.com/DockerUpdates + + [original description] + Currently if I run "dpkg-reconfigure docker.io" it doesn't present me with any option to restart the package on upgrade. Looking at the debian post install file, it should, and lp#1668621 suggests it should. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: docker.io 17.03.2-0ubuntu2~16.04.1 ProcVersionSignature: User Name 4.15.0-29.31-generic 4.15.18 Uname: Linux 4.15.0-29-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.18 Architecture: amd64 Date: Tue Jul 31 10:15:21 2018 ProcEnviron: - TERM=xterm-256color - PATH=(custom, no user) - XDG_RUNTIME_DIR=<set> - LANG=en_US.UTF-8 - SHELL=/bin/bash + TERM=xterm-256color + PATH=(custom, no user) + XDG_RUNTIME_DIR=<set> + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: docker.io UpgradeStatus: No upgrade log present (probably fresh install)
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1784602 Title: No option to configure docker.io for restart on package upgrade To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/docker.io/+bug/1784602/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
