After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 743701 - NM oblivious to wpa_supplicant's INTERFACE_DISABLED state
NM oblivious to wpa_supplicant's INTERFACE_DISABLED state
Status: RESOLVED OBSOLETE
Product: NetworkManager
Classification: Platform
Component: Wi-Fi
unspecified
Other Linux
: Normal normal
: ---
Assigned To: NetworkManager maintainer(s)
NetworkManager maintainer(s)
Depends on: 744598
Blocks:
 
 
Reported: 2015-01-29 15:40 UTC by Dan Williams
Modified: 2020-11-12 14:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dan Williams 2015-01-29 15:40:38 UTC
The supplicant changes the interface object's state to INTERFACE_DISABLED when one of two things occurs:

1) the netdev goes !IFF_UP - this is a problem and means that we cannot just move the NMDeviceWiFi to UNAVAILABLE when we get INTERFACE_DISABLED, since it happens when changing the MAC address or for other normal reasons

2) some external process tells the supplicant to forget the interface - like if you run ConnMan or something else alongside NM

Since we can't directly use the DISABLED state but still should correctly handle #2, thankfully we can use the InterfaceRemoved signal on the main wpa_supplicant dbus interface.  Obviously when we get that signal we should move the NMDeviceWiFi to UNAVAILABLE since something else is touching wifi.

I'll work on this, it's not an urgent problem, but instead of just fixing it one-off I'm going to try converting the whole supplicant manager over to GDBus and fix it that way.
Comment 1 Thomas Haller 2015-01-29 16:44:21 UTC
if the quick-hack-solution would be simple and correct, it would be useful for easy backporting to nm-1-0 (instead of backporting a major refactoring)...
Comment 2 Dan Williams 2015-02-17 18:54:31 UTC
See bug 744598 for the supplicant GDBus stuff.
Comment 3 André Klapper 2020-11-12 14:33:53 UTC
bugzilla.gnome.org is being shut down in favor of a GitLab instance. 
We are closing all old bug reports and feature requests in GNOME Bugzilla which have not seen updates for a long time.

If you still use NetworkManager and if you still see this bug / want this feature in a recent and supported version of NetworkManager, then please feel free to report it at https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/

Thank you for creating this report and we are sorry it could not be implemented (workforce and time is unfortunately limited).