[Bug 634387] Re: creates motd.tail on postinst, which could mean duplicate entries in /etc/motd
nutznboltz
634387 at bugs.launchpad.net
Mon Jun 6 14:17:39 UTC 2011
Now all the /etc/motd.tail files have been clobbered by overwriting them
with garbage for the second time thats to this:
sysvinit (2.87dsf-4ubuntu17.3) lucid-proposed; urgency=low
* debian/sysv-rc/sbin/invoke-rc.d: replace RUNLEVEL with RUNLEVELHELPER.
Using RUNLEVEL causes spurious failures when invoke-rc.d is invoked
with RUNLEVEL already defined in the environment (as it is e.g. during
bootup) since invoke-rc.d's RUNLEVEL will become an exported variable
at that point and cause /sbin/runlevel to return bad data. (LP: #619246)
-- James Troup <james.troup at canonical.com> Tue, 24 May 2011 11:41:45
+0000
--
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/634387
Title:
creates motd.tail on postinst, which could mean duplicate entries in
/etc/motd
Status in “sysvinit” package in Ubuntu:
Confirmed
Status in “sysvinit” package in Debian:
Unknown
Bug description:
Binary package hint: sysvinit
Did an upgrade on a server (8.04 -> 10.04), and after a reboot & login
noticed that motd had duplicate headers:
Linux fermaatti 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:24:04 UTC 2010 i686 GNU/Linux
Ubuntu 10.04.1 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
Ubuntu 10.04.1 LTS
Welcome to Ubuntu!
* Documentation: https://help.ubuntu.com/
--
traced it down to the postinst files of base-files and iniscripts.
First, base-files moved motd.tail as motd.tail.old, and later
initscripts would create a new on by running 'sed 1d /etc/motd >
/etc/motd.tail' (motd would by that time have been regenerated it
seems). The result after a login is above.
I can't think of a reason why initscripts creates motd.tail in the
first place. In ubuntu the file should be empty, or nonexistant...
More information about the foundations-bugs
mailing list