So far using the following, it seems to work for all services but
NetworkManager, which still fails.
# /lib/recovery-mode/options/network
------------
if [ -d /run/systemd/system ]; then
for i in dbus.socket systemd-resolved.service networking.service
systemd-networkd.service NetworkManager.service; do
- systemctl is-enabled -q $i && systemctl start $i
+ IS_ENABLED=$(systemctl is-enabled $i)
+ if [ "$IS_ENABLED" != "disabled" ];then
+ systemctl start --job-mode=ignore-dependencies --no-ask-password $i
+ fi
done
/lib/systemd/systemd-networkd-wait-online && exit 0
fi
------------
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1766872
Title:
'Enable Network' in recovery mode not working in Bionic
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/friendly-recovery/+bug/1766872/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs