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

Bug 168093

Summary: please inform about the new location of the wpa_supplicant.conf
Product: Gentoo Linux Reporter: Jakob Dettner <jakobdettner>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jakob Dettner 2007-02-23 08:52:13 UTC
After updating wpa_supplicant from the last stable version to 0.5.7 my madwifi 
card didnt work. (/etc/init.d/ath0 start)
After 1/2h i figured out, that the /etc/wpa_supplicant.conf moved 
to /etc/wpa_supplicant/wpa_supplicant.conf and that the init script was using 
the new and empty config file. After moving my old config file to /etc/wpa_supplicant/ all was fine again.

In the irc many others had that same problem so maybe we could 
change the ebuild and inform about that change or move the file with etc-update if thats possible.

einfo "In ${PV} the location of the wpa_supplicant.conf changed 
from /etc/wpa_supllicant to /etc/wpa_supplicant/wpa_supplicant.conf"
einfo " Please update your config"
something like that?

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-02-23 09:01:05 UTC
No point in informing users if they plain ignore the messages anyway:

<snip>
if [[ -e ${ROOT}etc/wpa_supplicant.conf ]] ; then
	echo
	ewarn "WARNING: your old configuration file {ROOT}etc/wpa_supplicant.conf"
	ewarn "needs to be moved to ${ROOT}etc/wpa_supplicant/wpa_supplicant.conf"
fi
</snip>