Testing with the PPA confirms the issue is fixes:
It now looks like this:

bare-metal/VMs:
ar 31 10:17:51 f-chrony systemd[1]: Starting chrony, an NTP client/server...
Mar 31 10:17:51 f-chrony chronyd[10780]: chronyd version 3.5 starting (+CMDMON 
+NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG)
Mar 31 10:17:51 f-chrony chronyd[10780]: Frequency -0.027 +/- 0.117 ppm read 
from /var/lib/chrony/chrony.drift
Mar 31 10:17:51 f-chrony chronyd[10780]: Loaded seccomp filter
Mar 31 10:17:51 f-chrony systemd[1]: Started chrony, an NTP client/server.

Containers:
Mar 31 10:17:42 f2 systemd[1]: Starting chrony, an NTP client/server...
Mar 31 10:17:42 f2 chronyd-starter.sh[3934]: cap[cap_sys_time] not permitted
Mar 31 10:17:42 f2 chronyd-starter.sh[3932]: Warning: Missing cap_sys_time, 
syncing the system clock will fail
Mar 31 10:17:42 f2 chronyd-starter.sh[3932]: Warning: Running in a container, 
likely impossible and unintended to sync system clock
Mar 31 10:17:42 f2 chronyd-starter.sh[3932]: Adding -x as fallback disabling 
control of the system clock, see /usr/share/doc/chrony/README.container to 
override this behavior
Mar 31 10:17:42 f2 chronyd[3937]: chronyd version 3.5 starting (+CMDMON +NTP 
+REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +SECHASH +IPV6 -DEBUG)
Mar 31 10:17:42 f2 chronyd[3937]: Disabled control of system clock
Mar 31 10:17:42 f2 chronyd[3937]: Frequency -0.137 +/- 0.196 ppm read from 
/var/lib/chrony/chrony.drift
Mar 31 10:17:42 f2 chronyd[3937]: Loaded seccomp filter
Mar 31 10:17:42 f2 systemd[1]: Started chrony, an NTP client/server.


The extra message of "cap[cap_sys_time] not permitted" isn't too bad.
In fact if down the road this would change behavior again and throw other 
errors (like cap[cap_sys_time] not recognized by library or anything else) we'd 
immediately see it which is a good aspect.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1867036

Title:
  Focal Fossa : chronyd unable to sync system clock

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chrony/+bug/1867036/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to