[Bug 2015420] Re: motd: esm and normal update messages are intertwined
xenago
2015420 at bugs.launchpad.net
Mon Apr 17 07:31:29 UTC 2023
I concur with martinr and am experiencing this issue on all 22.04
systems. ESM content appears in the terminal on login with all available
esm/advantage-related stuff disabled. I can also confirm that it is
possible to bypass them by editing the aforementioned python script, but
that is not a proper solution as it is not
standardized/durable/maintainable...
This should definitely be split out into a separate .conf to enable
proper configuration of esm messages.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-notifier in Ubuntu.
https://bugs.launchpad.net/bugs/2015420
Title:
motd: esm and normal update messages are intertwined
Status in update-notifier package in Ubuntu:
Confirmed
Bug description:
See https://github.com/canonical/ubuntu-pro-client/issues/2458 for the
origin of the conversation.
We don't think it needs to be _easy_, but it should probably be less
burdensome to disable ESM update notifications in MOTD without
disabling all update notifications in MOTD.
One idea to accomplish this is to separate the /etc/update-motd.d/
files into two. One would print the normal update message, and the
other would print the ESM message. Then, if an admin knows what
they're doing and is willing to accept the risk, they can remove or
edit the ESM update-notifier motd conffile. This is similar to how you
can remove the APT ESM messages by removing/editing
/etc/apt/apt.conf.d/20apt-esm-hook.conf if you know what you're doing.
This would also require some changes to how the messages are created,
since currently it is all in apt_check.py and printed into a single
message file. They'll need to be separated somehow.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/2015420/+subscriptions
More information about the foundations-bugs
mailing list