Now, to the actual functionality test on Bionic:
Bionic is an EOSS release, so messages about esm-infra 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@bionic-sut:~# apt policy update-notifier-common update-notifier-common: Installed: 3.192.1.21 Candidate: 3.192.1.21 Version table: *** 3.192.1.21 500 500 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 Packages 100 /var/lib/dpkg/status 3.192.1.19 500 500 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages 3.192 500 500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages root@bionic-sut:~# run-parts /etc/update-motd.d/ Welcome to Ubuntu 18.04.6 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 22:51:31 UTC 2024
System load: 1.72 Processes: 23 Usage of /home: unknown Users logged in: 0 Memory usage: 0% IP address for eth0: 10.46.74.128 Swap usage: 0%
Expanded Security Maintenance for Infrastructure is not enabled.
11 updates can be applied immediately. To see these additional updates run: apt list --upgradable
94 additional security updates can be applied with ESM Infra. Learn more about enabling ESM Infra service for Ubuntu 18.04 at https://ubuntu.com/18-04
New release '20.04.6 LTS' available. Run 'do-release-upgrade' to upgrade to it.
root@bionic-sut:~# touch /var/lib/update-notifier/hide-esm-in-motd root@bionic-sut:~# rm /var/lib/update-notifier/updates-available root@bionic-sut:~# apt update Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease Hit:5 http://archive.ubuntu.com/ubuntu bionic-proposed InRelease Reading package lists... Done Building dependency tree Reading state information... Done 11 packages can be upgraded. Run 'apt list --upgradable' to see them. root@bionic-sut:~# run-parts /etc/update-motd.d/ Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 6.5.0-21-generic x86_64)
System information as of Fri Mar 15 22:52:04 UTC 2024
System load: 1.58 Processes: 23 Usage of /home: unknown Users logged in: 0 Memory usage: 0% IP address for eth0: 10.46.74.128 Swap usage: 0%
I am marking this bug verification-done on Bionic.
Now, to the actual functionality test on Bionic:
Bionic is an EOSS release, so messages about esm-infra 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@bionic-sut:~# apt policy update- notifier- common notifier- common: archive. ubuntu. com/ubuntu bionic- proposed/ main amd64 Packages dpkg/status archive. ubuntu. com/ubuntu bionic-updates/main amd64 Packages archive. ubuntu. com/ubuntu bionic/main amd64 Packages
update-
Installed: 3.192.1.21
Candidate: 3.192.1.21
Version table:
*** 3.192.1.21 500
500 http://
100 /var/lib/
3.192.1.19 500
500 http://
3.192 500
500 http://
root@bionic-sut:~# run-parts /etc/update-motd.d/
Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 6.5.0-21-generic x86_64)
* Documentation: https:/ /help.ubuntu. com /landscape. canonical. com /ubuntu. com/pro
* Management: https:/
* Support: https:/
System information as of Fri Mar 15 22:51:31 UTC 2024
System load: 1.72 Processes: 23
Usage of /home: unknown Users logged in: 0
Memory usage: 0% IP address for eth0: 10.46.74.128
Swap usage: 0%
Expanded Security Maintenance for Infrastructure is not enabled.
11 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
94 additional security updates can be applied with ESM Infra. /ubuntu. com/18- 04
Learn more about enabling ESM Infra service for Ubuntu 18.04 at
https:/
New release '20.04.6 LTS' available. upgrade' to upgrade to it.
Run 'do-release-
root@bionic-sut:~# touch /var/lib/ update- notifier/ hide-esm- in-motd update- notifier/ updates- available archive. ubuntu. com/ubuntu bionic InRelease security. ubuntu. com/ubuntu bionic-security InRelease archive. ubuntu. com/ubuntu bionic-updates InRelease archive. ubuntu. com/ubuntu bionic-backports InRelease archive. ubuntu. com/ubuntu bionic-proposed InRelease
root@bionic-sut:~# rm /var/lib/
root@bionic-sut:~# apt update
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Hit:5 http://
Reading package lists... Done
Building dependency tree
Reading state information... Done
11 packages can be upgraded. Run 'apt list --upgradable' to see them.
root@bionic-sut:~# run-parts /etc/update-motd.d/
Welcome to Ubuntu 18.04.6 LTS (GNU/Linux 6.5.0-21-generic x86_64)
* Documentation: https:/ /help.ubuntu. com /landscape. canonical. com /ubuntu. com/pro
* Management: https:/
* Support: https:/
System information as of Fri Mar 15 22:52:04 UTC 2024
System load: 1.58 Processes: 23
Usage of /home: unknown Users logged in: 0
Memory usage: 0% IP address for eth0: 10.46.74.128
Swap usage: 0%
11 updates can be applied immediately.
To see these additional updates run: apt list --upgradable
New release '20.04.6 LTS' available. upgrade' to upgrade to it.
Run 'do-release-
I am marking this bug verification-done on Bionic.