NTP - default /etc/ntp.conf
Bruce Evans
brde at optusnet.com.au
Fri Jun 5 18:18:09 UTC 2009
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
More information about the freebsd-net
mailing list