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#25572 - [netcfg] patch for netcfg-wpa_actiond to prevent errors (net-auto-wireless does not stop correctly)

Attached to Project: Arch Linux
Opened by Leo von Klenze (lepokle) - Sunday, 14 August 2011, 12:20 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Sunday, 14 August 2011, 12:42 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Calling "/etc/rc.d/net-autowireless stop" does not stop correctly because netcfg-wpa_actiond returns an error code not equal to zero:

- the kill line is superfluous because the "kill" command is already done in "stop_wpa" (/usr/lib/network/8021x). This "stop_wpa" function already removes the pid file. Since there is no check if the pid file still exists, kill throws an error
- I have set the RFKILL variable to "hard" for my interface because I have a hard switch :-) Unfortuneatly /usr/lib/network/rfkill returns error code 1 if this variable is set to "hard". I suggest to not calling rfkill for hard switche becaue it is not necessary

A suggested patch is attached.
Thank you!
This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Sunday, 14 August 2011, 12:42 GMT
Reason for closing:  Duplicate
Comment by Rémy Oudompheng (remyoudompheng) - Sunday, 14 August 2011, 12:26 GMT
The second issue is a duplicate of  FS#25514 .
Comment by Rémy Oudompheng (remyoudompheng) - Sunday, 14 August 2011, 12:41 GMT
And the PID file is supposed to be the PID for wpa_actiond, which is not the PID of wpa_supplicant.

Loading...