ntpd just sits there and does nothing

David Wolfskill david at catwhisker.org
Fri Jul 20 11:46:55 UTC 2007


On Fri, Jul 20, 2007 at 10:37:14AM +0300, Stefan Lambrev wrote:
> ...
> ntpd will not change time if the difference is too big - I think it 
> should be less then 1000s.
> ntpdate will :)
>...

Please try to be a little more careful: the above is incorrect.

From ntpd(8):

     -g      Normally, ntpd exits with a message to the system log if the off-
             set exceeds the panic threshold, which is 1000 s by default.
             This option allows thetime to be set to any value without
             restriction; however, this can happen only once.  If the thresh-
             old is exceeded after that, ntpd will exit with a message to the
             system log.  This option can be used with the -q and -x options.
             See the tinker command for other options.

From ntpdate(8):

DESCRIPTION
     Note: The functionality of this program is now available in the ntpd(8)
     program.  See the -q command line option in the ntpd(8) page.  After a
     suitable period of mourning, the ntpdate utility is to be retired from
     this distribution.

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Anything and everything is a (potential) cat toy.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070720/46f39775/attachment.pgp


More information about the freebsd-stable mailing list