[Bug 1873545] Re: Permission denied error from show-motd when updates available

Patrick Wu 1873545 at bugs.launchpad.net
Mon Jun 1 06:01:10 UTC 2020


** Description changed:

+ [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

-- 
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 Ubuntu WSL:
  Fix Released
Status in update-motd:
  Invalid
Status in ubuntu-release-upgrader package in Ubuntu:
  Confirmed
Status in ubuntu-release-upgrader source package in Groovy:
  Confirmed

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/ubuntuwsl/+bug/1873545/+subscriptions



More information about the Ubuntu-sponsors mailing list