Project

General

Profile

Bug #111

ntpd daemon does not synchronize the hardware clock when shutting down the system

dario - over 10 years ago - . Updated over 8 years ago.

Status:
fixed
Priority:
bug
Assignee:
-
% Done:

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

#2

Updated by mtjm over 10 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.

#3

Updated by dario over 10 years ago

I know how to fix the issue, but this was handled automatically in previous releases.

#4

Updated by dario almost 10 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.

#5

Updated by dario almost 10 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.

#6

Updated by johkra over 8 years ago

  • Status changed from open to fixed

Closing bug as per dario's request.

Also available in: Atom PDF