This bug was fixed in the package shadow - 1:4.2-3.1ubuntu1 --------------- shadow (1:4.2-3.1ubuntu1) xenial; urgency=low
* Merge from Debian unstable. - Includes pam_loginuid in login PAM config. LP: #1067779. - Fixes typo in usermod -h output. LP: #1348873. * Remaining changes: - debian/passwd.upstart: Add an upstart job to clear locks on [shadow-]passwd/group. - debian/login.defs: + Update documentation of USERGROUPS_ENAB: with pam_umask, the UPG handling does not only apply to "former (pre-PAM) uses". + Update documentation of UMASK: Explain that USERGROUPS_ENAB will modify this default for UPGs. - debian/{source_shadow.py,rules}: Add apport hook - Pass noupdate to pam_motd call for /run/motd.dynamic, to avoid running /etc/update-motd.d/* scripts twice. - debian/patches/1010_extrausers.patch: Add support to passwd for libnss-extrausers - debian/patches/1011_extrausers_toggle.patch: extrausers support for useradd and groupadd - debian/patches/userns/subuids-nonlocal-users: Don't limit subuid/subgid support to local users. * Dropped changes, included in Debian: - Allow LXC devices (lxc/console, lxc/tty[1234]), used from precise on. - Add uidmap package based on upstream patches that introduce newuidmap/newgidmap as well as /etc/subuid and /etc/subgid. Additional updates on those to widen the default allocation to 65536 uids and gids and only assign ranges to non-system users. - debian/patches/1020_fix_user_busy_errors: Call sub_uid_close in all error cases. * Dropped changes, included upstream: - debian/patches/495_stdout-encrypted-password: chpasswd can report password hashes on stdout. - debian/patches/496_su_kill_process_group: Kill the child process group, rather than just the immediate child. * Fix pam_motd calls so that the second pam_motd is the noupdate one rather than the first, ensuring /run/motd.dynamic is always populated and shown on the first login after boot. LP: #1368864. * Don't call 'pam_exec uname', a change adopted in Debian without coordination with the Debian PAM maintainer * Use dh_installinit now for installing the upstart job, as we no longer generate a dependency on upstart-job. * Include /etc/sub[ug]id in the list of files to clear locks for on boot. LP: #1304505 * Add a systemd unit to go with the upstart job, so that lock clearing works on newer Ubuntu releases. shadow (1:4.2-3.1) unstable; urgency=medium * Non-maintainer upload. * Fix error handling in busy user detection. (Closes: #778287) shadow (1:4.2-3) unstable; urgency=low * Enforce hardened builds to workaround cdbs sometimes not building with hardening flags as in 1:4.2-2+b1 Thanks to Dr. Markus Waldeck for pointing the issue and Simon Ruderich For providing a working patch. shadow (1:4.2-2) unstable; urgency=low * The "Soumaintrain" release * The "Rigotte de Condrieu" release was 4.2-1 * Upload to unstable * Last upload integrates the use of dh_autoreconf which has the same effect then Eric Dorland's patch in 1:4.1.5.1-1.1 NMU to drop the use of automake1.9. Closes: #724434 [ Samuel Thibault ] * Enable the login package on hurd-any, but without /bin/login, still provided by the hurd package. Closes: #737805. This fix was accidentally forgotten in 1:4.2-1 [ Josh Triplett ] * use the new pam_exec functionality from pam 1.1.8-1 to implement the dynamic motd, rather than using /run/motd.dynamic from initscripts. This will allow initscripts to drop /etc/init.d/motd. Closes: #741129 [ Laurent Bigonville ] * Enable libaudit support. Closes: #745774 [ Trần Ngọc Quân ] * Vietnamese translation update. [ Christian Perrier ] * Add a lintian override for newuidmap and newgidmap setuid binaries * Add upstream signing key as debian/upstream-signing-key.asc * Check upstream signing key in debian/watch shadow (1:4.2-1) experimental; urgency=low [ Nicolas FRANCOIS (Nekral) ] * New upstream release. Fixes: - Invalid free() in su fixed by using strdup(). Thanks to Serge Hallyn for the patch. Closes: #691459 - Kill the child process group, rather than just the immediate child; this is needed now that su no longer starts a controlling terminal when not running an interactive shell. Thanks to Colin Watson for the patch. Closes: #713979 - German manpages translation update. Closes: #679152 - Improve login.defs (typographic errors and better format). Closes: #685415 - Russian translation update. Closes: #718356 - Do not assume random() is limited by RAND_MAX. Closes: #677275 - Support C libraries with unknown fields in struct passwd. Closes: #675824 - su: child cleanup is performed before terminating PAM sessions. This avoids anoying "...terminated" messages when PAM module send signal to su during session close. Closes: #670132 - vipw/vigr is checking arguments provided after options. Closes: #677812 - Updated Japanese translation. Closes: #720004 - vipw: Fix error reporting when editor fails. Closes: #688260 * Moved to git: replace Vcs-Git in place of Vcs-Svn and adapt Vcs-Browser. * Add pam_loginuid to login PAM settings. Closes: #677441 * passwd.install: add new subuid.5 and subgid.5 manpages * debian/rules, debian/control, debian/uidmap.install: create new uidmap package containing the new setuid-root binaries newuidmap and newgidmap Set uidmap as priority optional. * debian/login.su.pam: Enable pam_limits by default. Closes: #705301 * debian/rules: Set default editor to sensible-editor for vipw. Closes: #688252 [ Micah Anderson ] * added debian/patches/userns to enable use of subuids, plus some bugfix patches on top of them, patches from Eric Biederman, pulled from Ubuntu. Closes: #739981 * Allow LXC devices (lxc/console, lxc/tty[1234]) in securetty.linux * Update documentation of UMASK: Explain that USERGROUPS_ENAB will modify this default for UPGs. (Closes: #583971) * login.postinst: install a default /etc/subuid and /etc/subgid * fix installation of setuid/setgid/newuidmap/newgid/map man pages [ Laurent Bigonville ] * Switch to dpkg-source 3.0 (quilt) format * Add build-dependency against bison * Call dh-autoreconf since we need to regenerate all the autofoo files [ Philippe Grégoire ] * Fix 1000_configure_userns to avoid dropping a needed #endif Closes: #744877 [ Christian Perrier ] * Bump Standards to 3.9.5 (checked) * Use 'set -e' in postinst scripts and not in thei shebang line * Explicitly point to GPL-2 document in debian/copyright -- Steve Langasek <steve.langa...@ubuntu.com> Thu, 28 Jan 2016 22:21:41 -0800 ** Changed in: shadow (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to shadow in Ubuntu. https://bugs.launchpad.net/bugs/1368864 Title: old motd is displayed on login Status in shadow package in Ubuntu: Fix Released Bug description: On Trusty, during login, the motd displayed is from the cache file /run/motd.dynamic. After being displayed, the scripts from /etc /update-motd.d are run to refresh /run/motd.dynamic. This behavior of displaying the cache first is not very convenient and didn't happen on Precise. This is also does not match the documentation (man 5 update- motd) nor the users' expectations. Steps to reproduce: $ cat << "EOF" | sudo tee /etc/update-motd.d/60-test #!/bin/sh printf "motd from: $(date +%T)\n" EOF $ sudo chmod +x /etc/update-motd.d/60-test $ echo 'echo "real time: $(date +%T)";exit' | ssh -T localhost Welcome to Ubuntu 14.04.1 LTS (GNU/Linux 3.13.0-35-generic x86_64) * Documentation: https://help.ubuntu.com/ motd from: 6:05:43 real time: 12:36:14 The above is just an example of how old/stale the output can be. More details: $ lsb_release -rd Description: Ubuntu 14.04.1 LTS Release: 14.04 $ apt-cache policy libpam-modules libpam-modules: Installed: 1.1.8-1ubuntu2 Candidate: 1.1.8-1ubuntu2 Version table: *** 1.1.8-1ubuntu2 0 500 http://archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: libpam-modules 1.1.8-1ubuntu2 ProcVersionSignature: Ubuntu 3.13.0-36.63-generic 3.13.11.6 Uname: Linux 3.13.0-36-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.4 Architecture: amd64 CurrentDesktop: Unity Date: Fri Sep 12 12:22:09 2014 InstallationDate: Installed on 2014-01-26 (228 days ago) InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140124) SourcePackage: pam UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1368864/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp