On Tue, 12.07.11 17:15, Alexander E. Patrakov ([email protected]) wrote:

> > > > And finally, how do you guarantee the correct ordering - i.e. that 
> > > > wpa_supplicant should not start before the interface appears?
> > > 
> > > Ah, right. Is "After=sys-devices-*-net-%I.device" possible and
> > > sufficient? systemd.unit(5) doesn't say anything about globbing.
> 
> I suppose there is no need to apply globs, because of the following udev
> rule that exists in 99-systemd.rules:
> 
> SUBSYSTEM=="net", KERNEL!="lo", TAG+="systemd",
> ENV{SYSTEMD_ALIAS}="/sys/subsystem/net/devices/%k"

I don't think SYSTEMD_ALIAS should really be used by anybody but systemd
upstream really. This udev line exists primarily to ensure we stay
compatible with with future kernels which will replace /sys/bus by
/sys/subsystem.

You are welcome to use SYSTEMD_WANTS however. See systemd.device(5) for
more information.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to