<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - systemd-networkd-wait-online.service only hits target when specific network configured"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=89352">89352</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>systemd-networkd-wait-online.service only hits target when specific network configured
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>systemd
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hendry@iki.fi
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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:
<a href="http://s.natalian.org/2015-02-27/1425007160_1152x740.png">http://s.natalian.org/2015-02-27/1425007160_1152x740.png</a>

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 <a href="http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/">http://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/</a> 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.
<a href="http://ix.io/gAl">http://ix.io/gAl</a></pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>