update-motd not updating /etc/motd after LTS upgrade



Hi,

I have a few scripts within /etc/update-motd.d/, e.g.

#!/bin/sh
unset PATH
/usr/bin/printf "%s\n%s\n\n" "Uptime/Load:" "$(/usr/bin/uptime)"

While on 10.04 and on a fresh installation of 12.04 this script works
fine, on two upgraded machines from 10.04 to 12.04 /etc/motd is not
updated. If I remove /etc/motd (/var/run/motd) it is not even
re-created at all.

What can I futher check?

Thanks, Helmut


--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: update-motd not updating /etc/motd after LTS upgrade
    ... While on 10.04 and on a fresh installation of 12.04 this script ... on two upgraded machines from 10.04 to 12.04 /etc/motd ... So if I want information at logon I need to lower ...
    (Ubuntu)
  • Re: update-motd not updating /etc/motd after LTS upgrade
    ... While on 10.04 and on a fresh installation of 12.04 this script works ... on two upgraded machines from 10.04 to 12.04 /etc/motd is not ... (basically alphabetical order, with a few caveats). ... I'll maintain that XML should never be used for something that is written by ...
    (Ubuntu)
  • MySQL Database has gone away
    ... I'm running a script on a fresh installation of Slackware, ... fine on my old Mandrake box, but I keep getting all these errors that say: ...
    (perl.dbi.users)