Comment 29 for bug 34505

Revision history for this message
Roman Yepishev (rye) wrote :

As a workaround, I commented out

ACTION=="add", RUN+="/sbin/start-stop-daemon --start --background --pidfile /var/run/network/bogus --startas /sbin/ifup -- --allow auto $env{INTERFACE}"

inside /etc/udev/rules.d/85-iupdown.rules.

It turns out that as soon as driver module gets loaded into the kernel, udev starts ifup which is not capable of bringing wpa_supplicant but still marks the interface as up (writing wlan0=wlan0 to the interfaces state list). During the boot sequence ifup is started again but won't do anything as the interface is already marked as "up".

Can it be fixed in some non-destructive way? i.e. prevent udef to start during the first module load but start afterwards...