[Bug 199127] rc.d/ntpd: user-set ntpd_flags stomps over rc-defined ones (pidfile, driftfile)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Aug 30 13:02:52 UTC 2017


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

Chris Rees <crees at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |crees at FreeBSD.org

--- Comment #2 from Chris Rees <crees at FreeBSD.org> ---
Created attachment 185920
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=185920&action=edit
Use command_args not rc_flags to avoid rc.conf messing up configuration

I've come across this bug too, but only realised after seeing this one :)

On my machine the pidfile doesn't appear because I've overridden ntpd_flags in
rc.conf.

The correct use is to have command_args for non-configurable stuff, not (ab)use
${name}_flags and hope no-one changes them!

Please would someone approve me to commit this?

Cheers!

Chris

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


More information about the freebsd-rc mailing list