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...
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
Depends on:
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:


Note You need to log in before you can comment on or make changes to this bug.
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

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:

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.
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.