<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 - Ordering of .link files is inverted"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=85440">85440</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Ordering of .link files is inverted
          </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>bernat@luffy.cx
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>systemd-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=108391" name="attach_108391" title="udev: fix ordering of .link files">attachment 108391</a> <a href="attachment.cgi?id=108391&action=edit" title="udev: fix ordering of .link files">[details]</a></span>
udev: fix ordering of .link files

Hi!

Whatever I put in /etc/systemd/network, udev is still only using
/lib/systemd/network/99-default.link. I am using systemd-215 from Debian but
this is still true for the one in git. See:

$ udevadm test-builtin net_setup_link /sys/class/net/lan
calling: test-builtin
load module index
timestamp of '/etc/systemd/network' changed
timestamp of '/lib/systemd/network' changed
Parsed configuration file /etc/systemd/network/wlan.link
Parsed configuration file /etc/systemd/network/lan.link
Parsed configuration file /lib/systemd/network/99-default.link
Created link configuration context.
ID_NET_DRIVER=e1000e
Config file /lib/systemd/network/99-default.link applies to device lan
ID_NET_NAME=eno1
unload module index
Unloaded link configuration context.

My lan.link should match. When I apply the attached patch, the issue is fixed.</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>