From owner-freebsd-questions@FreeBSD.ORG Fri Sep 19 09:18:49 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 730C51065670 for ; Fri, 19 Sep 2008 09:18:49 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (unknown [IPv6:2a01:170:102f::2]) by mx1.freebsd.org (Postfix) with ESMTP id DCFCA8FC14 for ; Fri, 19 Sep 2008 09:18:48 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (localhost [127.0.0.1]) by lurza.secnetix.de (8.14.3/8.14.3) with ESMTP id m8J9IkpG090610; Fri, 19 Sep 2008 11:18:46 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.14.3/8.14.3/Submit) id m8J9IhNm090609; Fri, 19 Sep 2008 11:18:43 +0200 (CEST) (envelope-from olli) Date: Fri, 19 Sep 2008 11:18:43 +0200 (CEST) Message-Id: <200809190918.m8J9IhNm090609@lurza.secnetix.de> From: Oliver Fromme To: freebsd-questions@FreeBSD.ORG, fbsd.questions@rachie.is-a-geek.net, trashy_bumper@yahoo.com In-Reply-To: <200809181946.03130.fbsd.questions@rachie.is-a-geek.net> X-Newsgroups: list.freebsd-questions User-Agent: tin/1.8.3-20070201 ("Scotasay") (UNIX) (FreeBSD/6.4-PRERELEASE-20080904 (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Fri, 19 Sep 2008 11:18:47 +0200 (CEST) Cc: Subject: Re: NTP on 7.1 BETA amd64 odd behaviour X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@FreeBSD.ORG, fbsd.questions@rachie.is-a-geek.net, trashy_bumper@yahoo.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Sep 2008 09:18:49 -0000 Mel wrote: > On Thursday 18 September 2008 16:44:40 Nash Nipples wrote: > > thanks for the new /etc/rc.d/ntpd > > ... > > > > > rc_flags="-c ${ntpd_config} ${ntpd_flags}" > > > > ... > > what we can learn from it is that on 7.1 BETA your rc.conf.local file > > should look like this > > > > ntpd_config="/etc/ntpd.conf" > > ntpd_flags="-p /var/run/ntpd.pid" > > > > hope that explains > > Nash > > Almost. > Look at /etc/defaults/rc.conf: > ntpd_config="/etc/ntp.conf" # ntpd(8) configuration file > ntpd_sync_on_start="NO" # Sync time on ntpd startup, even if offset is > high > ntpd_flags="-p /var/run/ntpd.pid -f /var/db/ntpd.drift" > # Flags to ntpd (if enabled). > > 99% of the cases you don't need ntpd_flags. Only if you want the drift file in > a different location or use one of the more obscure options. In fact it might even be considered a bug that "-f /var/db/ntpd.drift" is included in the default flags. If someone wants to override the default location of the drift file, it is much better to specify it in the ntp.conf file. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M. Handelsregister: Registergericht Muenchen, HRA 74606, Geschäftsfuehrung: secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün- chen, HRB 125758, Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart FreeBSD-Dienstleistungen, -Produkte und mehr: http://www.secnetix.de/bsd "Software gets slower faster than hardware gets faster." -- Niklaus Wirth