Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 291999

Summary: net-wireless/wpa_supplicant-0.6.9 wpa_supplicant.conf location error
Product: Gentoo Linux Reporter: John Plesmid <ples349>
Component: Current packagesAssignee: Bjarke Istrup Pedersen (RETIRED) <gurligebis>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: alexxy
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Emerge --info

Description John Plesmid 2009-11-05 17:20:08 UTC
If I install net-wireless/wpa_supplicant-0.6.9 the emerge tells me:
" * If this is a clean installation of wpa_supplicant, you
 * have to create a configuration file named
 * /etc/wpa_supplicant/wpa_supplicant.conf
 *
 * An example configuration file is available for reference in
 * /usr/share/doc/wpa_supplicant-0.6.9/

 * WARNING: your old configuration file /etc/wpa_supplicant.conf
 * needs to be moved to /etc/wpa_supplicant/wpa_supplicant.conf
>>> Auto-cleaning packages..."

If I comply with the WARNING: and move /etc/wpa_supplicant.conf to /etc/wpa_supplicant/wpa_supplicant.conf, I get the following errors messages:
zippy ~ # mv /etc/wpa_supplicant.conf /etc/wpa_supplicant/
zippy ~ # /etc/init.d/wpa-supplicant restart
* Stopping WPA Supplicant Daemon...                                                                                                                                   [ ok ]
* Starting WPA Supplicant Daemon...
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
* start-stop-daemon: failed to start `/usr/sbin/wpa_supplicant'
* Failed to start wpa-supplicant                                                                                                                                      [ !! ]
* ERROR: wpa-supplicant failed to start




Reproducible: Always

Steps to Reproduce:
1. emerge =net-wireless/wpa_supplicant-0.6.9
2. Comply with the WARNING message
3. Restart (or start) /etc/init.d/wpa-supplicant

Actual Results:  
zippy ~ # /etc/init.d/wpa-supplicant restart
* Stopping WPA Supplicant Daemon...                                                                                                                                   [ ok ]
* Starting WPA Supplicant Daemon...
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
* start-stop-daemon: failed to start `/usr/sbin/wpa_supplicant'
* Failed to start wpa-supplicant                                                                                                                                      [ !! ]
* ERROR: wpa-supplicant failed to start

Expected Results:  
/etc/init.d/wpa-supplicant should read its configuration file in the new location.
Comment 1 John Plesmid 2009-11-05 17:26:20 UTC
Created attachment 209351 [details]
Emerge --info
Comment 2 Pacho Ramos gentoo-dev 2012-11-18 12:54:20 UTC
What is the status of this with latest versions? Looks fixed in my system...