Comment 0 for bug 1991533

Revision history for this message
Renan Rodrigo (renanrodrigo) wrote :

[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. ESM-Apps will only be advertised and available on system 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.