From owner-freebsd-bugs@FreeBSD.ORG Wed Jun 8 06:10:08 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B0F116A41C for ; Wed, 8 Jun 2005 06:10:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD74543D48 for ; Wed, 8 Jun 2005 06:10:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j586A7bE025499 for ; Wed, 8 Jun 2005 06:10:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j586A7fM025498; Wed, 8 Jun 2005 06:10:07 GMT (envelope-from gnats) Date: Wed, 8 Jun 2005 06:10:07 GMT Message-Id: <200506080610.j586A7fM025498@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: Matteo Riondato Cc: Subject: Re: conf/79712: ntpdate in startup sequence fails. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matteo Riondato List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2005 06:10:08 -0000 The following reply was made to PR conf/79712; it has been noted by GNATS. From: Matteo Riondato To: Tsurutani Naoki Cc: bug-followup@FreeBSD.org Subject: Re: conf/79712: ntpdate in startup sequence fails. Date: Wed, 8 Jun 2005 08:09:14 +0200 > In that way, 'test -z "$ntpdate_hosts"' in /etc/rc.d/ntpdate is still true, > therefore /etc/ntp.conf will be read to obtain "ntpdate_hosts". > Please add default entry to /etc/default/rc.conf, Yes, you're right. It seems to me that using "pool.ntp.org" as a default entry would be ok (and is sort of suggested on www.ntp.org). > and write the comment into manpage of rc.conf(5). ntpdate_hosts is already documented in rc.conf(5) > It is better to add comments into manpage of ntp.conf(5), > for it might be read unlikely. Patch follows. --- ntp.conf.5.old Wed Jun 8 07:57:46 2005 +++ ntp.conf.5 Wed Jun 8 08:05:47 2005 @@ -24,6 +24,13 @@ .Fl c command line option). .Pp +The +.Pa /etc/rc.d/ntpdate +script reads this file to get a list of NTP servers +to use if the variable 'ntpdate_hosts' was not declared. +Refer to the +.Xr rc.conf 5 man page for further info about this. +.Pp The file format is similar to other .Ux configuration files. Best Regards -- Rionda aka Matteo Riondato G.U.F.I. Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org)