[Bug 275273] /etc/motd
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275273] /etc/motd"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275273] /etc/motd"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275273] /etc/motd"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275273] /etc/motd"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 275273] /etc/motd"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 23 Nov 2023 02:02:02 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275273
Bug ID: 275273
Summary: /etc/motd
Product: Base System
Version: 14.0-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Many People
Priority: ---
Component: misc
Assignee: bugs@FreeBSD.org
Reporter: dan@sunsaturn.com
/etc/motd is overwritten now anytime a system administrator edits the file.
/etc/motd is currently a sym link to /var/run/motd. Currently way things work,
/etc/motd.template is used along with a freebsd header everytime
service motd restart is run or a reboot occurs, effectively killing anything
added to /etc/motd.
A fix would be "rm /etc/motd; ln -s /etc/motd.template /etc/motd"
There is no reason for /etc/motd to do a useless symlink to /var/run/motd just
for changes to be overwritten, when it would be way better if the link was made
to /etc/motd.template instead so the system administrators changes are not lost
between reboots etc.
--
You are receiving this mail because:
You are the assignee for the bug.