[Bug 1855092] Re: [SRU] Please set MOTD_SHOWN=pam when MOTD was shown
Brian Murray
brian at ubuntu.com
Fri Dec 6 19:53:31 UTC 2019
Hello Balint, or anyone else affected,
Accepted pam into eoan-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/pam/1.3.1-5ubuntu1.19.10.0 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-eoan to verification-done-eoan. If it does not fix
the bug for you, please add a comment stating that, and change the tag
to verification-failed-eoan. In either case, without details of your
testing we will not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: pam (Ubuntu Eoan)
Status: New => Fix Committed
** Tags added: verification-needed verification-needed-eoan
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to pam in Ubuntu.
https://bugs.launchpad.net/bugs/1855092
Title:
[SRU] Please set MOTD_SHOWN=pam when MOTD was shown
Status in pam package in Ubuntu:
In Progress
Status in pam source package in Eoan:
Fix Committed
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 in update-motd is creating a snippet in /etc/profile.d which shows MOTD, but only if UPDATE_MOTD is not set, to avoid printing MOTD twice.
[Test Case]
* Log in to the system, where PAM prints the MOTD.
* After seeing the MOTD observe MOTD_SHOWN set:
$ echo $MOTD_SHOWN
pam
$
[Regression Potential]
* The fix is simple thus it is unlikely to see any regression due to bad implementation.
* The newly set environment variable may interact with existing software, but this variable seems to be not used:
https://codesearch.debian.net/search?q=MOTD_SHOWN&literal=1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pam/+bug/1855092/+subscriptions
More information about the foundations-bugs
mailing list