Your message dated Fri, 25 May 2012 21:04:43 +0000
with message-id <[email protected]>
and subject line Bug#669698: fixed in shadow 1:4.1.5.1-1
has caused the Debian Bug report #669698,
regarding login: Please support dynamic motd (initscripts change)
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
669698: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669698
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: login
Version: 1:4.1.5-1
Severity: normal
Tags: patch
Separation of static and dynamic motd components
================================================
Currently initscripts generates the motd, and stores it in
/var/run/motd. /etc/motd is a symlink to this file, and
/etc/motd.tail contains the static user-editable part. This is not
ideal for a number of reasons, including /etc/motd not being a file as
documented, and not behaving like a conffile, and being generally
complex and confusing. It also unnecessarily wastes space on /run.
In a future upload of initscripts, this will be simplified:
- /etc/motd will contain the user-editable part, and will be a regular
file; /etc/motd.tail will be migrated here.
- The dynamic part (uname -a) will be stored in /run/motd.dynamic;
this will be generated at boot like we do now. There is scope for
supporting other dynamically generated info in the future, should
there ever be any demand for that, but for now we are simply going
to retain the existing behaviour. Users can extend this should
they wish.
This does require two separate pam_motd lines in your pam service
file, one for the dynamic and one for the static parts (patch
attached). Enabling the use of /run/motd.dynamic before I create
it in initscripts is harmless, and it means we can seamlessly
switch over once you have made this change.
Thanks,
Roger
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (550, 'unstable'), (500, 'testing'), (400, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages login depends on:
ii libc6 2.13-30
ii libpam-modules 1.1.3-7
ii libpam-runtime 1.1.3-7
ii libpam0g 1.1.3-7
login recommends no packages.
login suggests no packages.
-- no debconf information
diff -urN shadow-4.1.5.original/debian/login.pam shadow-4.1.5/debian/login.pam
--- shadow-4.1.5.original/debian/login.pam 2012-04-21 09:49:54.000000000 +0100
+++ shadow-4.1.5/debian/login.pam 2012-04-21 09:49:13.019066487 +0100
@@ -80,8 +80,11 @@
# (Replaces the `LASTLOG_ENAB' option from login.defs)
session optional pam_lastlog.so
-# Prints the motd upon succesful login
+# Prints the message of the day upon succesful login.
# (Replaces the `MOTD_FILE' option in login.defs)
+# This includes a dynamically generated part from /run/motd.dynamic
+# and a static (admin-editable) part from /etc/motd.
+session optional pam_motd.so motd=/run/motd.dynamic
session optional pam_motd.so
# Prints the status of the user's mailbox upon succesful login
--- End Message ---
--- Begin Message ---
Source: shadow
Source-Version: 1:4.1.5.1-1
We believe that the bug you reported is fixed in the latest version of
shadow, which is due to be installed in the Debian FTP archive:
login_4.1.5.1-1_powerpc.deb
to main/s/shadow/login_4.1.5.1-1_powerpc.deb
passwd_4.1.5.1-1_powerpc.deb
to main/s/shadow/passwd_4.1.5.1-1_powerpc.deb
shadow_4.1.5.1-1.diff.gz
to main/s/shadow/shadow_4.1.5.1-1.diff.gz
shadow_4.1.5.1-1.dsc
to main/s/shadow/shadow_4.1.5.1-1.dsc
shadow_4.1.5.1.orig.tar.gz
to main/s/shadow/shadow_4.1.5.1.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Nicolas FRANCOIS (Nekral) <[email protected]> (supplier of
updated shadow package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Fri, 25 May 2012 15:42:01 +0200
Source: shadow
Binary: passwd login
Architecture: source powerpc
Version: 1:4.1.5.1-1
Distribution: unstable
Urgency: low
Maintainer: Shadow package maintainers
<[email protected]>
Changed-By: Nicolas FRANCOIS (Nekral) <[email protected]>
Description:
login - system login tools
passwd - change and administer password and group data
Closes: 638263 659957 660406 661025 661802 668880 669698 673234
Changes:
shadow (1:4.1.5.1-1) unstable; urgency=low
.
* The "Gruyère" release.
.
[ Nicolas FRANCOIS (Nekral) ]
* New upstream release:
- login: log into utmp(x) but not into wtmp (this is done by pam_lastlog).
Log to utmp(x) was broken by the fix for #605329. Closes: 659957
- userdel: Fix segfault when userdel removes the user's group.
Closes: #660406
- manpages: .so links point to paths relative to the top-level manual
hierarchy. Closes: #661025
- useradd(8): Return code 13 no more documented. Closes: #661802
* debian/patches/series, debian/patches/428_grpck_add_prune_option: Removed.
The -p option was not documented and was meant to fix consequences of a
bug now fixed more than 10 years ago.
* debian/shadowconfig.sh: Display issues, but dot not prompt interactively
to fix passwd/group/shadow/gshadow issues. Closes: #638263
* debian/control: Bump Standards-Version to 3.9.3 (no changes needed).
* debian/rules: Simplify setting of hardening flags. cdbs 0.4.103 needed to
get hardened version of shadow-utils. Restore previous requirement on
dpkg-dev to 1.13.5.
.
[ Christian Perrier ]
* Complete Polish translation of logoutd(8). Closes: #668880
* German translation of manpages completed. Closes: #673234
.
[ Roger Leigh ]
* Separation of static and dynamic motd components in login PAM module
Closes: #669698
Checksums-Sha1:
3248bf404314afb1d79bf6585485343d0dbc038c 1584 shadow_4.1.5.1-1.dsc
6e4de75de58405d21b0377b926ae770afccd95bc 3508077 shadow_4.1.5.1.orig.tar.gz
cda4141f55fb2649d3c8b1a405de83ca6ca44f26 79779 shadow_4.1.5.1-1.diff.gz
5c5231dd04c4d456425fbdae4e10f730e66f17f6 1192792 passwd_4.1.5.1-1_powerpc.deb
e04ebf74a04b076837d8a77d9a247259bb535a72 976120 login_4.1.5.1-1_powerpc.deb
Checksums-Sha256:
8d3f1fa46e651e8f37165731e00625f0e93f18d176bc9ece186e1fb7a852ac19 1584
shadow_4.1.5.1-1.dsc
ee1986c5fec9f6e7868bcc5329874a72dec74897b598d86eb0532f79471f32f0 3508077
shadow_4.1.5.1.orig.tar.gz
eaa68406d035d9e844e9513c57cf172331c16ae1f5824d8a15a75099bdc24d2c 79779
shadow_4.1.5.1-1.diff.gz
e0f3d4cb84d0fb849a9689a183caaf8efea9030110c487ec96a333dfea2e040c 1192792
passwd_4.1.5.1-1_powerpc.deb
a9d3aa632b62e9e16514afc327c816e068ffe513cf8b3fd0ac506409bece4613 976120
login_4.1.5.1-1_powerpc.deb
Files:
1c927e5de4c82f75f7e762a75c5ca0a1 1584 admin required shadow_4.1.5.1-1.dsc
ae66de9953f840fb3a97f6148bc39a30 3508077 admin required
shadow_4.1.5.1.orig.tar.gz
2560844152b92a91570305824a3962c6 79779 admin required shadow_4.1.5.1-1.diff.gz
b132f9568acc3db5a91833fde2ee38d8 1192792 admin required
passwd_4.1.5.1-1_powerpc.deb
20db0b35b1344dec94250053add368b8 976120 admin required
login_4.1.5.1-1_powerpc.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iEYEARECAAYFAk+/7PIACgkQWgo5mup89a3rZQCdFpUDDe+O/Lqambr25mR1EJnl
MGUAmwfWycJkmP5adqCJbia6YaNs7EHh
=3g6z
-----END PGP SIGNATURE-----
--- End Message ---