Bug 444554 - wpa_supplicant does not start at boot (VERY ANNOYING BUG)
Summary: wpa_supplicant does not start at boot (VERY ANNOYING BUG)
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: wpa_supplicant
Version: rawhide
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-29 02:50 UTC by Răzvan Sandu
Modified: 2008-05-04 16:22 UTC (History)
0 users

(edit)
Clone Of:
(edit)
Last Closed: 2008-05-04 16:22:38 UTC


Attachments (Terms of Use)
audit.log (2.07 MB, application/octet-stream)
2008-05-02 15:30 UTC, Răzvan Sandu
no flags Details

Description Răzvan Sandu 2008-04-29 02:50:58 UTC
Description of problem:

wpa_supplicant does not start at boot, writting FAILED in red during system
initialization and throwing a message about a missing file (wpa_ctrl_open)

However, wpa_supplicant *does* start if it's restarted manually after system
initialization.

Version-Release number of selected component (if applicable):
wpa_supplicant-0.6.3-5.fc9.x86_64


How reproducible:
Always.

Steps to Reproduce:
1. Install fresh copy of Fedora 8 or later (unstable).
2. Perform all available online updates.
3. Mark wpa_supplicant in ntsysv to be started at boot.
3. Start the system and watch initialization.
  
Actual results:
wpa_supplicant does not start during boot

Expected results:
wpa_supplicant should start normally

Additional info:
Hardware is a Dell Inspiron 1520, please see smolt profile here:
http://www.smolts.org/client/show/pub_9d69eb22-c7a0-44ea-9e54-a49aa186b94c

Comment 1 Dan Williams 2008-05-01 10:42:55 UTC
Are you running with SELinux enabled at all?  What's the output of:

/usr/sbin/getenforce

Also, what's your wifi configuration?  WPA? WEP? Open?

Comment 2 Răzvan Sandu 2008-05-01 11:34:22 UTC
Hello,

/usr/sbin/getenforce
Enforcing

Wi-fi configuration is WPA2 with (an alphanumeric) preshared key/password.
IP address should be given by DHCP (a Fedora DHCP server put on the same
Ethernet segment as the WAP).

The WAP is a D-Link DWL-G700AP, B/G standard - works flawlessly after conection.

Regards,
Răzvan


Comment 3 Dan Williams 2008-05-01 14:14:52 UTC
After boot, what's the output of "ps aux | grep wpa_supplicant" ?  This may be
an SELinux issue, in that wlassistant doesn't have the right rules for SELinux.


Comment 4 Răzvan Sandu 2008-05-01 14:55:14 UTC
Here it is:



 4912 ?        Ss     0:00 wpa_supplicant -c /etc/wpa_supplic
/wpa_supplicant.conf -B -u -dddt -f /var/log/wpa_supplicant.log


Regards,
Răzvan

Comment 5 Dan Williams 2008-05-01 16:36:54 UTC
What's the contents of /var/log/audit/audit.log ?  You'll need to be root to
access that file.

Comment 6 Răzvan Sandu 2008-05-02 15:30:14 UTC
Created attachment 304394 [details]
audit.log

Here's the audit.log file, as requested.

Comment 7 Răzvan Sandu 2008-05-04 16:22:38 UTC
Seems to be corrected - now wpa_supplicant starts at boot.


wpa_supplicant-0.6.3-5.fc9.x86_64

Closing...




Note You need to log in before you can comment on or make changes to this bug.