group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #41567
[Bug 1920836] Re: Show Extended Security Maintenence status
# Impish desktop results: SUCCESS non-LTS has neither ESM-Infra nor ESM-Apps support or availability.
# so 1. it will not expose "Extend..." links to provide ESM information in Updates tab
# and 2. When attached no ESM information will be represented in Updates tab
1. # install proposed
$ cat > setup_proposed.sh <<EOF
#!/bin/bash
mirror=http://archive.ubuntu.com/ubuntu
echo deb \$mirror \$(lsb_release -sc)-proposed main | tee /etc/apt/sources.list.d/proposed.list
apt-get update -q
apt-get install -qy software-properties-gtk software-properties-common python3-software-properties
EOF'
$ IP=`uvt-kvm ip ubuntuimpish`
$ scp setup_proposed.sh csmith@$IP:.
$ ssh csmith@$IP
csmith@csmith-Standard-PC-i440FX-PIIX-1996:~$ lsb_release -sc
impish
csmith@csmith-Standard-PC-i440FX-PIIX-1996:~$ apt policy software-properties-gtk
software-properties-gtk:
Installed: 0.99.13.1
Candidate: 0.99.13.1
Version table:
*** 0.99.13.1 500
500 http://archive.ubuntu.com/ubuntu impish-proposed/main amd64 Packages
500 http://archive.ubuntu.com/ubuntu impish-proposed/main i386 Packages
100 /var/lib/dpkg/status
0.99.13 500
500 http://us.archive.ubuntu.com/ubuntu impish/main amd64 Packages
500 http://us.archive.ubuntu.com/ubuntu impish/main i386 Packages
csmith@csmith-Standard-PC-i440FX-PIIX-1996:~$ [ -f /var/lib/ubuntu-advantage/status.json ] && echo "status.json PRESENT" || echo "status.json ABSENT"
status.json ABSENT
csmith@csmith-Standard-PC-i440FX-PIIX-1996:~$ sofware-properties-gtk
# Success NO error messages
3. Updates tab in "Software & Updates" dialog
# Success no "Extend..." link
Basic Security Maintenance
Active until 07/14/2022
4. Close button
# no errors on software-properties-gtk console
5. Attach and validate
csmith@csmith-Standard-PC-i440FX-PIIX-1996:~$ sudo ua attach <REDACTED>
This machine is now attached to 'server-team-ua-client-ci-uaa'
SERVICE ENTITLED STATUS DESCRIPTION
cis yes n/a Center for Internet Security Audit Tools
esm-infra yes n/a UA Infra: Extended Security Maintenance (ESM)
fips yes n/a NIST-certified core packages
fips-updates yes n/a NIST-certified core packages with priority security updates
livepatch yes n/a Canonical Livepatch service
NOTICES
Operation in progress: ua attach
Enable services with: ua enable <service>
Account: UA Client Test
Subscription: server-team-ua-client-ci-uaa
Valid until: 9999-12-31 00:00:00+00:00
Technical support level: essential
csmith@csmith-Standard-PC-Q35-ICH9-2009:~$ software-properties-gtk
# no token expiry error messages
6. Click Updates tab and validate:
# Success Basic Security Maintenance because no ESM available or active on non-LTS
Basic Security Maintenance
Active until 07/14/2022
** Tags added: verification-done-impish
** Also affects: software-properties (Ubuntu Impish)
Importance: Undecided
Status: New
** Changed in: software-properties (Ubuntu Impish)
Status: New => Fix Committed
** Changed in: software-properties (Ubuntu Impish)
Importance: Undecided => High
** Changed in: software-properties (Ubuntu Impish)
Assignee: (unassigned) => Robert Ancell (robert-ancell)
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1920836
Title:
Show Extended Security Maintenence status
Status in software-properties package in Ubuntu:
Fix Released
Status in software-properties source package in Xenial:
New
Status in software-properties source package in Bionic:
Fix Committed
Status in software-properties source package in Focal:
Fix Committed
Status in software-properties source package in Hirsute:
Fix Committed
Status in software-properties source package in Impish:
Fix Committed
Bug description:
[Impact]
There is not currently a graphical method of determining if a system is subscribed to [Extended Security Maintenance](https://ubuntu.com/security/esm) updates. This is resolved by adding some [new UI](https://wiki.ubuntu.com/SoftwareUpdates#Extended_Security_Maintenance) to the software properties application.
[Test Case]
1. Install latest version of Ubuntu advantage:
$ sudo add-apt-repository ppa:ua-client/stable
$ sudo apt update
$ sudo apt upgrade
2. Open Software Properties
3. Go to Updates tab.
Expected result:
Information is shown that indicates if this system is using Extended Security Maintenance updates, when updates will supported until, and a link to upgrade to ESM.
Observed result:
No ESM information currently shown.
[Where problems could occur]
- Software properties could hit a bug getting a response from the ua app. The current code carefully checks if and what is returned, falling back to a safe default behavior.
- Launching software properties could trigger a bug in the ua app.
- Software properties could show incorrect information, causing confusion for the user. The solution uses information from distro-info and the ua app which means software-properties contains no data about ESM, and instead relies on these apps that can be updated if things change.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1920836/+subscriptions