conf/79712: ntpdate in startup sequence fails.

Matteo Riondato rionda at gufi.org
Wed Jun 8 06:10:08 GMT 2005


The following reply was made to PR conf/79712; it has been noted by GNATS.

From: Matteo Riondato <rionda at gufi.org>
To: Tsurutani Naoki <turutani at scphys.kyoto-u.ac.jp>
Cc: bug-followup at 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)


More information about the freebsd-bugs mailing list