[Bug 219255] /etc/rc.d/ntpd
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat May 13 12:10:31 UTC 2017
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: freebsd-bugs at FreeBSD.org
Reporter: bugs.freebsd.org at a2aefddc.biz.jgreco.net
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.
More information about the freebsd-bugs
mailing list