[Bug 1690980] Re: unattended-upgrades does not block shutdown of system, as it is designed to
Balint Reczey
balint.reczey at canonical.com
Tue Jul 25 22:53:30 UTC 2017
I moved to handling TERM in u-u:
https://github.com/rbalint/unattended-upgrades/commits/master
I also attached the patch for APT which changes the KillMode and
timeout. Since this affects only apt-daily-upgrade.service and it runs
"apt.systemd.daily install" which perform minimal tasks when u-u is not
installed this should be safe change.
I've uploaded apt and u-u for testing to ppa:rbalint/scratch, please
give them a try.
** Patch added: "APT change only KillMode and timeout"
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1690980/+attachment/4921242/+files/0001-Kill-only-the-main-process-of-apt-daily-upgrade.serv.patch
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1690980
Title:
unattended-upgrades does not block shutdown of system, as it is
designed to
Status in OEM Priority Project:
Triaged
Status in OEM Priority Project xenial series:
New
Status in apt package in Ubuntu:
New
Status in unattended-upgrades package in Ubuntu:
Confirmed
Bug description:
Title: No pop-up window to warn users that system should not reboot or
shutdown while installing security updates
Summary:
No pop-up window to warn users that system should not reboot or shutdown while installing security updates
Steps:
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
Additional information:
$ apt-cache policy unattended-upgrades
unattended-upgrades:
Installed: 0.90
Candidate: 0.90ubuntu0.5
$ lsb_release -rd
Description: Ubuntu 16.04 LTS
To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1690980/+subscriptions
More information about the Ubuntu-sponsors
mailing list