Package: rdate
Version: 1:1.1.3-2

rdate fails to set the date when the computer has a very old time
(1902 in my case) but ntpdate works:

debian:~# date
Tue Sep  9 20:18:34 CET 1902
debian:~# rdate -o 123 -nvvp 0.debian.pool.ntp.org
.
Sun Sep 27 23:32:42 CET 1970
rdate: adjust local clock by 2147481499.516352 seconds
debian:~# rdate -o 123 -nvv 0.debian.pool.ntp.org
.
rdate: Could not set time of day: Invalid argument
debian:~# ntpdate 0.debian.pool.ntp.org
15 Oct 19:47:01 ntpdate[2094]: step time server 81.223.14.147 offset 
-946713599.360574 sec
debian:~# date
Wed Oct 15 19:47:03 CEST 2008
debian:~#
debian:~# rdate -o 123 -nvv 0.debian.pool.ntp.org
.
Wed Oct 15 19:48:52 CEST 2008
rdate: adjust local clock by -0.003934 seconds

-- 
Martin Michlmayr
http://www.cyrius.com/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to