Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25476 - [netcfg 2.6.6-1] Wrong parse /etc/wpa_supplicant.conf - don't run wireless

Attached to Project: Arch Linux
Opened by Big Fox (archipatelin) - Tuesday, 09 August 2011, 11:08 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Saturday, 13 August 2011, 16:04 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Script '/usr/lib/network/connections/wireless' from [netcfg 2.6.6-1] package is an error during parse of WPA configure ('/etc/wpa_supplicant.conf').

Namely on line 33 and 34 of script (wireless) are wrong 'grep' pattern:

grep "ctrl_interface=" "$WPA_CONF" ...

this don't respect comment line (#).

My replacement is:
grep "^[[:space:]]*ctrl_interface=" "$WPA_CONF" ...

This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Saturday, 13 August 2011, 16:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  in 2.6.7
Comment by Big Fox (archipatelin) - Tuesday, 09 August 2011, 12:43 GMT
Should be written on line 29 (wireless script) 'WPA_CTRL_PATH=/var/run/wpa_supplicant',
instead WPA_CTRL_PATH=/run/wpa_supplicant' ?



Loading...