Date: Wed, 8 Jun 2005 06:10:07 GMT From: Matteo Riondato <rionda@gufi.org> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/79712: ntpdate in startup sequence fails. Message-ID: <200506080610.j586A7fM025498@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/79712; it has been noted by GNATS. From: Matteo Riondato <rionda@gufi.org> To: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> 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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200506080610.j586A7fM025498>