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

Balint Reczey balint.reczey at canonical.com
Sat Dec 7 08:58:20 UTC 2019


** Tags added: wsl

-- 
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:
  New
Status in base-files source package in Eoan:
  Fix Committed

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