Comment 3 for bug 1368864

Revision history for this message
Steve Langasek (vorlon) wrote :

This is a bug in the /etc/pam.d/login configuration, which has:

session optional pam_motd.so motd=/run/motd.dynamic noupdate
session optional pam_motd.so

This tells login to display the dynamic motd /without updating it/, and then to call pam_motd again for the static motd... and updating the dynamic file. So the motd displayed will always be one run out of date.

The ssh package has this the correct way around:

session optional pam_motd.so motd=/run/motd.dynamic
session optional pam_motd.so noupdate