pam_motd: no longer cats the motd.tail component

Bug #498968 reported by Martin-Éric Racine
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Since a few days, in Lucid, whenever logging in via SSH, the motd only displays the output of 'uname -a' and skips the display of /etc/legal or of possible package update notifications. This is a regression from Karmic.

ProblemType: Bug
Architecture: i386
Date: Mon Dec 21 09:26:06 2009
DistroRelease: Ubuntu 10.04
Package: libpam-modules 1.1.0-4ubuntu3
ProcEnviron:
 LANGUAGE=fi_FI:fi:en_US:en
 PATH=(custom, user)
 LANG=fi_FI.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48+bug396286v5-generic
SourcePackage: pam
Tags: lucid
Uname: Linux 2.6.31-14-generic i586

Revision history for this message
Martin-Éric Racine (q-funk) wrote :
tags: added: regression-lucid regression-potential
Revision history for this message
Steve Langasek (vorlon) wrote :

/etc/legal is only displayed once per user by design, with a flag set in ~/.cache/motd.legal-displayed. So that's not a regression.

As for /etc/motd.tail, I suspect this file is empty on your system. I've seen this problem in lucid as well; on console, the following explanation is output:

  run-parts: /etc/update-motd.d/91-release-upgrade exited with return code 1

That's a bug in the update-manager hook (it should not exit non-zero except on a failure to generate correct output). Reassigning this bug to the update-manager package, since I can't seem to find an existing bug report about this.

affects: pam (Ubuntu) → update-manager (Ubuntu)
Changed in update-manager (Ubuntu):
status: New → Triaged
Revision history for this message
Martin-Éric Racine (q-funk) wrote :

1) I never said that /etc/legal would be displayed more than once per login. However, it has always been displayed right below the uname stanza upon every motd output. This is no longer the case.

2) Neither /etc/motd.tail or /etc/motd are empty.

Revision history for this message
Martin-Éric Racine (q-funk) wrote :

$ more /etc/motd*
::::::::::::::
/etc/motd
::::::::::::::
Linux geode 2.6.31-14-generic #48+bug396286v5 SMP Fri Oct 30 10:50:17 UTC 2009 i586
::::::::::::::
/etc/motd.tail
::::::::::::::

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

::::::::::::::
/etc/motd.tail.old
::::::::::::::

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

$

C de-Avillez (hggdh2)
tags: removed: regression-potential
Revision history for this message
dino99 (9d9) wrote :

This version is no more supported

Changed in update-manager (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.