2017-05-16 03:28:37 |
ethan.hsieh |
bug |
|
|
added bug |
2017-05-16 03:31:44 |
ethan.hsieh |
bug task added |
|
unattended-upgrades |
|
2017-05-16 03:31:51 |
ethan.hsieh |
bug task deleted |
bluez (Ubuntu) |
|
|
2017-05-16 03:38:20 |
ethan.hsieh |
attachment added |
|
apt log, dpkg.log, kern.log, syslog, and unattended-upgrades log https://bugs.launchpad.net/unattended-upgrades/+bug/1690980/+attachment/4877214/+files/log.tar.gz |
|
2017-05-16 06:27:28 |
ethan.hsieh |
affects |
unattended-upgrades |
unattended-upgrades (Ubuntu) |
|
2017-05-16 06:28:30 |
ethan.hsieh |
bug task added |
|
oem-priority |
|
2017-05-16 06:28:40 |
ethan.hsieh |
oem-priority: importance |
Undecided |
High |
|
2017-05-16 06:28:53 |
ethan.hsieh |
oem-priority: assignee |
|
ethan.hsieh (ethan.hsieh) |
|
2017-05-16 15:21:48 |
Brian Murray |
bug |
|
|
added subscriber Brian Murray |
2017-05-16 15:22:38 |
Brian Murray |
unattended-upgrades (Ubuntu): status |
New |
Incomplete |
|
2017-05-18 09:00:11 |
Yuan-Chen Cheng |
oem-priority: status |
New |
Confirmed |
|
2017-05-18 09:00:13 |
Yuan-Chen Cheng |
oem-priority: importance |
High |
Critical |
|
2017-05-18 10:21:19 |
Kent Lin |
nominated for series |
|
oem-priority/xenial |
|
2017-05-18 10:21:19 |
Kent Lin |
bug task added |
|
oem-priority/xenial |
|
2017-05-18 10:21:26 |
Kent Lin |
oem-priority/xenial: importance |
Undecided |
Critical |
|
2017-05-19 02:33:08 |
ethan.hsieh |
oem-priority: status |
Confirmed |
Triaged |
|
2017-05-22 01:55:25 |
ethan.hsieh |
oem-priority: status |
Triaged |
In Progress |
|
2017-05-23 06:41:06 |
ethan.hsieh |
attachment added |
|
dpkg.log, term.log, history,log, syslog, unattended-upgrades.log https://bugs.launchpad.net/oem-priority/+bug/1690980/+attachment/4881783/+files/log_0523.tar.gz |
|
2017-05-24 23:34:32 |
Brian Murray |
tags |
|
xenial |
|
2017-05-25 08:18:50 |
ethan.hsieh |
attachment added |
|
logs of unattended-upgrades, syslog, dpkg, and apt https://bugs.launchpad.net/oem-priority/+bug/1690980/+attachment/4883195/+files/log_0525_16.10.tar.gz |
|
2017-05-29 02:43:14 |
ethan.hsieh |
oem-priority: status |
In Progress |
Triaged |
|
2017-06-16 04:09:06 |
Yuan-Chen Cheng |
oem-priority: importance |
Critical |
High |
|
2017-06-16 04:09:10 |
Yuan-Chen Cheng |
oem-priority/xenial: importance |
Critical |
High |
|
2017-06-26 10:16:43 |
ethan.hsieh |
attachment added |
|
syslog https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1690980/+attachment/4903481/+files/syslog |
|
2017-06-27 02:22:29 |
Kent Lin |
oem-priority: importance |
High |
Critical |
|
2017-06-28 02:50:36 |
Yuan-Chen Cheng |
oem-priority/xenial: importance |
High |
Critical |
|
2017-06-29 15:43:19 |
Steve Langasek |
summary |
No pop-up window to warn users that system should not reboot or shutdown while installing security updates |
unattended-upgrades does not block shutdown of system, as it is designed to |
|
2017-06-29 15:43:50 |
Steve Langasek |
unattended-upgrades (Ubuntu): assignee |
|
Balint Reczey (rbalint) |
|
2017-06-30 16:59:12 |
Balint Reczey |
unattended-upgrades (Ubuntu): status |
Incomplete |
In Progress |
|
2017-07-03 00:44:20 |
Balint Reczey |
attachment added |
|
unattended-upgrades_0.90ubuntu0.7.patch https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1690980/+attachment/4908156/+files/unattended-upgrades_0.90ubuntu0.7.patch |
|
2017-07-03 00:44:38 |
Balint Reczey |
unattended-upgrades (Ubuntu): status |
In Progress |
Incomplete |
|
2017-07-03 04:26:34 |
Ubuntu Foundations Team Bug Bot |
tags |
xenial |
patch xenial |
|
2017-07-03 04:26:40 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Ubuntu Sponsors Team |
2017-07-03 12:48:18 |
Jeremy Bícha |
bug |
|
|
added subscriber Jeremy Bicha |
2017-07-10 19:56:25 |
Brian Murray |
attachment added |
|
script to reboot https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1690980/+attachment/4912389/+files/u-u-reboot.sh |
|
2017-07-22 07:35:43 |
Balint Reczey |
unattended-upgrades (Ubuntu): status |
Incomplete |
Confirmed |
|
2017-07-25 03:46:57 |
ethan.hsieh |
attachment added |
|
logs (unattended-upgrades, apt, dpkg, and kern) https://bugs.launchpad.net/oem-priority/+bug/1690980/+attachment/4920802/+files/log_0725.tar.gz |
|
2017-07-25 11:39:16 |
Balint Reczey |
attachment added |
|
Patch against apt https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1690980/+attachment/4920960/+files/0001-Kill-apt-daily-upgrade.service-using-SIGUSR1.patch |
|
2017-07-25 11:39:30 |
Balint Reczey |
bug task added |
|
apt (Ubuntu) |
|
2017-07-25 22:53:30 |
Balint Reczey |
attachment 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 |
|
2017-07-26 12:38:36 |
Balint Reczey |
unattended-upgrades (Ubuntu): status |
Confirmed |
Fix Committed |
|
2017-07-26 13:37:55 |
Balint Reczey |
apt (Ubuntu): status |
New |
Fix Committed |
|
2017-07-31 20:50:16 |
Brian Murray |
attachment added |
|
unattended-upgrades.log https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1690980/+attachment/4924778/+files/unattended-upgrades.log |
|
2017-07-31 20:50:48 |
Brian Murray |
attachment added |
|
unattended-upgrades-dpkg.log https://bugs.launchpad.net/ubuntu/+source/unattended-upgrades/+bug/1690980/+attachment/4924779/+files/unattended-upgrades-dpkg.log |
|
2017-08-08 08:53:48 |
ethan.hsieh |
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 |
|
2017-08-24 21:18:47 |
Launchpad Janitor |
apt (Ubuntu): status |
Fix Committed |
Fix Released |
|
2017-08-31 07:35:01 |
Etienne Papegnies |
bug |
|
|
added subscriber Etienne Papegnies |
2017-09-04 19:06:10 |
Launchpad Janitor |
unattended-upgrades (Ubuntu): status |
Fix Committed |
Fix Released |
|
2017-09-13 18:06:40 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Zesty |
|
2017-09-13 18:06:40 |
Julian Andres Klode |
bug task added |
|
apt (Ubuntu Zesty) |
|
2017-09-13 18:06:40 |
Julian Andres Klode |
bug task added |
|
unattended-upgrades (Ubuntu Zesty) |
|
2017-09-13 18:06:40 |
Julian Andres Klode |
nominated for series |
|
Ubuntu Xenial |
|
2017-09-13 18:06:40 |
Julian Andres Klode |
bug task added |
|
apt (Ubuntu Xenial) |
|
2017-09-13 18:06:40 |
Julian Andres Klode |
bug task added |
|
unattended-upgrades (Ubuntu Xenial) |
|
2017-09-13 18:06:53 |
Julian Andres Klode |
apt (Ubuntu Xenial): status |
New |
Incomplete |
|
2017-09-13 18:06:56 |
Julian Andres Klode |
apt (Ubuntu Xenial): status |
Incomplete |
Triaged |
|
2017-09-13 18:06:58 |
Julian Andres Klode |
apt (Ubuntu Zesty): status |
New |
Triaged |
|
2017-09-13 18:07:17 |
Julian Andres Klode |
apt (Ubuntu): importance |
Undecided |
Critical |
|
2017-09-13 18:07:20 |
Julian Andres Klode |
apt (Ubuntu Zesty): importance |
Undecided |
Critical |
|
2017-09-13 18:07:22 |
Julian Andres Klode |
apt (Ubuntu Xenial): importance |
Undecided |
Critical |
|
2017-09-14 10:04:40 |
ethan.hsieh |
attachment added |
|
unattended-upgrades-shutdown.log, unattended-upgrades.log, apt log, and dpkg log https://bugs.launchpad.net/oem-priority/+bug/1690980/+attachment/4950042/+files/log_0914_InstallOnShutdown_True.tar.gz |
|
2017-09-14 13:33:19 |
Balint Reczey |
bug watch added |
|
https://github.com/mvo5/unattended-upgrades/issues/76 |
|
2017-09-15 02:40:17 |
ethan.hsieh |
attachment added |
|
unattended-upgrades-shutdown.log, unattended-upgrades.log, apt log, and dpkg log https://bugs.launchpad.net/oem-priority/+bug/1690980/+attachment/4950491/+files/log_0914_InstallOnShutdown_False.tar.gz |
|
2017-09-22 07:29:45 |
ethan.hsieh |
attachment added |
|
unattended-upgrades-shutdown.log, unattended-upgrades.log, apt log, and dpkg log https://bugs.launchpad.net/oem-priority/+bug/1690980/+attachment/4954864/+files/log_0922_InstallOnShutdown.tar.gz |
|
2017-09-22 10:21:01 |
ethan.hsieh |
attachment added |
|
unattended-upgrades-shutdown.log, unattended-upgrades.log, apt log, and dpkg log https://bugs.launchpad.net/oem-priority/+bug/1690980/+attachment/4954978/+files/log_0922_InstallOnShutdown_False.tar.gz |
|
2017-09-26 08:37:23 |
Julian Andres Klode |
apt (Ubuntu Zesty): status |
Triaged |
In Progress |
|
2017-09-29 13:13:43 |
Timo Aaltonen |
apt (Ubuntu Zesty): status |
In Progress |
Fix Committed |
|
2017-09-29 13:13:46 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2017-09-29 13:13:48 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2017-09-29 13:13:49 |
Timo Aaltonen |
tags |
patch xenial |
patch verification-needed verification-needed-zesty xenial |
|
2017-09-29 13:15:45 |
Julian Andres Klode |
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 |
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
* APT SRU *
[Impact]
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.
[Test case]
Start apt-daily-upgrade.service and stop it while unattended-upgrades is running.
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).
[Regression potential]
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. |
|
2017-09-29 13:16:50 |
Julian Andres Klode |
apt (Ubuntu Xenial): status |
Triaged |
In Progress |
|
2017-09-29 13:17:21 |
Timo Aaltonen |
apt (Ubuntu Xenial): status |
In Progress |
Fix Committed |
|
2017-09-29 13:17:25 |
Timo Aaltonen |
tags |
patch verification-needed verification-needed-zesty xenial |
patch verification-needed verification-needed-xenial verification-needed-zesty xenial |
|
2017-09-29 17:58:45 |
Francis Ginther |
tags |
patch verification-needed verification-needed-xenial verification-needed-zesty xenial |
id-596781a4fd7307546010c061 patch verification-needed verification-needed-xenial verification-needed-zesty xenial |
|
2017-10-05 07:17:13 |
Yuan-Chen Cheng |
oem-priority/xenial: status |
New |
Triaged |
|
2017-12-20 02:22:40 |
Yuan-Chen Cheng |
oem-priority/xenial: importance |
Critical |
High |
|
2018-01-18 05:18:03 |
Steve Langasek |
apt (Ubuntu Zesty): status |
Fix Committed |
Won't Fix |
|
2018-01-18 05:18:13 |
Steve Langasek |
unattended-upgrades (Ubuntu Zesty): status |
New |
Won't Fix |
|
2018-02-09 19:24:08 |
Brian Murray |
removed subscriber Ubuntu Sponsors Team |
|
|
|
2018-02-12 10:37:57 |
Julian Andres Klode |
tags |
id-596781a4fd7307546010c061 patch verification-needed verification-needed-xenial verification-needed-zesty xenial |
id-596781a4fd7307546010c061 patch verification-done-xenial verification-needed xenial |
|
2018-02-14 01:05:15 |
Launchpad Janitor |
apt (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2018-02-14 01:05:33 |
Chris Halse Rogers |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2018-02-15 19:39:02 |
Francis Ginther |
tags |
id-596781a4fd7307546010c061 patch verification-done-xenial verification-needed xenial |
id-596781a4fd7307546010c061 id-5a37e0a701a3f39adbe6e4b9 patch verification-done-xenial verification-needed xenial |
|
2018-02-15 19:39:17 |
Francis Ginther |
tags |
id-596781a4fd7307546010c061 id-5a37e0a701a3f39adbe6e4b9 patch verification-done-xenial verification-needed xenial |
id-596781a4fd7307546010c061 id-5a37e0a701a3f39adbe6e4b9 id-5a816b8dd2d5924dccc5ba62 patch verification-done-xenial verification-needed xenial |
|
2018-04-13 05:18:42 |
Chen-Han Hsiao (Stanley) |
bug |
|
|
added subscriber Chen-Han Hsiao (Stanley) |
2018-05-22 06:53:52 |
Yuan-Chen Cheng |
oem-priority/xenial: importance |
High |
Medium |
|
2018-12-03 14:54:18 |
Balint Reczey |
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
* APT SRU *
[Impact]
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.
[Test case]
Start apt-daily-upgrade.service and stop it while unattended-upgrades is running.
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).
[Regression potential]
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. |
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
* APT SRU *
[Impact]
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.
[Test case]
Start apt-daily-upgrade.service and stop it while unattended-upgrades is running.
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).
[Regression potential]
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.
* unattended-upgrades SRU
[Impact]
* Undattended-upgrades does not stop quickly gracefully when shutdown/reboot is initiated by the user.
* The fix is performing the updates in minimal package sets and allow gracefully stopping between those steps when unattended-upgrades.service sends a TERM signal to running u-u. The signal is sent on receiving PrepareForShutdown() from logind (https://www.freedesktop.org/wiki/Software/systemd/inhibit/) to stop unattended-upgrades a bit earlier than the shutdown process starts (LP: #1803137).
[Test Case]
* Configure the system to have several 20+ packages upgradable by unattended-upgrades. One easy way of setting this up is starting with a system where packages from -security are installed but packages from -updates are not and enabling -updates in u-u:
# echo 'Unattended-Upgrade::Allowed-Origins:: "${distro_id}:${distro_codename}-updates";' > /etc/apt/apt.conf.d/51unattended-upgrades-updates-too
* Pre-download upgrades
# unattended-upgraded --download-only
* Trigger unattended-upgrades run:
# service apt-daily-upgrade start
* Shutdown the system from a graphical user session or by executing
# dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.Reboot" boolean:false
* Observe the system unattended-upgrades being gracefully stopped, checking /var/log/unattended-upgrades/unattended-upgrades.log. There should be packages left to be upgraded.
[Regression Potential]
On Xenial (with Unity) starting shutdown from the graphical session does not log the user out nor show any progress on the shutdown until the inhibition timer expires which is confusing. Users should be logged out on PrepareForShutdown() (LP: #1803581). |
|
2018-12-03 19:16:37 |
Brian Murray |
unattended-upgrades (Ubuntu Xenial): status |
New |
Fix Committed |
|
2018-12-03 19:16:41 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2018-12-03 19:16:48 |
Brian Murray |
tags |
id-596781a4fd7307546010c061 id-5a37e0a701a3f39adbe6e4b9 id-5a816b8dd2d5924dccc5ba62 patch verification-done-xenial verification-needed xenial |
id-596781a4fd7307546010c061 id-5a37e0a701a3f39adbe6e4b9 id-5a816b8dd2d5924dccc5ba62 patch verification-needed verification-needed-xenial xenial |
|
2019-04-09 15:07:45 |
Balint Reczey |
tags |
id-596781a4fd7307546010c061 id-5a37e0a701a3f39adbe6e4b9 id-5a816b8dd2d5924dccc5ba62 patch verification-needed verification-needed-xenial xenial |
id-596781a4fd7307546010c061 id-5a37e0a701a3f39adbe6e4b9 id-5a816b8dd2d5924dccc5ba62 patch verification-done verification-done-xenial xenial |
|
2019-04-25 10:50:00 |
Launchpad Janitor |
unattended-upgrades (Ubuntu Xenial): status |
Fix Committed |
Fix Released |
|
2020-08-15 17:18:50 |
Rex Tsai |
tags |
id-596781a4fd7307546010c061 id-5a37e0a701a3f39adbe6e4b9 id-5a816b8dd2d5924dccc5ba62 patch verification-done verification-done-xenial xenial |
id-596781a4fd7307546010c061 id-5a37e0a701a3f39adbe6e4b9 id-5a816b8dd2d5924dccc5ba62 oem-priority patch verification-done verification-done-xenial xenial |
|