Bug 89352

Summary: systemd-networkd-wait-online.service only hits target when specific network configured
Product: systemd Reporter: Kai Hendry <hendry>
Component: generalAssignee: systemd-bugs
Status: RESOLVED FIXED QA Contact: systemd-bugs
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Kai Hendry 2015-02-27 03:29:10 UTC
On my Archlinux rpi2 machine with systemd 218-2, I had something like

cat /etc/systemd/network/any.network
[Network]
DHCP=yes

I like the flexibility because I may move between eth0 & wlan0.


But that doesn't hit the network-online.target since IIUC since other devices are in the configuring state:
http://s.natalian.org/2015-02-27/1425007160_1152x740.png

What I expected to happen is that given any routable network interface, network-online.target gets hit by systemd-networkd-wait-online.service since the network *is* online.

Or http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ should be updated to make this expressly clear. The workaround is to explicitly name wlan0 and lose the flexibility of plugging in a ethernet cable alternatively IIUC.
http://ix.io/gAl
Comment 1 Yu Watanabe 2019-08-19 13:19:39 UTC
Please use --any option.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.