Skip to content

Conversation

@bluca
Copy link
Member

@bluca bluca commented Sep 26, 2025

In the desktop profile network-manager manages all interfaces,
and networkd manages none, so systemd-networkd-wait-online.service
will timeout and fail as no interfaces are available for networkd,
breaking units waiting for network-online.target.
Add a higher priority preset for the desktop profile and disable
networkd by default.

This gets pulled in by systemd-networkd.service and we
don't want it for the desktop case, so remove it
Turns out presetting this to disable is impossible, and it keeps
coming back like a zombie. Even after removing all presets (from
particleos, mkosi and systemd repos, yes all 3 of them preset it to
enabled), it is still enabled by default. Mask it until it is
fixed to cohabitate with NetworkManager-wait-online.
@cvlc12
Copy link
Contributor

cvlc12 commented Nov 1, 2025

Hmm is this necessary ? On my system, everything seems to behave well:

[root@archlinux]# systemctl status systemd-networkd-wait-online.service 
○ systemd-networkd-wait-online.service - Wait for Network to be Configured
     Loaded: loaded (/usr/lib/systemd/system/systemd-networkd-wait-online.service; enabled; preset: enabled)
     Active: inactive (dead)
       Docs: man:systemd-networkd-wait-online.service(8)

[root@archlinux]# networkctl 
IDX LINK        TYPE     OPERATIONAL SETUP    
  1 lo          loopback carrier     unmanaged
  2 enp0s20f0u1 ether    routable    unmanaged
  3 wlo1        wlan     routable    unmanaged

3 links listed.

[root@archlinux]# systemctl status NetworkManager-wait-online
○ NetworkManager-wait-online.service - Network Manager Wait Online
     Loaded: loaded (/usr/lib/systemd/system/NetworkManager-wait-online.service; enabled; preset: enabled)
     Active: inactive (dead)
       Docs: man:NetworkManager-wait-online.service(8)

This is using Arch and the desktop profile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants