Please make /etc/update-motd.d snippets runnable by regular users
Bug #1855271 reported by
Balint Reczey
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
base-files (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned | ||
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned | ||
update-notifier (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Eoan |
Fix Released
|
Undecided
|
Unassigned |
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.
Related branches
~rbalint/ubuntu-release-upgrader:ubuntu/eoan
Rejected
for merging
into
ubuntu-release-upgrader:ubuntu/eoan
- Brian Murray: Pending requested
-
Diff: 42 lines (+13/-2)3 files modifieddebian/changelog (+11/-0)
debian/gbp.conf (+1/-1)
debian/release-upgrade-motd (+1/-1)
~rbalint/ubuntu-release-upgrader:ubuntu/master
Merged
into
ubuntu-release-upgrader:ubuntu/master
at
revision c8215d3878c046e601afd3fb8ee03e64c5641f6f
- Brian Murray: Approve
- Ubuntu Core Development Team: Pending requested
-
Diff: 39 lines (+10/-2)3 files modifieddebian/changelog (+8/-0)
debian/gbp.conf (+1/-1)
debian/release-upgrade-motd (+1/-1)
summary: |
- Please make update-notifier's /etc/update-motd.d snippets runnable by - regular users + Please make /etc/update-motd.d snippets runnable by regular users |
description: | updated |
description: | updated |
tags: | added: wsl |
To post a comment you must log in.
This bug was fixed in the package base-files - 11ubuntu2
---------------
base-files (11ubuntu2) focal; urgency=medium
* motd/50-motd-news: Don't show error when /var/cache/ motd-news is missing
and runnig as regular user (LP: #1855271)
-- Balint Reczey <email address hidden> Thu, 05 Dec 2019 15:39:21 +0100