The apt side should be OK. But it depends on interaction with other
services, so it cannot be reliably tested on its own I guess.
We'll get a better fix eventually that makes the apt side work better by
making it wait on the upgrade itself.
Currently, we basically stop the controlling script; and then u-u
continues running and the shutdown is blocked by u-u.service waiting for
** Tags removed: verification-needed-xenial verification-needed-zesty
** Tags added: verification-done-xenial
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
unattended-upgrades does not block shutdown of system, as it is
Status in OEM Priority Project:
Status in OEM Priority Project xenial series:
Status in apt package in Ubuntu:
Status in unattended-upgrades package in Ubuntu:
Status in apt source package in Xenial:
Status in unattended-upgrades source package in Xenial:
Status in apt source package in Zesty:
Status in unattended-upgrades source package in Zesty:
Title: No pop-up window to warn users that system should not reboot or
shutdown while installing security updates
No pop-up window to warn users that system should not reboot or shutdown
while installing security updates
1. trigger unattended-upgrades
2. reboot or shutdown system while installing packages
Expected results: There is a pop-up window to warn users that system
should not reboot or shutdown
Actual results: There is no pop-up window to warn users
$ apt-cache policy unattended-upgrades
$ lsb_release -rd
Description: Ubuntu 16.04 LTS
* APT SRU *
Stopping apt-daily-upgrade.service terminates dpkg and friends by sending the
signals to all processes in the cgroup, and will send KILL quickly after.
Start apt-daily-upgrade.service and stop it while unattended-upgrades is
The upgrade should run to completion or a safe exit point as long as
it takes less than about 900s (which is the timeout for sending kill).
Leftover processes might remain in the apt-daily-upgrade cgroup if the
postinst scripts or some apt hooks do something funny.
Shutdown might take longer due to the 900 second timeout.
To manage notifications about this bug go to:
Mailing list: https://launchpad.net/~touch-packages
Post to : email@example.com
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp