[Pkg-shadow-devel] Bug#741129: Please use new pam_exec functionality to implement dynamic motd

Josh Triplett josh at joshtriplett.org
Sat Mar 8 22:31:35 UTC 2014

Package: login
Version: 1:
Severity: normal
Tags: patch

With the attached patch, /etc/pam.d/login will 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.

Apart from eliminating one more init script at startup time, this also
means text logins will show the correct hostname when it has been
changed after startup.

- Josh Triplett

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.13-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages login depends on:
ii  libc6           2.18-4
ii  libpam-modules  1.1.8-2
ii  libpam-runtime  1.1.8-2
ii  libpam0g        1.1.8-2

login recommends no packages.

login suggests no packages.

-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: login-motd-exec.patch
Type: text/x-diff
Size: 1111 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-shadow-devel/attachments/20140308/5ed12664/attachment.patch>

More information about the Pkg-shadow-devel mailing list