Sida 1 av 1

Dubbla MOTD på Ubuntu Server 10.04.2 LTS!

Postat: 04 jun 2011, 09:39
av Kirill
Hejsan alla!

För oss som kör Ubuntu Server kanske har stött på detta:
Linux Gibson 2.6.32-28-server #55-Ubuntu SMP Mon Jan 10 23:57:16 UTC 2011 x86_64 GNU/Linux
Ubuntu 10.04.2 LTS

Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc

System information as of Sat Jun 4 09:23:30 CEST 2011

System load: 0.0 Processes: 88
Usage of /: 0.4% of 219.90GB Users logged in: 0
Memory usage: 1% IP address for eth0: 10.0.0.3
Swap usage: 0%

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


Ubuntu 10.04.2 LTS

Welcome to the Ubuntu Server!
* Documentation: http://www.ubuntu.com/server/doc

System information as of Fri Jun 3 17:51:50 CEST 2011

System load: 0.72 Processes: 103
Usage of /: 0.4% of 219.90GB Users logged in: 0
Memory usage: 0% IP address for eth0: 10.0.0.3
Swap usage: 0%

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

54 packages can be updated.
37 updates are security updates.

Last login: Sat Jun 4 09:06:58 2011 from XXXXXXXXXX
kirill@Gibson:~$
Som ni ser så får man dubbla MOTD, och detta är tydligen en bugg #659738

Så för att lösa detta så tycker de att man ska ta bort motd.tail helt från systemet.

Kod: Markera allt

sudo cp /etc/motd.tail /etc/motd.tail.backup
sudo sh -c 'echo "" > /etc/motd.tail'
Efter detta, så har man endast kvar en MOTD, som man kan redigera för att passa sitt behov... :)