[Bug 766827] [NEW] motd not updating

Launchpad Bug Tracker 766827 at bugs.launchpad.net
Thu Sep 24 09:19:06 UTC 2015


You have been subscribed to a public bug by Sebastien Bacher (seb128):

Following recent updates, the /var/run/motd file is being updated
properly, but the data contained  within is not. This refers
specifically to the data udpated by the following scripts:

/usr/lib/update-notifier/update-motd-cpu-checker
/usr/lib/update-notifier/update-motd-reboot-required
/usr/lib/update-notifier/update-motd-updates-available

I have verified this behaviour on several of our machines, all of which
are running Ubuntu Server 10.04.

I've manually run  /usr/lib/update-notifier/apt-check --human-readable
(called from  /usr/lib/update-notifier/update-motd-updates-available)
and it outputs accurate data:

it at milpat:~$ /usr/lib/update-notifier/apt-check --human-readable
0 packages can be updated.
0 updates are security updates.

Running the /usr/lib/update-notifier/update-motd-updates-available
script itself returns the appropriate data:

it at milpat:~$ sudo /usr/lib/update-notifier/update-motd-updates-available
0 packages can be updated.
0 updates are security updates.
it at milpat:~$

But even after running the script manually, the motd file does not
contain the new data:

dmcgarry at emigre:~/devel/goofalicious/src/Goofalicious$ ssh milpat
Linux milpat 2.6.32-4-pve #1 SMP Thu Oct 21 09:35:29 CEST 2010 x86_64 GNU/Linux

Ubuntu 10.04.2 LTS

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

8 packages can be updated.
2 updates are security updates.

You have mail.
Last login: Wed Apr 20 16:13:14 2011 from xxx.xxx.xxx.xxx
it at milpat:~$

REFERENCE SYSTEM INFO:
it at milpat:~$ lsb_release -rd
Description:	Ubuntu 10.04.2 LTS
Release:	10.04

** Affects: update-motd (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: patch
-- 
motd not updating
https://bugs.launchpad.net/bugs/766827
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list