Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Jun 2019 10:57:01 +0200
From:      "Dave Cottlehuber" <dch@skunkwerks.at>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: ntpd configutration -- a small suggestion from the peanut gallery
Message-ID:  <37c862b6-f623-4210-9c77-c404e31f4808@www.fastmail.com>
In-Reply-To: <20190606171120.29f7fd85@gumby.homeunix.com>
References:  <48793.1559715528@segfault.tristatelogic.com> <alpine.BSF.2.21.9999.1906050834470.5734@enterprise.ximalas.info> <20190606171120.29f7fd85@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37c862b6-f623-4210-9c77-c404e31f4808>