Comment 2 for bug 2015420

Revision history for this message
martinr (martinr1111) wrote (last edit ): Re: motd: esm and normal update messages are intertwined

Even when ESM is not enabled and there are no ESM updates pending. ESM evangelisation will still be displayed at logon.
Here is a copy of such messages that keep appearing at each logon (as appearing in Ubuntu Server 22.04.2 LTS (GNU/Linux 5.15.0-1026-raspi armv7l)):

    Expanded Security Maintenance for Applications is not enabled.

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

The messages take up screen real-estate and become more annoying and less informative every time they are repeated. To get to the real MOTD content people need to scroll back at every logon.

The problem is that the messages can't be configured off without also loosing pending updates information.

The messages are not emitted through the normal MOTD processing (update-motd).
They are generated by update-notifier and cached in:
"/var/lib/update-notifier/updates-available"
by Python script:
/usr/lib/update-notifier/apt_check.py