Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2017 13:02:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-rc@FreeBSD.org
Subject:   [Bug 199127] rc.d/ntpd: user-set ntpd_flags stomps over rc-defined ones (pidfile, driftfile)
Message-ID:  <bug-199127-4805-GQFpUdoNZ9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-199127-4805@https.bugs.freebsd.org/bugzilla/>
References:  <bug-199127-4805@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D199127

Chris Rees <crees@FreeBSD.org> changed:

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

--- Comment #2 from Chris Rees <crees@FreeBSD.org> ---
Created attachment 185920
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D185920&action=
=3Dedit
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

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



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