Gnthoralf wrote:
> I have the following bug in date,
> if I type date +%s the unixtimestamp is correct, but if I type "date" then I
> have 23 sec difference. I use suse 9 distro, with ntpd.

How are you determining that the +%s time is correct?  (I would use
date for this, rather circularly.)

  date -d @1209055313

It seems to me that if 'date +%s' is correct then 'date' should also
be correct.

If you are running ntp then using 'ntpq -p' will print useful
information about the state of ntpd on your system.

  ntpq -p

Perhaps a firewall is blocking your ntp packets and preventing things
from being able to sync the time with other systems?

Bob


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to