Systemd-timesyncd takes several minutes during boot

I recently installed Lubuntu on my old Macbook Pro (late 2009). I am very satisfied with the overall experience, however I have a problem with boot time that seems to be related to a generally common problem - but I cannot find a suitable solution in any of the forum posts here or elsewhere.

Bottom line, after investigating the very long boot time I have found that the problem is here:

jul 17 08:16:15 hravnkelsmacbookpro systemd[1]: NetworkManager-dispatcher.service:
jul 17 08:21:09 hravnkelsmacbookpro systemd-timesyncd[538]: Contacted time server:

As you can see there’s a five minute wait before systemd-timesyncd is able to reach the server.

Anyone know of a way to continue with the boot and keep the timesync trying until it succeeds without stalling the entire process? Or should I approach this different?

I get the same problem no matter if I’m connected via ethernet or wifi.

This issue is discussed on github:

5 Likes

Ah, thank you for that link! That was indeed helpful for further investigation.

Alas - it seems like the problem was, as the thread implies, not truly related to systemd-timesyncd as I’ve tried to (first) replace it with NTP and then (second) disable all realtime clock synchronization and the error just moved.

It however is certainly related to network in some way, now I have a five minute wait before spa_supplicant[814]: wlan0: SME: Trying to authenticate with […my WiFi router…]

I will have to investigate further. Thank you for the link, helped me get a bit further.

5 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.