[Bug 1855271] Re: Please make /etc/update-motd.d snippets runnable by regular users

Launchpad Bug Tracker 1855271 at bugs.launchpad.net
Tue Dec 17 16:45:59 UTC 2019


This bug was fixed in the package update-notifier - 3.192.26.1

---------------
update-notifier (3.192.26.1) eoan; urgency=medium

  * Notify user about stale updates information in motd (LP: #1842159)
  * Make /var/lib/update-notifier/updates-available world-readable
    (LP: #1844704)
  * data/update-motd-hwe-eol: Run as a regular user without printing errors
    (LP: #1855271)
  * data/update-motd-hwe-eol: Shortcut script when running in a container.
    There is no point in checking the HWE stack in a container since upgrading
    it would not affect the host system. (LP: #1855290)
  * data/update-motd-fsck-at-reboot: Shortcut script when running it as
    a regular user (LP: #1855271)

 -- Balint Reczey <rbalint at ubuntu.com>  Thu, 05 Dec 2019 15:02:52 +0100

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1855271

Title:
  Please make /etc/update-motd.d snippets runnable by regular users

Status in base-files package in Ubuntu:
  Fix Released
Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Released
Status in update-notifier package in Ubuntu:
  Fix Released
Status in base-files source package in Eoan:
  Fix Released
Status in ubuntu-release-upgrader source package in Eoan:
  Fix Released
Status in update-notifier source package in Eoan:
  Fix Released

Bug description:
  [Impact]

   * /etc/update-motd.d snippets throw errors when a normal user runs them.
   * This prevents showing MOTD when the user is dropped to a regular user's shell in WSL.

  [Test Case]

   * Run update-motd's autopkgtest and observe scripts not throwing
  errors.

  [Regression Potential]

   * The fixes are fairly simple, but to ensure no breakage the scripts
  are also run as root.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/1855271/+subscriptions



More information about the foundations-bugs mailing list