[Bug 1873545] Re: Permission denied error from show-motd when updates available
Brian Murray
1873545 at bugs.launchpad.net
Wed Jun 24 22:07:44 UTC 2020
** Also affects: ubuntu-release-upgrader (Ubuntu Focal)
Importance: Undecided
Status: New
** Changed in: ubuntu-release-upgrader (Ubuntu Groovy)
Assignee: (unassigned) => Brian Murray (brian-murray)
** Changed in: ubuntu-release-upgrader (Ubuntu Groovy)
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1873545
Title:
Permission denied error from show-motd when updates available
Status in Release Upgrader:
Fix Released
Status in Ubuntu WSL:
Fix Released
Status in ubuntu-release-upgrader package in Ubuntu:
In Progress
Status in ubuntu-release-upgrader source package in Focal:
New
Status in ubuntu-release-upgrader source package in Groovy:
In Progress
Bug description:
[Impact]
* This impacts focal (20.04 LTS) users on WSL. On WSL version of
Ubuntu 20.04, on the first time of the launch in a day, the MOTD will
show. This error will show if apt gets update but packages are not
upgrade.
[Test Case]
* Install Ubuntu/Ubuntu 20.04 LTS from Microsoft Store and setup a
user.
* `sudo apt update` and remove `~/.motd_shown`, quit and terminate the
running distribution by `wsl.exe -t <distro>`.
* Restart the distribution, the MOTD will be shown again, and the
error should be gone.
[Regression Potential]
* None for now. The file being called in WSL right now is only being
used by WSL confirmed by CPC
[Original Bug Report]
motd on demo of 20.04:
Welcome to Ubuntu 20.04 LTS (GNU/Linux 4.19.84-microsoft-standard
x86_64)
....
26 updates can be installed immediately.
0 of these updates are security updates.
To see these additional updates run: apt list --upgradable
/usr/lib/ubuntu-release-upgrader/release-upgrade-motd: 31: cannot
create /var/lib/ubuntu-release-upgrader/release-upgrade-available:
Permission denied
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-upgrader/+bug/1873545/+subscriptions
More information about the Ubuntu-sponsors
mailing list