Bug#3087: Bug in date.
> Problem description:
>
> The date command will not set the hardware clock on the motherboard.
> When the date command is executed as root, the system date is changed, but
> upon rebooting, the time has been changed to a time that is close to the time
> before I entered the date command, but is neither the correct time nor the
> time I set. My system clock is configured for Greenwich Mean Time. The only
> way I can set my clock accurately is to use the BIOS.
Not a bug. Date is doing it's job correctly. Take a look at the clock
command (should be in /sbin/clock, also check the man pages for it).
The boot scripts use /sbin/clock to set the system time from the
hardware clock, and then the system keeps its own time.
On my system, I run "/usr/sbin/netdate tock.usno.many.mil" whenever I
start a PPP session (thus setting my system time to the correct time),
and also run "/sbin/clock -uw" to write the system time to the hardware
clock.
Nice bug report, though. Better than most I've seen...
--
Buddha Buck bmbuck@acsu.buffalo.edu
"She was infatuated with their male prostitutes, whose members were
like those of donkeys and whose seed came in floods like that of
stallions." -- Ezekiel 23:20
Reply to: