Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2012-09-08 12:37, Per Jessen wrote:
Carlos E. R. wrote:
Edit /etc/adjtime and put local there. And before somebody asks, it was reported in time on bugzilla.
My brandnew 12.2 system doesn't have /etc/adjtime, but it looks it is created when you do "hwclock --systohc".
Do "hwclock --systohc --localtime" instead
Init-script boot.clock normally would do that, but afaict it isn't part of the init-sequence. Doesn't look like systemd takes care of it either, but I'm no expert.
I have forgotten the details, but the thing is the logic has been changed. Previously there was some logic to adjust the cmos clock for drift while powered off, by adding or subtracting some interval when setting the clock on every boot. This was a cause of problems when the cmos is set to local time and Windows has been booted in between (hey! my clock is two hours off on every boot!), so the logic has been disabled entirely if you use "local", it is only used for "utc".
So far, good.
As a side effect, they thought that /etc/adjtime (the file that stores the drift adjustment) is no longer needed and is not created if you use local - but this has undesired effects.
I guess /etc/adjtime isnt needed when you use NTP (the default). -- Per Jessen, Zürich (18.6°C) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org