You are not logged in.
So `systemd-networkd-wait-online.service` says in `man`... after going through several pages... that basically it tries to load "known links" and will wait until all known links come up (I'm assuming meaning until interfaces are "online" whatever that means).
That service is holding up my boot indefinitely, I had to add a timeout to the service file in a recovery mode, thinking of adding the `--any` flag to get it finish.
Also don't know why this problems started.
Logs give me absolutely no information. Maybe I should check logs for different service file. Any thoughts?
Offline
systemctl status systemd-networkd-wait-online
how have you configured your network ? what config files do you have in '/etc/systemd/network' ? does the network actually work ?
Offline
Yeah the networks configured, the service just hangs until eventually I just time it out.
I was always hibernating the system so I never booted, have no idea why this change occured.
Is `/etc/systemd/network` where the active links are? It's empty.
```$ networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 wlo1 wlan routable unmanaged
3 virbr0 bridge no-carrier unmanaged
4 docker0 bridge no-carrier unmanaged
```
Last edited by ajpikul (2023-10-21 01:31:57)
Offline
Yeah the networks configured
how have you configured your network ?
your clearly not using systemd-networkd to manage your network, so why do you have 'systemd-networkd-wait-online.service' enabled ?
EDIT: also why do you even have systemd-networkd enabled if you arent using it ?
Last edited by jonno2002 (2023-10-21 02:07:22)
Offline
you're right, and i realized that just now.
i just find the whole ecosystem a bit confusing tbh.
still curious why it functioned without error for so long.
shouldn't the service quit succesfully as long as all the links are online. (there are no links, nothing is online, should it exit correctly?)
corner case! who cares! thank you!
Offline
i just tried it on a machine using network-manager:
systemctl enable systemd-networkd systemd-networkd-wait-online
reboot
machine booted fine, systemd-networkd-wait-online failed silently in the background, so i guess it requires systemd-networkd to be configured and managing interfaces for it to suceed.
so pretty much:
systemctl disable systemd-networkd systemd-networkd-wait-online
and use whatever else your using which is obviously working.
Offline
That service is holding up my boot indefinitely, I had to add a timeout to the service file in a recovery mode, thinking of adding the `--any` flag to get it finish.
Logs give me absolutely no information.
Please post the outputs of
find /etc/systemd -type l -exec test -f {} \; -print | awk -F'/' '{ printf ("%-40s | %s\n", $(NF-0), $(NF-1)) }' | sort -f
systemd-analyze critical-chain
And please use [code][/code] tags.
Also please post your complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.st
Offline