Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2023 02:02:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275274] /etc/motd
Message-ID:  <bug-275274-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275274

            Bug ID: 275274
           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 wo=
rk,
/etc/motd.template is used along with a freebsd header everytime=20
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 j=
ust
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275274-227>