ntpd configutration -- a small suggestion from the peanut gallery

Dave Cottlehuber dch at skunkwerks.at
Fri Jun 7 08:57:11 UTC 2019


On Thu, 6 Jun 2019, at 18:14, RW via freebsd-questions wrote:
> On Wed, 5 Jun 2019 08:40:51 +0200 (CEST)
> Trond Endrestøl wrote:
> 
> > On Tue, 4 Jun 2019 23:18-0700, Ronald F. Guilmette wrote:
> > 
> > > I feel sure that I'll be able to figure out how to get ntpd properly
> > > enabled & configured, but I would just like to offer, hunbly, to the
> > > Powers That Be, that it would be Nice if ntpd, once enabled during
> > > install, just worked, you know, right outta the box.  
> > 
> > Adding
> > 
> > ntpd_sync_on_start="YES"
> > 
> > to /etc/rc.conf is one way. 
> 
> Perhaps it should be the default. 

It is in CURRENT[1] & would be worth MFC although possibly too late
for 11.3R.

https://www.freebsd.org/cgi/man.cgi?query=ntpdate mentions:

DESCRIPTION
     Note: The functionality o this program is	now available in the ntpd(8)
     program.  See the -q command line option in the ntpd(8) page.  After a
     suitable period of	mourning, the ntpdate utility is to be retired from
     this distribution.

Perhaps a revision that uses ntpd_flags would be better?

--panicgate

[2]: https://www.freebsd.org/cgi/man.cgi?query=ntpd
[1]: https://svnweb.freebsd.org/base?view=revision&revision=r326095

Author: manu <manu at FreeBSD.org>
Date:   Wed Nov 22 15:27:47 2017 +0000

    bsdinstall: Add ntpdate option

    When you install a computer for the first time, the date in the CMOS sometimes
    not accurate and you need to ntpdate as ntpd will fail a the time difference
    is too big.
    Add an option in bsdinstall to enable ntpdate that will do that for us.

    Reviewed by:    allanjude
    Differential Revision:  https://reviews.freebsd.org/D13149



More information about the freebsd-questions mailing list