ifupdown script fails to terminate wpasupplicant
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wpasupplicant (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: wpasupplicant
Hi,
I am using wpasupplicant in the roaming mode as described in README.modes.
Taking the interface up works (manual method as described).
But then, when taking down the interface, the script fails to terminate the wpasupplicant and the wpa_cli. Thus, after taking down the interface, those deamons keep running.
The next time the interface is taken up, the up script detects a running daemon and again does nothing, i.e. fails.
The reason might be that the script checks for the presence of a running wpa_cli in a very early stage and exits if one exist, even in the if-down phase.
When the script immediately terminates if a wpa_cli is running, it obviously does not terminate the daemon.
regards
please attach your /etc/network/ interfaces to this bug.
Do you happen to use 'wpa-roam'? in this case, use 'wpa_action $IFACE stop' to bring down your interface.