[arch-general] Systemd and time synchronisation problems

Thomas Bächler thomas at archlinux.org
Tue Sep 11 14:27:25 EDT 2012


Am 11.09.2012 20:16, schrieb mike cloaked:
> However a question is where does the hardware clock get
> re-synchronised if it drifts out of time over a period unless it is
> occasionally resynchronised?

Three things:

1) On boot, the hardware clock is copied to the system clock. The
adjtime file says how much time has to be added/removed to compensate
for drift.
2) When chrony is not running, systemd-timedated runs periodically to
adjust the hardware clock for drift (AFAIK, not sure that is the job
that timedated does).
3) When chrony is running, chrony adjusts the hardware clock for drift.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-general/attachments/20120911/0f5e4726/attachment.asc>


More information about the arch-general mailing list