Bug#375599: [pkg-wpa-devel] Bug#375599: wpasupplicant: ifupdown.sh loses config file reference if it doesn't define ctrl_interface

Kel Modderman kelrin at tpg.com.au
Tue Jun 27 06:41:30 UTC 2006


Jason Lunz wrote:
> Package: wpasupplicant
> Version: 0.5.3+20060522-3
> Severity: minor
> Tags: patch
>
>
> When wpa-conf (or wpa-roam) is used in /etc/network/interfaces, a call
> to sed scans the given config file for the ctrl_interface. If it isn't
> found, the WPA_SUP_CONF variable is overridden, dropping the
> previously-set reference to the config file passed from /e/n/i.
>
> The patch below fixes the use of "wpa-roam
> /etc/my_wpa_supplicant.conf" when the config omits ctrl_interface.
>
>   

Hi Jason,

I believe this was found and fixed a day or so ago as I was preparing 
the new upstream release, 0.5.4. I simply removed the override, and used 
a custom ctrl_interface path only when explicitly set in the 
wpa_supplicant.conf, otherwise defaulting to /var/run/wpa_supplicant.

A snapshot of the package is located at the following location if you 
would like to compile and verify it yourself:

http://users.tpg.com.au/sigm/misc/pkg-wpa/

Thanks, Kel.




More information about the Pkg-wpa-devel mailing list