If you do insist on having a different motd, though (which I think is
unwise; it's not uncommon to run small-scale servers by installing a
desktop and then sticking a few server packages on top, and people
logging into those servers might want help too), then remember that
resolving conflicts among packages is always much easier if you don't
try to cram everything into the same file. You could have
/etc/motd.tail.d/ and have /etc/init.d/bootmisc.sh concatenate uname
information, followed by /etc/motd.tail, followed by everything in that
directory. This smells somewhat of overengineering, but I don't see how
else to fulfil your requirements.

With regard to motd.md5sums, this should clearly be updated to match all
versions of that file that have been in Ubuntu. That could be done
retrospectively. However, you still shouldn't edit it at runtime; the
handling of this file is complicated enough already without trying to
have it be controlled by multiple packages at once.

-- 
Default MOTD for server should point to documentation URL
https://bugs.launchpad.net/bugs/159371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to