[Bug 1991533] Re: ubuntu-security-status should call pro-security-status as soon as it is available
Brian Murray
1991533 at bugs.launchpad.net
Wed Nov 23 20:32:29 UTC 2022
** Tags added: rls-jj-incoming
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1991533
Title:
ubuntu-security-status should call pro-security-status as soon as it
is available
Status in update-manager package in Ubuntu:
Fix Committed
Status in update-manager source package in Focal:
Triaged
Status in update-manager source package in Jammy:
Triaged
Bug description:
Merge Proposals for
Focal: https://code.launchpad.net/~renanrodrigo/update-manager/focal-ss/+merge/430919
Jammy: https://code.launchpad.net/~renanrodrigo/update-manager/jammy-ss/+merge/430921
[Impact]
Once `pro security-status` is available as a command, then ubuntu-security-status should start calling it. This was specd out and agreed in https://docs.google.com/document/d/1eWaSXqk6Ih3H7tvJrjRJJjLmRZE0BJh--cKaaW4mQxM
The command will be available from ubuntu-advantage-tools >= 27.11, at
the same time of the `pro` renaming.
This change needs to be SRUed to Focaland Jammy so users will see the
most recent data and messaging, defined in the Pro Client's side.
Even if Pro is not available, no ESM-Apps information should be shown
in ubuntu-security-status at all, unless the service is enabled. ESM-
Apps will only be available and advertised to non-attached users on
systems with the aforementioned version of ubuntu-advantage-tools.
[Test Case]
- On a Focal/Jammy machine:
- Install ubuntu-advantage-tools using the version in the -proposed pocket or the ua-client/stable PPA
- Install update-manager from the version in the MR linked to this bug (soon-to-be in -proposed too)
- Install any package from `universe`
- Make sure ubuntu-security-status has a warning, and then exactly the output of pro security-status
- Delete /usr/bin/pro
- Make sure ubuntu-security-status runs without any errors, showing its own content
- Grep for ESM-Apps (and variants) and see there is no reference to the service.
[Regression Potential]
If users have any custom script in /usr/bin/pro, then this would probably cause errors when the ubuntu-security-status detects it. However, if this is the case, a broader set of errors will be happening in the ubuntu-advantage-tools side anyway. There was a discussion about the Pro namespace in the most recent u-a-t SRU bug (https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/1989279), and there was a decision to rely on `pro` as a name.
[Discussion]
This is a change which was agreed on for the future, but some last-minute decisions from product management increased the priority of this SRU. Due to the release plan of ESM-Apps as beta being modified from the original thoughts, it would be really nice to have this land as soon as possible right after u-a-t 27.11.2 hits -updates.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1991533/+subscriptions
More information about the foundations-bugs
mailing list