I'm trying to debug some network connection issues and I see:
systemd-timesyncd: Network configuration changed, trying to establish connection.
in syslog. I've tried to google it but I can't find a good definition of it. Is it something I need to worry about? Is the configuration change only in the context of timesyncd
?
Thanks.
Run
journalctl --since "1 days ago"
to see what systemd reports before that change happens.Are you running containers on this server? For me, it seems to happen any time Kubernetes schedules a container on or off a node. That might happen hundreds of times per day, and thus these log messages are obnoxious.
This appears related to the two following bugs and appears patched in systemd v239. Ubuntu 18.04 ships with systemd v237 and is unlikely to receive a fix.
This problem can also happen if you have more than one network interface. By default systemd will not consider network initialization complete until all interfaces are brought up, meaning other services which depend upon networking will potentially be waiting indefinitely. The solution is to override 'systemd-networkd-wait-online' service thus:
add the following to the top of the file: