FS#31462 - [wpa_supplicant] Dependency on non-existent device in systemd config
Attached to Project:
Arch Linux
Opened by Matt Corallo (BlueMatt) - Saturday, 08 September 2012, 00:54 GMT
Last edited by Thomas Bächler (brain0) - Saturday, 13 October 2012, 20:48 GMT
Opened by Matt Corallo (BlueMatt) - Saturday, 08 September 2012, 00:54 GMT
Last edited by Thomas Bächler (brain0) - Saturday, 13 October 2012, 20:48 GMT
|
Details
The wpa_supplicant@.service has the following lines:
Requires=sys-subsystem-net-devices-%i.device After=sys-subsystem-net-devices-%i.device However, the /sys/subsystem stuff isn't enabled in mainline kernels (or the arch binary kernels) so that service can never start. I believe this is probably the issue #31147 was trying to debug. |
This task depends upon
Closed by Thomas Bächler (brain0)
Saturday, 13 October 2012, 20:48 GMT
Reason for closing: Upstream
Additional comments about closing: Will be fixed in systemd at some point.
Saturday, 13 October 2012, 20:48 GMT
Reason for closing: Upstream
Additional comments about closing: Will be fixed in systemd at some point.
I was also under the impression that Requires= on a device made no sense.
# We need a hardware independent way to identify network devices. We
# use the /sys/subsystem path for this. Current vanilla kernels don't
# actually support that hierarchy right now, however upcoming kernels
# will. HAL and udev internally support /sys/subsystem already, hence
# it should be safe to use this here, too. This is mostly just an
# identification string for systemd, so whether the path actually is
# accessible or not does not matter as long as it is unique and in the
# filesystem namespace.
#
# http://cgit.freedesktop.org/systemd/systemd/tree/src/libudev/libudev-enumerate.c#n922