On Wed, May 05, 2010 at 06:38:49PM +0200, Julian Andres Klode wrote:
> > On Wed, May 05, 2010 at 02:23:16AM +0200, Jean-Christophe Dubacq wrote:
> > > This one was a bit hard to track down. After a while, my /etc/motd
> > > would be reduced to one empty line or info about packages updates.

> > > It happens that pam_motd executes /etc/update-motd.d if it exists (with
> > > run-parts) but nothing in this directory rebuilds the standard motd.
> I did not know this.

> > > This could be a bug in update-notifier-common, or in pam (not providing
> > > a small file such as:
> > > ebene:~$ cat /etc/update-motd.d/00-header 
> > > #!/bin/sh
> > > uname -snrvm
> > > [ -f /etc/motd.tail ] && cat /etc/motd.tail

> > Yes, I think this is a bug in update-notifier-common for shipping this file
> > in Debian without having an appropriate versioned dep on something that
> > builds the main part of the motd.  Reassigning.
> Is there something that builds it?

In Debian, I don't think there is yet (and if not, update-notifier-common
should avoid shipping this code in Debian).  In Ubuntu,
/etc/update-motd.d/00-header is provided as part of base-files, since that's
the package which owns /etc/motd historically.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to