Allright, its looking better now after I disabled chrony on proxmox host.
I think the reason for the trouble was LXC and proxmox host both set the system time, both running chrony.
Trying to wrap my head about this, good to have some trouble to learn a bit.
Have I understand the following?
-
‘hardware clock’ is always used to set system time at boot, may be set later also by e.g. chrony. This clock is not used actively by chrony.
-
‘system time’ is used for everything in linux, e.g. ‘date’ command and the journal. System time is set often/10min by chrony.
-
‘true time’ (is this the right term?) is the true time for the world. Estimated by chrony. When true time is copied to system time, the system is ‘synchronized’.
-
Are there more ‘times’?
-
So… Does proxmox host and LXC have common system time (they share kernel)? Is it best practice to disable ntp client on the host, if running a time server on LXC?
Awesome support, thanks.