SRU of ubuntu-advantage-desktop-daemon to older series
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-desktop-daemon (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Sebastien Bacher | ||
Bionic |
Fix Released
|
High
|
Sebastien Bacher | ||
Focal |
Fix Released
|
High
|
Sebastien Bacher |
Bug Description
[Impact]
ubuntu-
adsys makes use of is to check if the system is connected to UA. This is supported in 20.04 LTS but until now the daemon was not available there.
Installing the daemon enables advanced usages (scripts, privilege delegation…) which require an Ubuntu Pro account
Ubuntu Pro integration is being added to software-properties which also require the service to be available.
[Test Plan]
A. Verify the service
1. Install:
$ sudo apt install ubuntu-
2. Check able to access daemon
$ gdbus call --system --dest com.canonical.
({'Attached': <true>, 'DaemonVersion': <'1.8'>},)
B. Software-properties
Verify that the new 'Ubuntu Pro' page is working as expected, SRU bug #, especially that it reflects the correct status and that attaching/detaching a token and enabling/disabling services is working
C. Adsys (focal)
1. Ensure that you have an Ubuntu Advantage subcription enabled.
2. Setup some scripts under AD to be executed, one for machine scripts (on startup), one for user scripts (on login). Those scripts can create some temporary files under /tmp for instance.
3. Reboot and login on the Ubuntu laptop connected with AD by adsys.
4. Check that the scripts were executed by testing that the created file under /tmp are present.
[Where problems could occur]
This is a code that has not previously been used on 20.04 and thus could trigger new bugs. It has been used for since jammy though without major issues.
A. The service itself
The service shouldn't be active unless it's needed. If you don't have ubuntu advantage nor adsys configured check that the service is not loaded.
The service should low on resource usage, check that it's the case by checking the RAM and CPU consumption.
B. Software-properties
The Ubuntu Pro tab didn't exist before so there should be no regression possible there due to the service. The livepatch enablement is handled through the service as part of UA now so check that livepatch is correctly working still on upgraded systems
C. Adsys (focal)
The behaviour change in adsys should be limited to enabling features which weren't available in focal before but we should ensure those are correctly working and not providing a buggy user experience
Changed in ubuntu-advantage-desktop-daemon (Ubuntu): | |
status: | New → Fix Committed |
status: | Fix Committed → In Progress |
importance: | Undecided → High |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in ubuntu-advantage-desktop-daemon (Ubuntu Focal): | |
status: | New → In Progress |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in ubuntu-advantage-desktop-daemon (Ubuntu): | |
assignee: | Robert Ancell (robert-ancell) → nobody |
status: | In Progress → Fix Released |
Changed in ubuntu-advantage-desktop-daemon (Ubuntu Focal): | |
importance: | Undecided → High |
description: | updated |
Changed in ubuntu-advantage-desktop-daemon (Ubuntu Focal): | |
assignee: | Robert Ancell (robert-ancell) → Sebastien Bacher (seb128) |
description: | updated |
description: | updated |
summary: |
- ubuntu-advantage-desktop-daemon required by adsys in 20.04 LTS + SRU of ubuntu-advantage-desktop-daemon to older series |
description: | updated |
Changed in ubuntu-advantage-desktop-daemon (Ubuntu Bionic): | |
status: | New → Fix Committed |
importance: | Undecided → High |
assignee: | nobody → Sebastien Bacher (seb128) |
Changed in ubuntu-advantage-desktop-daemon (Ubuntu Xenial): | |
assignee: | nobody → Sebastien Bacher (seb128) |
importance: | Undecided → High |
status: | New → Fix Committed |
Uploaded to focal and bionic queues now