[Bug 1855089] Re: Please show MOTD in containers' shell started without PAM printing MOTD

Launchpad Bug Tracker 1855089 at bugs.launchpad.net
Sat Dec 7 22:13:05 UTC 2019


This bug was fixed in the package update-motd - 3.6-0ubuntu4

---------------
update-motd (3.6-0ubuntu4) focal; urgency=medium

  * update-motd.sh: Don't source, but run update-motd.
    This fixes being dropped out of shell when update-motd exits
    with nonzero value.
  * update-motd.sh: Don't misleadingly indicate that script is
    running with set -e
  * update-motd.sh: Don't set "stamp" and eval_gettext()
    in /etc/profile.d script

 -- Balint Reczey <rbalint at ubuntu.com>  Sat, 07 Dec 2019 10:25:10 +0100

** Changed in: update-motd (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-motd in Ubuntu.
https://bugs.launchpad.net/bugs/1855089

Title:
  Please show MOTD in containers' shell started without PAM printing
  MOTD

Status in update-motd:
  New
Status in update-motd package in Ubuntu:
  Fix Released

Bug description:
  [Impact]

    * Users of containers may never see the MOTD of the container if they are always to the container's shell without PAM being involved.
    * MOTD contains important information about the system's health including the security updates to be installed thus it is desired to show MOTD in container shells, too.
    * The fix is creating a snippet in /etc/profile.d which shows, but not necessarily updates MOTD once a day.

  [Test Case]

   * TODO

  [Regression Potential]

   * TODO

  [Other Info]

   * The fix relies on PAM setting MOTD_SHOWN=pam to avoid printing MOTD
  twice.

To manage notifications about this bug go to:
https://bugs.launchpad.net/update-motd/+bug/1855089/+subscriptions



More information about the foundations-bugs mailing list