Bug 89352 - systemd-networkd-wait-online.service only hits target when specific network configured
Summary: systemd-networkd-wait-online.service only hits target when specific network c...
Status: RESOLVED FIXED
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: systemd-bugs
QA Contact: systemd-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-27 03:29 UTC by Kai Hendry
Modified: 2019-08-19 13:19 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.