Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Mar 2001 00:20:03 -0800 (PST)
From:      Andy Farkas <andyf@speednet.com.au>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: conf/25514: ntpdate_flags in /etc/defaults/rc.conf should be set to "-b"
Message-ID:  <200103050820.f258K3l54225@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/25514; it has been noted by GNATS.

From: Andy Farkas <andyf@speednet.com.au>
To: cjohnson-pr@palomine.net
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: conf/25514: ntpdate_flags in /etc/defaults/rc.conf should be
 set to "-b"
Date: Mon, 5 Mar 2001 19:15:23 +1100 (EST)

 > >Description:
 > 
 > 	According to the ntpdate man page, ntpdate should be run with -b when
 >         run from a startup file at boot time. This causes the time to be stepped
 >         rather than slewed.
 
 The man page also says, by default, if the clock is in error more than 0.5
 second it will step, rather than slew, the time.
 
 What I see as a problem is in /etc/rc.network where it pipes the output of
 ntpdate to /dev/null.  If ntpdate fails to step the clock, and the clock
 is way out of sync, then ntpd (if enabled) will also fail to work.  
 
 /etc/rc.network should be smarter and check return codes when starting
 ntpdate and/or ntpd.  Should it pipe the output to logger(1)??
 
 --
  
  :{ andyf@speednet.com.au
   
         Andy Farkas
     System Administrator
    Speednet Communications
  http://www.speednet.com.au/
   
 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103050820.f258K3l54225>