[Bug 1690980] Re: unattended-upgrades does not block shutdown of system, as it is designed to
ethan.hsieh
ethan.hsieh at canonical.com
Tue Aug 8 08:53:48 UTC 2017
@Balint
I tried three times, and 0.95-16.04.0rbalint1 didn't work well.
Please refer to attached file for detailed log.
1) Reboot system when unattended upgrades starts to download packages.
//unattended-upgrades.log
2017-08-08 15:34:07,782 INFO Starting unattended upgrades script
2017-08-08 15:34:07,782 INFO Allowed origins are: ['o=Ubuntu,a=xenial', 'o=Ubuntu,a=xenial-security', 'o=UbuntuESM,a=xenial']
//unattended-upgrades-shutdown.log
2017-08-08 15:36:06,358 INFO - All upgrades installed
The log shows "All upgrades installed", but there is no package
installed.
2) Reboot system after unattended upgrades downloads packages for 5mins
//unattended-upgrades.log
2017-08-08 15:55:27,907 INFO Starting unattended upgrades script
2017-08-08 15:55:27,907 INFO Allowed origins are: ['o=Ubuntu,a=xenial', 'o=Ubuntu,a=xenial-security', 'o=UbuntuESM,a=xenial']
System reboots immediately. There is no unattended-upgrades-shutdown
log.
3) Reboot system when unattended upgrades starts to download packages.
//unattended-upgrades.log
2017-08-08 16:09:03,548 INFO Starting unattended upgrades script
2017-08-08 16:09:03,549 INFO Allowed origins are: ['o=Ubuntu,a=xenial', 'o=Ubuntu,a=xenial-security', 'o=UbuntuESM,a=xenial']
//unattended-upgrades-shutdown.log
2017-08-08 16:10:50,573 INFO - All upgrades installed
The log shows "All upgrades installed", but there is no package
installed.
---
The installed packages:
apt_1.2.25-rbalint2_amd64.deb
apt-doc_1.2.25-rbalint2_all.deb
apt-transport-https_1.2.25-rbalint2_amd64.deb
apt-utils_1.2.25-rbalint2_amd64.deb
libapt-inst2.0_1.2.25-rbalint2_amd64.deb
libapt-pkg5.0_1.2.25-rbalint2_amd64.deb
libapt-pkg-doc_1.2.25-rbalint2_all.deb
unattended-upgrades_0.95-16.04.0rbalint1_all.deb
** Attachment added: "unattended-upgrades-shutdown.log, unattended-upgrades.log, apt log, and dpkg log"
https://bugs.launchpad.net/oem-priority/+bug/1690980/+attachment/4928762/+files/log_0808.tar.gz
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
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:
Fix Committed
Status in unattended-upgrades package in Ubuntu:
Fix Committed
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 foundations-bugs
mailing list