[Bug 404883] New: /etc/init.d/network stop does not stop wpa_supplicant
https://bugzilla.novell.com/show_bug.cgi?id=404883 Summary: /etc/init.d/network stop does not stop wpa_supplicant Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: pbaudis@novell.com QAContact: qa@suse.de Found By: --- While /etc/init.d/network stop kills NetworkManager, it does not stop wpa_supplicant, which then keeps aggressively resetting wifi encryption configuration. This is rather troublesome, given how broken networkmanager is in 11.0. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404883 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |mt@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404883 User mt@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=404883#c1 Marius Tomaschewski <mt@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|mt@novell.com |tambet@novell.com --- Comment #1 from Marius Tomaschewski <mt@novell.com> 2008-09-23 04:13:11 MDT --- When I understand it correctly, the wpa_supplicant was started by networkmanager, right? Then the network manager has to kill it when it gets stopped/killed. Reassigning to the NetworkManager maintainer. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404883 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=404883#c2 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |hschaa@novell.com --- Comment #2 from Tambet Ingo <tambet@novell.com> 2008-09-23 05:27:09 MDT --- wpa_supplicant is a DBus activated service, NM does not start it (directly). So NM should not kill it either. NM removes all the supplicant configuration when it shuts down, so I'd be _really_ surprised if it still changes the wifi device properties on it's own. Helmut, can you confirm that? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404883 User hschaa@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=404883#c3 Helmut Schaa <hschaa@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hschaa@novell.com --- Comment #3 from Helmut Schaa <hschaa@novell.com> 2008-09-23 06:20:37 MDT --- (In reply to comment #2 from Tambet Ingo)
wpa_supplicant is a DBus activated service, NM does not start it (directly). So NM should not kill it either.
Agreed.
NM removes all the supplicant configuration when it shuts down, so I'd be _really_ surprised if it still changes the wifi device properties on it's own.
Just tried to reproduce the issue. Either NM does not remove the interface from the supplicant or the supplicant ignores the call :) Tambet, does NM remove the interface from wpa_supplicant? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404883 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=404883#c4 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|hschaa@novell.com | --- Comment #4 from Tambet Ingo <tambet@novell.com> 2008-09-23 07:06:57 MDT --- It should. However, there seems to be some reference counting issues so it always doesn't. When I'm sure it's called, I'll ask again. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404883 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=404883#c5 --- Comment #5 from Tambet Ingo <tambet@novell.com> 2008-09-24 01:32:45 MDT --- Figured it out, will be in the next code submission. The long story (in case anyone cares): When NM shuts down, it tries to do the right thing and clean up the wpa_supplicant state by disconnecting and removing the network it added. The removal of the device interface added to wpa_supplicant is done when the NMSupplicantInterface object is disposed. So on shutdown, NM schedules calls to "removeNetwork" and "disconnect" and while doing so, increments the reference count while the calls are pending. Unfortunately, the daemon exits before the responses to these two calls arrive, causing NM to never send "removeInterface". -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404883 JP Rosevear <jpr@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P2 - High -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404883 User jpr@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=404883#c6 --- Comment #6 from JP Rosevear <jpr@novell.com> 2008-10-07 12:55:13 MDT --- Tambet, I think you have submitted this now? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=404883 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=404883#c7 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #7 from Tambet Ingo <tambet@novell.com> 2008-10-08 00:42:31 MDT --- Yes, even the RPM changelog mentions it, closing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com