creates motd.tail on postinst, which could mean duplicate entries in /etc/motd
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sysvinit (Debian) |
Unknown
|
Unknown
|
|||
sysvinit (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
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:/
Ubuntu 10.04.1 LTS
Welcome to Ubuntu!
* Documentation: https:/
--
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...
Changed in sysvinit (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
oh and it still creates it in maverick.