System time is always wrong after reboot

On 2012-02-06 12:08, Carlos E. R. wrote:
> And the adjtime file can be re-created with the appropiate line, which was
> your problem. Previously, this file was properly recreated on system
> power-down, but maybe this has changed.

I’m wondering. At the time the initrd is used, the adjtime can not be read,
so the clock drift is not adjusted when the boot process sets the time (and
the third line doesn’t matter). By the time the real clock script runs, can
it? It needs to know the time since last time the system was stopped.
Although this drift adjustment is useless if you double boot.

Thinking aloud. :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

This is an old thread but I still had this issue on 12.2.

This is the first result that comes up with a Google search so I just wanted to note that I simply fixed it by deleting /etc/adjtime and changing the time in YaST instead of directly from the KDE desktop.