FS#29963 - [netcfg] kill wpa_supplicant twice

Attached to Project: Arch Linux
Opened by taylorchu (taylorchu) - Monday, 21 May 2012, 05:06 GMT
Last edited by Jouke Witteveen (jouke) - Thursday, 05 July 2012, 15:37 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Thomas Bächler (brain0)
Jouke Witteveen (jouke)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
when I reboot or shutdown, netcfg_actiond shows an error.

Additional info:
* https://projects.archlinux.org/netcfg.git/tree/scripts/netcfg-wpa_actiond#n22
* remove that line; I think wpa_supplicant is already killed in stop_wpa <iface> function


Steps to reproduce:
use wpa_actiond
This task depends upon

Closed by  Jouke Witteveen (jouke)
Thursday, 05 July 2012, 15:37 GMT
Reason for closing:  Fixed
Additional comments about closing:  046f9
Comment by Jouke Witteveen (jouke) - Monday, 21 May 2012, 13:00 GMT
By reading the source it looks like wpa_actiond kills itself when the supplicant is terminated. I hope the error you get is about a missing .pid file? If that is the case, I'll just add a file-check to that line. Otherwise we might just as well do away with the .pid file for wpa_actiond in total...
Comment by Thomas Bächler (brain0) - Thursday, 05 July 2012, 11:41 GMT
> By reading the source it looks like wpa_actiond kills itself when the supplicant is terminated.

It should. But old versions of wpa_supplicant never sent the appropriate command (WPA_EVENT_TERMINATING), so this never worked. I don't know whether this is fixed now.

Loading...