[Bug 1800862] Re: Doesn't communicate about applied livepatch on start
Sebastien Bacher
seb128 at ubuntu.com
Mon Nov 12 16:07:27 UTC 2018
** Description changed:
+ * 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?
--
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 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