[Bug 1855089] Re: Please show MOTD in containers' shell started without PAM printing MOTD
Balint Reczey
balint.reczey at canonical.com
Mon Dec 9 15:47:41 UTC 2019
** Description changed:
[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.
+ * 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
+ * Install show-motd in an LXC container.
+ * Observe MOTD shown when starting the container shell with
+ $ lxc shell <container name>
[Regression Potential]
- * TODO
+ * The new functionality is added in a new package, shown-motd, thus users of update-motd should not observe any regression.
+ * The change in update-motd is adding the --show-only optional option. Both the new and old code patch is exercised in autopkgtest and should be safe.
[Other Info]
- * The fix relies on PAM setting MOTD_SHOWN=pam to avoid printing MOTD
+ * The fix relies on PAM setting MOTD_SHOWN=pam to avoid printing MOTD
twice.
--
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]
* Install show-motd in an LXC container.
* Observe MOTD shown when starting the container shell with
$ lxc shell <container name>
[Regression Potential]
* The new functionality is added in a new package, shown-motd, thus users of update-motd should not observe any regression.
* The change in update-motd is adding the --show-only optional option. Both the new and old code patch is exercised in autopkgtest and should be safe.
[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