I generally disable the NetworkManager-wait-online.service on all of my machines…
It only makes the boot process longer. If you deactivate it, your system wont wait for the network to be up before it boots into graphical mode. Disabling the service has generally no side effects (but can be reverted “if”). Your network will be up nevertheless when you reached the graphical target…
In the end I went with @hui suggestion of disabling this service. My boot time is now very fast again (seems faster maybe ) and there’s no apparent detriment to connectivity.
Thanks for posting this. After a recent dup I found booting to be quite slow. Googling revealed a lot of waving of magic chicken feet for similar NetworkManager related symptoms. Turning off NetworkManager-wait-online.service is what did the trick for my desktop.
In my situation, a desktop with no NFS/SMB mounts, I don’t see the service as necessary, so I’ll probably leave it masked off permanently. What I did (as root/sudo):
systemctl mask NetworkManager-wait-online.service
Back to 6 second boots. No noticeable issues with graphical logins or networking.
@mchnz Because you have a desktop PC, which most likely needs no network “management” being in the same place on the same net all the time, you have another option: remove both NetworkManager and Wicked. Install systemd-network. Enable systemd-networkd.socket. Configure your NIC in /etc/systemd/network/. Purge or disable everything to do with resolv.conf so that you can create a static resolv.conf. That’s all it takes. You may simply forget about any need to “manage” your network (or using YaST for that purpose - it doesn’t know about systemd-network yet).
Thanks. I did briefly try systemd-network a few years back when I was attempting to speed up booting. The change didn’t seem substantially faster to boot, so I figured I’d stay more Tumbleweed mainstream and returned to NetworkManager. It’s nice to be spoilt for choice, back then I had a play with all three.
As well as Ethernet, my desktop also has Wi-Fi, which I can use as a fallback and as a way to talk to my camera. I do quite like the little KDE Networks tray tool which I presume works with NetworkManager.
Now that boot times are back in the 6 second ballpark, I’m happy to leave it as is.