Problem with starting systemd-timedated

Hi,

I am currently facing a problem with timedated and hopefully someone can give me the right hint to solve my issue.

Problem:
Using a newer kernel version breaks the systemd startup of timedated. timedatectl returns a timeout.
Starting /lib/systemd/systemd-timedated manuelly works. Going back to the old kernel on the same system does not solve the problem. If the new kernel has started one time the service keeps broken.


Old Kernel
Linux verdin-imx8mm 5.4.91-33073-g5c94c062e0ab #8 SMP PREEMPT Fri Apr 9 11:15:43 CEST 2021 aarch64 GNU/Linux

root@verdin-imx8mm:~# timedatectl
               Local time: Tue 2021-05-11 05:28:29 UTC
           Universal time: Tue 2021-05-11 05:28:29 UTC
                 RTC time: Tue 2021-05-11 05:28:30
                Time zone: Universal (UTC, +0000)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

New Kernel
Linux verdin-imx8mm 5.4.115-34753-g342aacb61faa #10 SMP PREEMPT Mon May 10 16:30:28 CEST 2021 aarch64 GNU/Linux

root@verdin-imx8mm:~# timedatectl
Failed to query server: Connection timed out

root@verdin-imx8mm:~# systemctl status systemd-timedated.service

* systemd-timedated.service - Time & Date Service
     Loaded: loaded (/lib/systemd/system/systemd-timedated.service; static; vendor preset: disabled)
     Active: failed (Result: resources)
       Docs: man:systemd-timedated.service(8)
             man:localtime(5)
             https://www.freedesktop.org/wiki/Software/systemd/timedated

May 11 05:50:51 verdin-imx8mm systemd[1]: systemd-timedated.service: Failed to run 'start' task: Not a directory
May 11 05:50:51 verdin-imx8mm systemd[1]: systemd-timedated.service: Failed with result 'resources'.
May 11 05:50:51 verdin-imx8mm systemd[1]: Failed to start Time & Date Service.
May 11 05:52:18 verdin-imx8mm systemd[1]: systemd-timedated.service: Failed to run 'start' task: Not a directory
May 11 05:52:18 verdin-imx8mm systemd[1]: systemd-timedated.service: Failed with result 'resources'.
May 11 05:52:18 verdin-imx8mm systemd[1]: Failed to start Time & Date Service.

Hello @gandi,

We could also reproduce this issue on our side. We have escalated this and hopefully we will have something to tell you soon.

Thank you for notifying us on this!

Best Regards,
Janani

Hello @saijanani.tx
do you have an update for me regarding this problem?

BR Martin

Hello @gandi ,

Thank you for writing here. I had forgotten to update. This issue seems to be the issue mentioned here Could you may try this workaround?

Best regards ,
Janani