Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Aug 2000 10:25:12 -0400
From:      Mathew KANNER <mat@cs.mcgill.ca>
To:        freebsd-current@freebsd.org
Subject:   ntpdate bug(?)
Message-ID:  <20000803102512.B15819@cs.mcgill.ca>

next in thread | raw e-mail | index | archive | help
Hi,
	I posted something similar on -questions but had no reponse.
Could someone tell me if this is a bug?  Ntpdate won't set the date
when the current date is ahead but will set the date when it's behind.
I've noticed this on 4.1 and -current from this past weekend.  (I'm
not talking about the 'send: Socket...' problem).
	
bash-2.03# date
Thu Aug  3 10:15:32 EDT 2000
bash-2.03# date 0008041015 
date: send: Socket is not connected
Fri Aug  4 10:15:00 EDT 2000
bash-2.03# Aug  4 10:15:00 magnet date: date set by root
bash-2.03# ntpdate gps.freebsd.dk 4 Aug 10:15:16 ntpdate[404]: adjust time server 212.242.40.181 offset -86356.115919 sec
bash-2.03# date
Fri Aug  4 10:15:18 EDT 2000    <---- This is what I mean
bash-2.03# date 0008011015
date: send: Socket is not connected
Tue Aug  1 10:15:00 EDT 2000
bash-2.03# ntpdate gps.freebsd.dk
 3 Aug 10:16:25 ntpdate[407]: step time server 212.242.40.181 offset 172878.565883 sec
bash-2.03# date
Thu Aug  3 10:16:26 EDT 2000
bash-2.03#


	--Mat

-- 
Mathew Kanner <mat@CS.McGill.CA> Systems Programmer, SOCS McGill University
   Obtuse quote: He [not me] understands: "This field of perception
   is void of perception of man." -- The Quintessence of Buddhism 


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




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