With SYNC_IN_CONTAINER="yes" in /etc/default/chrony it works.
$ timedatectl
Local time: Fri 2020-03-13 21:51:42 CET
Universal time: Fri 2020-03-13 20:51:42 UTC
RTC time: n/a
Time zone: Europe/Paris (CET, +0100)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
But it isn't normal to have to do this as I'm on bare metal. By the way,
the -X workaround for VM/container is very bad because chronyd serve the
(wrong) system time and not the NTP time.
--
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs