Comment 24 for bug 2015420

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

Now, to the actual functionality test on Jammy:

Jammy is an LTS release still supported, so messages about esm-apps will be present in MOTD by default.
After creating the marker file and triggering an update of MOTD, those messages disappear, but the updates count remains.

root@jammy-sut:~# apt policy update-notifier-common
update-notifier-common:
  Installed: 3.192.54.8
  Candidate: 3.192.54.8
  Version table:
 *** 3.192.54.8 500
        500 http://archive.ubuntu.com/ubuntu jammy-proposed/main amd64 Packages
        100 /var/lib/dpkg/status
     3.192.54.6 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
     3.192.54 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
root@jammy-sut:~# run-parts /etc/update-motd.d/
Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 6.5.0-21-generic x86_64)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/pro

  System information as of Fri Mar 15 23:08:15 UTC 2024

  System load: 1.2568359375
  Usage of /home: unknown
  Memory usage: 0%
  Swap usage: 0%
  Temperature: 86.0 C
  Processes: 24
  Users logged in: 0
  IPv4 address for eth0: 10.46.74.160
  IPv6 address for eth0: fd42:f539:1893:d366:216:3eff:fea1:40fb

Expanded Security Maintenance for Applications is not enabled.

25 updates can be applied immediately.
To see these additional updates run: apt list --upgradable

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status

root@jammy-sut:~# touch /var/lib/update-notifier/hide-esm-in-motd
root@jammy-sut:~# rm /var/lib/update-notifier/updates-available
root@jammy-sut:~# apt update
Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:5 http://archive.ubuntu.com/ubuntu jammy-proposed InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
27 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@jammy-sut:~# run-parts /etc/update-motd.d/
Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 6.5.0-21-generic x86_64)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/pro

  System information as of Fri Mar 15 23:08:15 UTC 2024

  System load: 1.2568359375
  Usage of /home: unknown
  Memory usage: 0%
  Swap usage: 0%
  Temperature: 86.0 C
  Processes: 24
  Users logged in: 0
  IPv4 address for eth0: 10.46.74.160
  IPv6 address for eth0: fd42:f539:1893:d366:216:3eff:fea1:40fb

25 updates can be applied immediately.
To see these additional updates run: apt list --upgradable

I am marking this bug verification-done on Jammy, and verification-done overall as this is the last release to test.