Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2017 13:33:50 -0800
From:      Devin Teske <devin@shxd.cx>
To:        rgrimes@freebsd.org
Cc:        cem@freebsd.org, Emmanuel Vadot <manu@bidouilliste.com>, src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r326095 - head/usr.sbin/bsdinstall/scripts
Message-ID:  <F94B65A7-D2AA-47FB-90C4-439DDFDD1AC7@shxd.cx>
In-Reply-To: <201711231729.vANHTVmo092083@pdx.rh.CN85.dnsmgr.net>
References:  <201711231729.vANHTVmo092083@pdx.rh.CN85.dnsmgr.net>

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


> On Nov 23, 2017, at 9:29 AM, Rodney W. Grimes <freebsd@pdx.rh.CN85.dnsmgr.=
net> wrote:
>=20
> [ Charset UTF-8 unsupported, converting... ]
>> On Thu, Nov 23, 2017 at 7:17 AM, Rodney W. Grimes
>> <freebsd@pdx.rh.cn85.dnsmgr.net> wrote:
>>>> Also we do provide an ntp.conf so ...
>>>=20
>>> We do, a template, all commented out, and does not work for
>>> machines behind strong firewalls that wont allow ntp out
>>> to the net but have internal ntp servers that are used for
>>> such things.
>>>=20
>>> Well maybe not all commented out, I think it defaults to
>>> some public pools.  I believe it would be missing iburst
>>> for use with ntp -pg
>>=20
>> Does ntpdate work out of the box in such environments?  If so, how?
>=20
> ntpdate time.nist.gov
>=20
> ntpdate does not need a configureration file, just a command
> line argument.
>=20
>=20

At the banks we used to rely on both (in this order) ntpdate running and the=
n ntpd running.

Running ntpdate before ntpd meant that on a [re]boot, ntpdate would jump the=
 box to the appropriate time, regardless of how far behind the clock was (th=
ink "dead cmos battery" on a system left powered-off for a long time).

Meanwhile, running ntpd *without* the sync-on-start feature meant we could b=
ounce the ntpd service as necessary and it would always adhere to the limit w=
e set on it -- one hour to prevent syncing on systems which had been manuall=
y adjusted by greater than an hour for some one-off instances.
--=20
Devin




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F94B65A7-D2AA-47FB-90C4-439DDFDD1AC7>