From owner-freebsd-net@FreeBSD.ORG Fri Jun 5 18:18:09 2009 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 097B910656D3; Fri, 5 Jun 2009 18:18:09 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from fallbackmx07.syd.optusnet.com.au (fallbackmx07.syd.optusnet.com.au [211.29.132.9]) by mx1.freebsd.org (Postfix) with ESMTP id 7983A8FC23; Fri, 5 Jun 2009 18:18:08 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail02.syd.optusnet.com.au (mail02.syd.optusnet.com.au [211.29.132.183]) by fallbackmx07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n55FtpqH019251; Sat, 6 Jun 2009 01:55:51 +1000 Received: from c122-106-151-9.carlnfd1.nsw.optusnet.com.au (c122-106-151-9.carlnfd1.nsw.optusnet.com.au [122.106.151.9]) by mail02.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n55Ftl0w003194 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 6 Jun 2009 01:55:48 +1000 Date: Sat, 6 Jun 2009 01:55:47 +1000 (EST) From: Bruce Evans X-X-Sender: bde@delplex.bde.org To: "Sean C. Farley" In-Reply-To: Message-ID: <20090606015013.Q15911@delplex.bde.org> References: <20090605124428.GA85576@mavetju.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Ollivier Robert , freebsd-net@freebsd.org, Edwin Groothuis Subject: Re: NTP - default /etc/ntp.conf X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Jun 2009 18:18:09 -0000 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