[Bug 659738] Re: Duplicate welcome message in motd (caused by postinst script creating motd.tail file)

Tim Cutts tim at thecutts.org
Thu Jun 9 11:47:31 UTC 2011


On 9 Jun 2011, at 12:27, Michael Lueck wrote:

> How's progress getting this fixed in stable distribution? I just had to
> "sudo rm /etc/motd.tail" on Lucid servers again. So I guess doing so is
> not a one time manual fix. :-(

I use cfengine2 on our systems, and the following hideous runes are
keeping it under control:

groups:
  ubuntu_lucid::
    have_motd_tail = ( FileExists("/etc/motd.tail") )
  have_motd_tail::
    broken_motd_tail = ( ReturnsZeroShell("/bin/grep -q ${quote}Welcome to Ubuntu!${quote} /etc/motd.tail") )

tidy:
  broken_motd_tail::
    /etc pat=motd.tail age=0 

Regards,

Tim

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sysvinit in Ubuntu.
https://bugs.launchpad.net/bugs/659738

Title:
  Duplicate welcome message in motd (caused by postinst script creating
  motd.tail file)

Status in “sysvinit” package in Ubuntu:
  Fix Released
Status in “sysvinit” source package in Lucid:
  In Progress
Status in “sysvinit” source package in Maverick:
  Fix Released
Status in “sysvinit” source package in Natty:
  Fix Released
Status in “sysvinit” package in Debian:
  Unknown

Bug description:
  Binary package hint: landscape-client

  e.g.:
  Linux ubuntu 2.6.35-22-generic #34-Ubuntu SMP Sun Oct 10 09:26:05 UTC 2010 x86_64 GNU/Linux
  Ubuntu 10.10

  Welcome to Ubuntu!
   * Documentation:  https://help.ubuntu.com/

    System information as of Wed Oct 13 09:57:20 CEST 2010

    System load:    0.26               Processes:           172
    Usage of /home: 82.7% of 50.60GB   Users logged in:     1
    Memory usage:   42%                IP address for eth0: 192.168.1.1
    Swap usage:     0%

    Graph this data and manage this system at
  https://landscape.canonical.com/

  Ubuntu 10.04.1 LTS

  Welcome to Ubuntu!
   * Documentation:  https://help.ubuntu.com/

    System information as of Mon Oct 11 10:13:53 CEST 2010

    System load:    0.85               Processes:           246
    Usage of /home: 82.5% of 50.60GB   Users logged in:     1
    Memory usage:   37%                IP address for eth0: 192.168.1.1
    Swap usage:     0%

    => There are 4 zombie processes.

    Graph this data and manage this system at
  https://landscape.canonical.com/

  *** System restart required ***

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sysvinit/+bug/659738/+subscriptions




More information about the foundations-bugs mailing list