This is the existing behavior of update-motd from the update-motd
package, unchanged since 2009, which does the following:
if run-parts --lsbsysinit /etc/update-motd.d > /var/run/motd.new; then
if mv -f /var/run/motd.new /var/run/motd; then
cat /var/run/motd
exit 0
else
echo "ERROR: could not install new MOTD" 1>&2
exit 1
fi
fi
So the update-motd command installs the new motd, and then cats it to
stdout.
landscape-common should not need to call update-motd as part of the
maintainer script, as the rest of the system is intended to ensure the
dynamic motd shown at login is always current.
** Changed in: update-notifier (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745347
Title:
landscape-common shows erroneous MOTD on install
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/landscape-client/+bug/1745347/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs