Bug#1008059: systemd-timesyncd restarted on every router advertisment

Michael Biebl biebl at debian.org
Mon Mar 21 16:36:32 GMT 2022


Am 21.03.22 um 17:23 schrieb Adam Dinwoodie:
> Package: systemd-timesyncd
> Version: 250.4-1
> Severity: normal
> Tags: ipv6
> 
> Dear Maintainer,
> 
> I'm seeing systemd restart systemd-timesyncd.service approximately every
> 10 seconds, lining up with when I see a log showing that my router has
> advertised its IPv6 address.
> 
> If I run `journalctl -f`, the output is full of lines like the
> following:
> 
> ```
> Mar 21 15:53:56 lucy.dinwoodie.org dhcpcd[452]: eth0: Router Advertisement from fe80::be99:11ff:fe69:4300
> Mar 21 15:53:57 lucy.dinwoodie.org systemd[1]: Stopping Network Time Synchronization...
> Mar 21 15:53:57 lucy.dinwoodie.org systemd[1]: systemd-timesyncd.service: Deactivated successfully.
> Mar 21 15:53:57 lucy.dinwoodie.org systemd[1]: Stopped Network Time Synchronization.
> Mar 21 15:53:57 lucy.dinwoodie.org systemd[1]: Starting Network Time Synchronization...
> Mar 21 15:53:57 lucy.dinwoodie.org systemd[1]: Started Network Time Synchronization.
> Mar 21 15:53:57 lucy.dinwoodie.org systemd-timesyncd[6426]: Initial synchronization to time server 162.159.200.1:123 (0.debian.pool.ntp.org).
> Mar 21 15:54:06 lucy.dinwoodie.org dhcpcd[452]: eth0: Router Advertisement from fe80::be99:11ff:fe69:4300
> Mar 21 15:54:07 lucy.dinwoodie.org systemd[1]: Stopping Network Time Synchronization...
> Mar 21 15:54:07 lucy.dinwoodie.org systemd[1]: systemd-timesyncd.service: Deactivated successfully.
> Mar 21 15:54:07 lucy.dinwoodie.org systemd[1]: Stopped Network Time Synchronization.
> Mar 21 15:54:07 lucy.dinwoodie.org systemd[1]: Starting Network Time Synchronization...
> Mar 21 15:54:07 lucy.dinwoodie.org systemd[1]: Started Network Time Synchronization.
> Mar 21 15:54:07 lucy.dinwoodie.org systemd-timesyncd[6463]: Initial synchronization to time server 178.62.18.76:123 (0.debian.pool.ntp.org).
> ```


Is that a result of /etc/dhcp/dhclient-exit-hooks.d/timesyncd ?

What happens if you remove that dhclient hook

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20220321/7519d93e/attachment.sig>


More information about the Pkg-systemd-maintainers mailing list