Bug #111
ntpd daemon does not synchronize the hardware clock when shutting down the system
0%
Description
If ntp was installed and the daemon ntpd was running, when the system was shut down the hardware clock was synchronized to the system clock automatically. This is not the case anymore. To reproduce the bug install ntp, add ntpd as a daemon, enter the BIOS, screw up the clock in the BIOS with the wrong time and then boot the system. When the OS is up and running wait for the system clock to be adjusted by ntpd, then reboot the system. You'll see for yourself that the time is not retained after rebooting.
History
Updated by mtjm almost 12 years ago
Just add "hwclock --systohc" to /etc/rc.local.shutdown to save the time. Unsure how this was previously done, it doesn't look like a task for ntpd.
Updated by dario almost 12 years ago
I know how to fix the issue, but this was handled automatically in previous releases.
Updated by dario over 11 years ago
The kernel adjusts the hardware clock automatically only when the gap with the system clock is less than 10 minutes or so. Please, close the issue.
Updated by dario over 11 years ago
The kernel adjusts the hardware clock automatically only when the gap with the system clock is less than 10 minutes or so. Please, close the issue.
Updated by johkra about 10 years ago
- Status changed from open to fixed
Closing bug as per dario's request.