https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219255
Bug ID: 219255
Summary: /etc/rc.d/ntpd
Product: Base System
Version: 10.3-RELEASE
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: conf
Assignee: [email protected]
Reporter: [email protected]
There is an unprotected mv command in /etc/rc.d/ntpd.
In certain cases, such as a schg-hardened or other read-only system, it may not
be possible to update /var/db/ntpd.leap-seconds.list. In such cases, the rc
script processing halts with
overrride rw-r--r-- root/wheel for /var/db/ntpd.leap-seconds.list? (y/n [n])
which effectively blocks rc from proceeding.
Commands that could result in a console prompt should be protected from such a
possibility. In this case, it appears that "mv" should be changed to "mv -f".
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"