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/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275274

            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 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.

home | help

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