Today I randomly wanted to improve boot time for my Librem 5. So I checked via system-analyze
for services that would delay the boot process. I noticed that NetworkManager and systemd-networkd were both enabled and both were waiting for network communication to succeed.
Is this correct or has this been added sometime in development for debugging? Because systemd-networkd-wait-online
was listed as potentially running for two minutes. So I naturally disabled that. NetworkManager was still enabled anyway and it was making sure everything functions. I checked whether my changes caused any issue so far. But modem seems to work fine, WiFi as well. So why is systemd-networkd even enabled?
Maybe anyone here knows because I couldn’t find any strong information on this yet. But online I found that you could (without issue) disable systemd-networkd
as a whole to disable the waiting service as well while NetworkManager was utilized. Also my intuition tells me there shouldn’t be two network manager running if one alone covers all needs.