CentOS 8.x Prevent a start job is running for Network Manager wait online related boot delay

From Notes_Wiki
Revision as of 16:00, 19 June 2021 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb self="Prevent a start job is running for Network Manager wait online related boot delay">CentOS 8.x Network configuration|Network configuration</yambe:breadc...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb self="Prevent a start job is running for Network Manager wait online related boot delay">CentOS 8.x Network configuration|Network configuration</yambe:breadcrumb>

CentOS 8.x Prevent a start job is running for Network Manager wait online related boot delay

On boot it is possible for system to wait up to a minute with message:

A start job is running for Network Manager wait online

This is not nice especially if you have Laptop with SSD and NetworkManager is waiting for Ethernet connection to come up, even when you are not connected to Wired network.

This delay is caused by service "NetworkManager-wait-online". This is created so that if any service depends upon network to be up and running before it is started, it can depend upon this target.

However, we can safely disable it on most systems to avoid boot delays when network is not available by:

systemctl disable NetworkManager-wait-online

Note that network would still automatically come up and NetworkManager would still function normally. We are only disabling waiting for it during system boot.


Refer: