Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909574 - net-wireless/wpa_supplicant - any reason why wpa_cli.sh never makes the network go inactive?
Summary: net-wireless/wpa_supplicant - any reason why wpa_cli.sh never makes the netwo...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-03 23:46 UTC by Esteve Varela Colominas
Modified: 2023-08-11 16:30 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Esteve Varela Colominas 2023-07-03 23:46:10 UTC
Currently, in /etc/wpa_supplicant/wpa_cli.sh, the following is mentioned:

    # Deactivated, since stopping /etc/init.d/net.wlanX
    # stops the network completly.
    EXEC="false ${EXEC} stop"

This causes several problems when switching between wifi networks, in that the SSID values and corresponding configuration never get updated after the first connection.

I removed the "false" command, and everything seems to work as normal, the network doesn't seem to be stopped completely, as I'm still able to use wpa_cli to connect to a new network, and the status of the connection in "rc-service" seems to update appropriately.

So, I'm wondering, is the comment above still valid? Under what circumstances does this break things?