Summary: | device alias doesn't work in BindTo/After | ||
---|---|---|---|
Product: | systemd | Reporter: | rodrigo <rodrigorivascosta> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED FIXED | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | d, Felix.Braun, freedesktop, rodrigorivascosta, tuxce.net, uhrmar, vmlinuz386 |
Version: | unspecified | ||
Hardware: | x86 (IA32) | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
rodrigo
2012-07-27 09:59:29 UTC
Yeah, this is definitely a bug -- it breaks ordering for DHCP clients and wpa_supplicant. The only workaround I know of at the moment is to explicitly load the module in /etc/modules-load.d to give the interface a better chance of existing when your unit runs. I reported this a while ago, as well: http://lists.freedesktop.org/archives/systemd-devel/2012-July/005847.html It's still valid in 189. This bug also affects me. In my case, it's a USB-to-Ethernet adaptor that gets different USB addresses assigned by the kernel (usb7-7\x2d3-7\x2d3:1.0 or usb3-3\x2d3-3\x2d3:1.0). Since I can't use the device alias, as a work-around, I have to rewrite my service file upon every second reboot. Fixing this bug would be greatly appreciated. Markus I've posted a patch on the systemd-devel list that should fix this problem: http://lists.freedesktop.org/archives/systemd-devel/2012-October/006872.html Thanks Eelco, I pulled your patch for inclusion in the next release. |
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.