wpa_supplicant service fails to autostart on Fedora 8

Bryan Kadzban bryan
Mon Dec 31 05:35:48 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Robert Allerstorfer wrote:
> The autostart failure seems to be related to wpa_supplicant's -u
> option (enable DBus control interface).

Do you need that interface?  If not, remove that option; that's probably
the simplest solution.

> lrwxrwxrwx 1 root root 24 2007-12-31 03:48 S12wpa_supplicant -> ../init.d/wpa_supplicant
> <...>
> lrwxrwxrwx 1 root root 17 2007-12-29 23:20 S13rpcbind -> ../init.d/rpcbind
> lrwxrwxrwx 1 root root 17 2007-12-29 23:39 S14nfslock -> ../init.d/nfslock
> <...>
> lrwxrwxrwx 1 root root 19 2007-12-29 23:39 S18rpcidmapd -> ../init.d/rpcidmapd
> lrwxrwxrwx 1 root root 17 2007-12-29 23:39 S19rpcgssd -> ../init.d/rpcgssd
> lrwxrwxrwx 1 root root 15 2007-12-29 23:28 S25netfs -> ../init.d/netfs

OK, it needs to be before most of these (or at least netfs), because
netfs depends on the network if you have any remote filesystems in
/etc/fstab.

> lrwxrwxrwx 1 root root 15 2007-12-29 23:44 S25pcscd -> ../init.d/pcscd

However, it probably needs to be after this if you use any smartcard
stuff in your configuration, and:

> lrwxrwxrwx 1 root root 17 2007-12-29 12:35 S26rsyslog -> ../init.d/rsyslog

it does need to be after this if you tell it to log its output to
syslog, and:

> lrwxrwxrwx 1 root root 20 2007-12-29 12:35 S27messagebus -> ../init.d/messagebus

it does need to be after this if it uses D-Bus.

> Should this order be tweaked for wpa_supplicant to start successfully?

Yes, or the wpa_supplicant configuration needs to be changed.  There is
no way with the Fedora bootscripts to have a remote filesystem on a
wpa_supplicant network if wpa_supplicant requires D-Bus, smart-card, or
syslog support (I'd consider that a bug in Fedora, but you can't easily
fix it).  If you don't need networked FSes, then you'll still need
pcscd, rsyslog, and messagebus, so put it somewhere around S30.

(Or S99, since haldaemon is starting at S98, and D-Bus is required for
HAL too.  But that's drastic...)

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHePAzS5vET1Wea5wRAyevAJ4iVlRoUp6Kgro52LouudBWs6OLzgCgxIXu
Z/Jbg3YGLaCUIDbPVSOYX9s=
=OI0t
-----END PGP SIGNATURE-----




More information about the Hostap mailing list