[Bug 2015420] Re: motd: esm and normal update messages are intertwined

Michael 2015420 at bugs.launchpad.net
Wed Nov 8 23:41:37 UTC 2023


There needs to be a simpler way to disable these messages. Having to run
sed commands on a 435 line python script should not be necessary.  This
solution is not scalable when it needs to be applied on hundreds of
desktops.

-- 
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