Merge lp:~slashd/friendly-recovery/lp1766872 into lp:~ubuntu-core-dev/friendly-recovery/ubuntu

Proposed by Eric Desrochers on 2018-05-02
Status: Needs review
Proposed branch: lp:~slashd/friendly-recovery/lp1766872
Merge into: lp:~ubuntu-core-dev/friendly-recovery/ubuntu
Diff against target: 12 lines (+1/-1)
1 file modified
lib/recovery-mode/options/network (+1/-1)
To merge this branch: bzr merge lp:~slashd/friendly-recovery/lp1766872
Reviewer Review Type Date Requested Status
Dimitri John Ledkov 2018-05-02 Pending
Review via email: mp+344975@code.launchpad.net

Commit message

ignore networking unit dependencies for systemctl operations to be executed immediately

To post a comment you must log in.

Unmerged revisions

154. By Eric Desrochers on 2018-05-02

ignore networking unit dependencies for systemctl operations to be executed immediately

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/recovery-mode/options/network'
2--- lib/recovery-mode/options/network 2018-03-29 13:38:24 +0000
3+++ lib/recovery-mode/options/network 2018-05-02 19:09:49 +0000
4@@ -22,7 +22,7 @@
5 # Try handling networking using systemd
6 if [ -d /run/systemd/system ]; then
7 for i in dbus.socket systemd-resolved.service networking.service systemd-networkd.service NetworkManager.service; do
8- systemctl is-enabled -q $i && systemctl start $i
9+ systemctl is-enabled -q $i && systemctl start --job-mode=ignore-dependencies $i
10 done
11 /lib/systemd/systemd-networkd-wait-online && exit 0
12 fi

Subscribers

People subscribed via source and target branches