Summary: | net-wireless/wpa_supplicant - any reason why wpa_cli.sh never makes the network go inactive? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Esteve Varela Colominas <esteve.varela> |
Component: | Current packages | Assignee: | Rick Farina (Zero_Chaos) <zerochaos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esteve.varela, gentoo, mail, netifrc |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/35579 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Esteve Varela Colominas
2023-07-03 23:46:10 UTC
See also comments in Bug 591752. 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. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace10427ce3ffe912d349cd8aea32673ecd719d9 commit ace10427ce3ffe912d349cd8aea32673ecd719d9 Author: Matoro Mahri <matoro_gentoo@matoro.tk> AuthorDate: 2024-02-29 19:42:14 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-05-08 01:22:38 +0000 net-wireless/wpa_supplicant: call service stop on AP disconnect Lot of discussion in the primary ticket for this, but apparently multiple users report that previously connected wifi does not come up on resume from suspend. This is due to the original implementation wpa_cli.sh not stopping the service, which was to avoid taking the interface down, which would interfere with wpa_supplicant which needs the interface to be up. However, nowadays we set IN_BACKGROUND which takes care of preventing the interface from being taken down, so it's safe to stop the service. If the service isn't stopped, then trying to start the service on reconnection is a no-op (because the service is already started). Closes: https://bugs.gentoo.org/591752 Closes: https://bugs.gentoo.org/909574 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/35579 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-wireless/wpa_supplicant/files/wpa_cli-r1.sh | 44 ++ .../wpa_supplicant/wpa_supplicant-2.10-r5.ebuild | 477 +++++++++++++++++++++ .../wpa_supplicant/wpa_supplicant-9999.ebuild | 2 +- 3 files changed, 522 insertions(+), 1 deletion(-) Thanks! |