[Bug 1800862] Re: Doesn't communicate about applied livepatch on start
Andrea Azzarone
andrea.azzarone at canonical.com
Thu Nov 22 11:22:49 UTC 2018
I installed update-notifier from bionic-proposed:
```
apt-cache policy update-notifier
update-notifier:
Installed: 3.192.1.4
Candidate: 3.192.1.4
Version table:
*** 3.192.1.4 500
500 http://us.archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages
```
I performed the following manual tests:
- boot, wait for update-notifier to start, manually modify the status file: notification was displayed
- reboot: at the boot no notification was displayed as expected
- reboot, manually modify the status file before login, login: notification was displayed
- boot with kernel 4.15.0-38.41-generic: a notification was displayed
** Tags removed: verification-needed verification-needed-bionic
** Tags added: verification-done verification-done-bionic
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/1800862
Title:
Doesn't communicate about applied livepatch on start
Status in update-notifier package in Ubuntu:
Fix Released
Status in update-notifier source package in Bionic:
Fix Committed
Bug description:
* Impact
The "livepatch updates have been applied" notifications might be
missing if the event happened before the user logged in
* Test case
The real testcase is to make sure that a notification is displayed
when a livepatch update is applied.
That can also be simulated by writting "applied 1" in /var/snap
/canonical-livepatch/current/status before logging in, the
notification should be displayed when GNOME is loaded.
* Regression potential
The code change are in the livepatch notifications handling, just make
sure those are displayed as expected
------------------------
The update-notifier livepatch code seems to only react to event, but
since it's slow to start (it's in the graphical session and delayed by
60s) it's likely that livepatch refresh is done before update-notifier
is ready and such the user feedback is never send.
We should probably change update-notifier to do send the notification
on start if there is any applied change (it's going to nag at every
login but that's somewhat a feature/better, since it reassure to the
user that he has those fixes in place)
Wdyt?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1800862/+subscriptions
More information about the foundations-bugs
mailing list