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 with 1 vote (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-07-03 23:46 UTC by Esteve Varela Colominas
Modified: 2024-03-03 22:15 UTC (History)
4 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?
Comment 1 Maciej S. Szmigiero 2024-02-17 22:02:25 UTC
See also comments in Bug 591752.
Comment 2 Esteve Varela Colominas 2024-02-17 22:46:01 UTC
Comment 1 in that thread is essentially my use case
https://bugs.gentoo.org/591752#c1

I'm surprised that this has been noted a few times for over 8 years now. Thanks for letting me know.