restore reboot notification so that users are notified after unattended-upgrades
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Triaged
|
Undecided
|
Unassigned | ||
Lunar |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
[Impact]
There is not currently a user-friendly way to be notified that a reboot is required as a result of a package that was upgraded during unattended-
The main rationale for this is that we needed to enable this for a special jammy-based customer and we do not want this functionality to regress whenever a new update-notifier is released. We think that this change will benefit all Ubuntu users. It does change the behavior, but we think it's a change that is acceptable.
We're open to discussion with the SRU team about this.
[Test Plan]
1. Install update-notifier from jammy-proposed.
2. Reboot
3. Install a package, or install updates, so that /var/lib/dpkg/info is updated.
4. If needed, touch /var/run/
5. Wait 3 hours for the reboot notification to appear.
6. Click on the notification icon to show the option to reboot, and click on that.
[Where problems could occur]
Bringing back old code may reveal bugs in the old code that would have been found if it was maintained all this time. Besides that, if we saw regressions introduced by this it would likely be related to the monitoring of other files.
[Other information]
We are mainly interested in SRU'ing to Jammy because that's where the use case exists, but we can keep Lunar up-to-date as well.
summary: |
restore reboot notification so that users are notified after unattended- - upgrads + upgrades |
no longer affects: | update-notifier (Ubuntu Kinetic) |
description: | updated |
Changed in update-notifier (Ubuntu Jammy): | |
status: | New → In Progress |
Changed in update-notifier (Ubuntu Lunar): | |
status: | New → In Progress |
Changed in update-notifier (Ubuntu Jammy): | |
status: | Incomplete → In Progress |
Changed in update-notifier (Ubuntu Lunar): | |
status: | Incomplete → In Progress |
Changed in update-notifier (Ubuntu Jammy): | |
status: | In Progress → Incomplete |
Changed in update-notifier (Ubuntu Jammy): | |
status: | In Progress → Triaged |
Changed in update-notifier (Ubuntu Lunar): | |
status: | In Progress → Triaged |
tags: | added: reboot-required |
This bug was fixed in the package update-notifier - 3.192.65
---------------
update-notifier (3.192.65) mantic; urgency=medium
[ Nick Rosbrook ] update- notifier. install: ship reboot-dialog.ui
* reboot: restore reboot required notification (LP: #1998947)
* debian/
* reboot: wait 3 hours since last /var/lib/dpkg/info update
[ Michael Vogt ]
* reboot: also check for a running unattended-upgrades
-- Nick Rosbrook <email address hidden> Wed, 05 Jul 2023 11:04:50 -0400