Linux 101: Troubleshooring Systemctl - System degraded - NetworkManager-wait-online.service
Displaying the system state:
To display the system state, we use the below command:
We can also usethe command "systemd-analyze" to see how long it took the system to boot:
We can even investigate deeper by running the below command:
We see that the "NetworkManager-wait-online.service" waits around thirty seconds before failing.
The "NetworkManager-wait-online.service" service:
NetworkManager-wait-online.service waits for NetworkManager to set up the system connections or it waits thirty second before timing out.
It waits, so the rest of the services can have a connection to the outside to be able to communicate with the network drives or to communicate with a database for example.
Disabling the "NetworkManager-wait-online.service" service:
To avoid the degraded state, we could disable the service it doesn't start at boot time: