LivePatch in Software & Updates shows that LP is not enabled when the U1 account has expired in g-o-a
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| software-properties (Ubuntu) |
Fix Released
|
Medium
|
Andrea Azzarone | ||
| Bionic |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
* Impact
When the U1 account credential expire it's not possible to disable livepatch
* Test case
- install/enable livepatch (from the first login wizard or software-
- invalidate your U1 credentials:
* open "Password and Keys"
* Search for an entry containing "ubuntusso"
* Right click and open "Properties"
* Show the password entry
* Modify the 'macaroon' field (e.g. add a 1 at the beginning of the string so you can easily remote it later)
- open software-properties
-> the livepatch status should be marked as enable but the control active so it's possible to disable it
* Regression potential
Check that the software-properties checkbox reflect the correct status when the account are valid and invalid
----------------
I enabled LivePatch via gnome-initial-setup and added my U1 account to g-o-a.
My U1 account gets marked as expired quite often. When it's expired the LP entry in Software & Updates is not ticked to show that LP is running. When my u1 account is re-authenticated then everything shows correctly.
This could make it seem that LivePatch does not run if your account expires, which is not the case.
Related branches
- Sebastien Bacher: Approve
- Brian Murray (community): Approve
-
Diff: 45 lines (+13/-3)1 file modifiedsoftwareproperties/gtk/SoftwarePropertiesGtk.py (+13/-3)
| Changed in gnome-online-accounts (Ubuntu): | |
| importance: | Undecided → High |
| assignee: | nobody → Andrea Azzarone (azzar1) |
| Changed in gnome-online-accounts (Ubuntu): | |
| importance: | High → Medium |
| tags: | added: rls-bb-incoming |
| description: | updated |
| description: | updated |

This is what I get when the account is expired. The check-button is not sensible but is ticked. Are you getting something different?
It would also be nice to understand why the accounts tend to expire but it's a different bug that need to be discussed somewhere elese.