[Bug 1855271] Re: Please make /etc/update-motd.d snippets runnable by regular users
Balint Reczey
balint.reczey at canonical.com
Mon Dec 16 13:43:12 UTC 2019
Verified 3.192.26.1 on Eoan:
https://objectstorage.prodstack4-5.canonical.com/v1/AUTH_77e2ada1e7a84929a74ba3b87153c0ac
/autopkgtest-eoan/eoan/amd64/u/update-motd/20191211_173053_e85d9@/log.gz
:
autopkgtest [17:30:02]: test show-motd: [-----------------------
Welcome to Ubuntu 19.10 (GNU/Linux 5.3.0-24-generic x86_64)
* Documentation: https://help.ubuntu.com
* Management: https://landscape.canonical.com
* Support: https://ubuntu.com/advantage
.--._ _.--.
( \ / )
\ /\ /
\_ \/ _/
/ \
( /\ )
`--' `--'
FreedomBox
FreedomBox is a pure blend of Debian GNU/Linux. Web interface is available at
https://localhost/ . FreedomBox manual is available in /usr/share/doc/freedombox
and from the web interface.
Successive commands usually process the same argument. 'Alt-.' inserts the
last argument of the previous command. GNU readline rocks, read the manual.
25 updates can be installed immediately.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable
*** System restart required ***
This message is shown once once a day. To disable it please create the
/home/ubuntu/.hushlogin file.
autopkgtest [17:30:03]: test show-motd: -----------------------]
show-motd PASS
** Tags removed: verification-needed verification-needed-eoan
** Tags added: verification-done verification-done-eoan
** Changed in: update-notifier (Ubuntu)
Status: New => Fix Released
--
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 Committed
Status in ubuntu-release-upgrader source package in Eoan:
Fix Committed
Status in update-notifier 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