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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/659738

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to