Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jun 2009 01:55:47 +1000 (EST)
From:      Bruce Evans <brde@optusnet.com.au>
To:        "Sean C. Farley" <scf@freebsd.org>
Cc:        Ollivier Robert <roberto@freebsd.org>, freebsd-net@freebsd.org, Edwin Groothuis <edwin@freebsd.org>
Subject:   Re: NTP - default /etc/ntp.conf
Message-ID:  <20090606015013.Q15911@delplex.bde.org>
In-Reply-To: <alpine.BSF.2.00.0906050846160.6209@thor.farley.org>
References:  <20090605124428.GA85576@mavetju.org> <alpine.BSF.2.00.0906050846160.6209@thor.farley.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Jun 2009, Sean C. Farley wrote:

> On Fri, 5 Jun 2009, Edwin Groothuis wrote:
>
>> Index: etc/ntp.conf
>> ===================================================================
>> --- etc/ntp.conf	(revision 0)
>> +++ etc/ntp.conf	(revision 0)
>> @@ -0,0 +1,28 @@
>> +#
>> +# $FreeBSD$
>> +#
>> +# Default NTP servers for the FreeBSD operating system.
>> +#
>> +# Don't forget to enable ntpd in /etc/rc.conf with:
>> +# ntpd_enable="YES"
>> +#
>> +
>> +driftfile /var/db/ntpd.drift
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> Index: etc/Makefile
>> ===================================================================
>> --- etc/Makefile	(revision 193485)
>> +++ etc/Makefile	(working copy)
>> @@ -14,7 +14,7 @@
>> 	hosts hosts.allow hosts.equiv \
>> 	inetd.conf libalias.conf login.access login.conf mac.conf motd \
>> 	netconfig network.subr networks newsyslog.conf nsswitch.conf \
>> -	phones profile protocols \
>> +	ntpd.conf phones profile protocols \
>
> ntpd.conf or ntp.conf?

Similarly, the drift file is named ntp.drift except in poorly configured
FreeBSD installations.  ntp sources in contrib have 80 lines matching
ntp\.drift and 2 lines matching ntpd.drift.  FreeBSD should only change
the directory containing the drift file from /etc to /var/db or /var/db/ntp,
not the file name.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090606015013.Q15911>