[SRU] ubuntu-advantage-tools (31 -> 32) Xenial, Bionic, Focal, Jammy, Mantic
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-advantage-tools (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
[ Impact ]
This release brings both bug-fixes and new features for the Pro Client, and we would like to make sure all of our supported customers have access to these improvements on all releases.
The most important changes are:
- d/apparmor:
- api:
+ u.pro.attac.
+ u.pro.services.
+ u.pro.services.
+ u.pro.detach.v1: add support for detach operation
+ u.pro.status.
+ u.pro.services.
+ u.pro.security.
- config: create public and private config (GH: #2809)
- messaging: add consistent messaging for end-of-contract
See the changelog entry below for a full list of changes and bugs.
[ Test Plan ]
The following development and SRU process was followed:
https:/
The Pro Client developers will be in charge of attaching the artifacts of the appropriate test runs to the bug, and will not mark ‘verification-done’ until this has happened.
Additionally, we will perform manual tests for the public/private config feature that will be better discussed in the next section
[ Discussion]
This release will be introducing a split on our config for public and private information. This is to be explicit in the behavior a non-root and root user will see when running pro config show. For example,
we believe that a non-root user should not see proxy data in pro config show. This information is now stored in a private config file.
We need a mechanism to ensure that old versions of the Pro client would also get that split. To do that, we have created a script to run on postinst to adapt the existing pro config into this new setting.
However, we have recently introduced the new ubuntu-pro-client package. That means that we cannot know beforehand from which package the user would be upgrading from, ubuntu-
If the system already has ubuntu-pro-client and is upgrading to a new version of ubuntu-pro-client, that means all migrations present in ubuntu-
If upgrading from before the rename to the current version (from before version 31), then not necessarily all migrations inside of ubuntu-
That is because there might be users running an old version of ubuntu-
Because of that, we are coordinating which postinst script will execute the migration. A more detailed explanation of this logic can be found on the script itself, lib/postinst-
[ Changelog ]