Open e-minguez opened 2 years ago
Thanks for raising this issue. Do you mean the systemd-networkd-wait-online.service
in Armbian
is not enabled by default?
Thanks for raising this issue. Do you mean the
systemd-networkd-wait-online.service
inArmbian
is not enabled by default?
Correct.
Not very clear about the your use cases/concerns, is it because it is difficult to enable that wait
service in Armbian before provisioning k0s? After all, in most x64 linux distributions, the correspondent wait
service is enabled by default and we don't worry about it.
The point I'm trying to make is the k0scontroller service requieres the 'wait' service to be enabled hence the installer should either check it and warn the user if that's not the case or enable it.
The issue is marked as stale since no activity has been recorded in 30 days
The issue is marked as stale since no activity has been recorded in 30 days
Is your feature request related to a problem? Please describe. Using Armbian, neither
NetworkManager-wait-online.service
norsystemd-networkd-wait-online.service
, so even if the k0scontroller systemd unit has:It has no effect and the k0scontroller service fails to start. It works if manually perform a 'systemctl daemon-reload' and restart the k0scontroller service after the operating system completely boots.
Describe the solution you'd like Something that checks if NetworkManager or networkd is enabled, then check if the corresponding
wait-online
service is enabled and enable it otherwise.Describe alternatives you've considered Check the service and warn the user but not enable it.
Additional context https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/