[Bug 230561] ntpd error: only one pidfile option allowed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Aug 12 15:50:10 UTC 2018


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

Ian Lepore <ian at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |Not A Bug
             Status|Open                        |Closed

--- Comment #3 from Ian Lepore <ian at FreeBSD.org> ---
The fact that the pidfile argument was included in the default ntpd_flags is a
historical and accidental mistake dating back to when the ntpd rc stuff was
imported from netbsd.  The freebsd rc system does not support changing the
location of the pidfile to some arbitrary place it is unaware of; doing so
removes the ability to properly restart, stop, query status, etc.

In other words, while the flag was historically in the default flags, it could
never be usefully changed, and indeed if you do some searching you'll see that
its accidental presence in the defaults has led to many errors and questions
from users over the years as they tried to set ntpd_flags in rc.conf as you
would for any other service/daemon and accidentally removed the -p flag in
doing so.

So this change was NOT a regression, it was in fact the fix for PR 199127.

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


More information about the freebsd-bugs mailing list