Timesyncd stop_start behaviour

  • Platform information:
    • Hardware: RPi 4 Model B 4 GB
    • OS: Raspbian (kernel Linux 5.15.32-v7l+)
    • Java Runtime Environment: ??
    • openHAB version: 3.2.0
  • Issue of the topic: timesyncd keeps logging start and stop messages and sometimes it exits with the error below (messages at the end).
    I also include the messages writen to syslog in the attached file (printscreeen of cat syslog | grep ync).
    Is this behaviour normal?

Jan 7 13:02:15 openhabian systemd[1]: Stopping Network Time Synchronization…
Jan 7 13:02:15 openhabian systemd[1]: systemd-timesyncd.service: Succeeded.
Jan 7 13:02:15 openhabian systemd[1]: Stopped Network Time Synchronization.
Jan 7 13:02:15 openhabian systemd[1]: systemd-timesyncd.service: Start request repeated too quickly.
Jan 7 13:02:15 openhabian systemd[1]: systemd-timesyncd.service: Failed with result ‘start-limit-hit’.
Jan 7 13:02:15 openhabian systemd[1]: Failed to start Network Time Synchronization.

I am also including some logs that show the behaviour (number of attempts) changes.

Jan 11 14:10:34 openhabian systemd-timesyncd[26414]: Initial synchronization to time server [2001:690:2100:14::2]:123 (2.debian.pool.ntp.org).
Jan 11 14:13:59 openhabian systemd[1]: Stopping Network Time Synchronization…
Jan 11 14:13:59 openhabian systemd[1]: systemd-timesyncd.service: Succeeded.
Jan 11 14:13:59 openhabian systemd[1]: Stopped Network Time Synchronization.
Jan 11 14:13:59 openhabian systemd[1]: Starting Network Time Synchronization…
Jan 11 14:14:00 openhabian systemd[1]: Started Network Time Synchronization.
Jan 11 14:14:00 openhabian systemd-timesyncd[26465]: Initial synchronization to time server [2001:690:2100:80::4]:123 (2.debian.pool.ntp.org).
Jan 11 14:18:22 openhabian systemd[1]: Stopping Network Time Synchronization…
Jan 11 14:18:22 openhabian systemd[1]: systemd-timesyncd.service: Succeeded.
Jan 11 14:18:22 openhabian systemd[1]: Stopped Network Time Synchronization.
Jan 11 14:18:22 openhabian systemd[1]: Starting Network Time Synchronization…
Jan 11 14:18:22 openhabian systemd[1]: Started Network Time Synchronization.
Jan 11 14:18:22 openhabian systemd[1]: Stopping Network Time Synchronization…
Jan 11 14:18:22 openhabian systemd[1]: systemd-timesyncd.service: Succeeded.
Jan 11 14:18:22 openhabian systemd[1]: Stopped Network Time Synchronization.
Jan 11 14:18:22 openhabian systemd[1]: Starting Network Time Synchronization…
Jan 11 14:18:23 openhabian systemd[1]: Started Network Time Synchronization.
Jan 11 14:18:23 openhabian systemd-timesyncd[26551]: Initial synchronization to time server [2001:690:2100:80::4]:123 (2.debian.pool.ntp.org).
Jan 11 14:20:24 openhabian systemd[1]: Stopping Network Time Synchronization…
Jan 11 14:20:25 openhabian systemd[1]: systemd-timesyncd.service: Succeeded.
Jan 11 14:20:25 openhabian systemd[1]: Stopped Network Time Synchronization.
Jan 11 14:20:25 openhabian systemd[1]: Starting Network Time Synchronization…
Jan 11 14:20:25 openhabian systemd[1]: Started Network Time Synchronization.
Jan 11 14:20:25 openhabian systemd-timesyncd[26587]: Initial synchronization to time server [2001:690:2100:80::4]:123 (2.debian.pool.ntp.org).
Jan 11 14:20:50 openhabian systemd[1]: Stopping Network Time Synchronization…
Jan 11 14:20:51 openhabian systemd[1]: systemd-timesyncd.service: Succeeded.
Jan 11 14:20:51 openhabian systemd[1]: Stopped Network Time Synchronization.
Jan 11 14:20:51 openhabian systemd[1]: Starting Network Time Synchronization…
Jan 11 14:20:51 openhabian systemd[1]: Started Network Time Synchronization.
Jan 11 14:20:51 openhabian systemd-timesyncd[26605]: Initial synchronization to time server [2001:690:2100:14::2]:123 (2.debian.pool.ntp.org).
J

1 Like

I have the same question :slight_smile:
Did some research and it’s not really clear. I mostly find that this is not that abnormal, but why is it filling up all the logs? :confused:

There have been recent fixes in openhabian that should avoid this to happen. You would need to reinstall your OS though.