[Bug 888606] New: NetworkManager crashes on connection cancellation
https://bugzilla.novell.com/show_bug.cgi?id=888606 https://bugzilla.novell.com/show_bug.cgi?id=888606#c0 Summary: NetworkManager crashes on connection cancellation Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: x86-64 OS/Version: openSUSE 13.1 Status: NEW Severity: Critical Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: srid@rkmail.ru QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Opera/9.80 (X11; Linux x86_64) Presto/2.12.388 Version/12.16 I have following setup: 1. openSUSE 13.1 x86_64 with KDE4 2. plasma-nm as a frontend to NM 3. a Zyxel home router with wifi 4. an openVPN tunnel configured in plasma-nm plasma-nm is configured to automatically connect to wifi if it present and automatically start VPN tunnel once we are connected to wifi. Everything works fine when wifi router has a connection with Internet, troubles come when Internet isn't available (like cable isn't plugged to router's WAN port): NM will try to connect, but it will fail to connect both wifi and vpn, and it will try to connect again infinite times. And once you try to cancel connection (either WiFi of VPN) NetworkManager will crash. Reproducible: Always Steps to Reproduce: 1. make a wifi connection in NM (connection A) 2. make a openvpn connection in NM (connection B) 3. configure plasma-nm to connect A automatically 4. configure plasma-nm to connect B after A is established 5. reconfigure your network so B's vpn host would be impossible to reach 6. try to connect to A 7. try to cancel either A or B Actual Results: NetworkManager will crash Expected Results: 1. NetworkManager should not crash 2. NM should not consider connection A as "failed" if it cannot establish B 3. systemd should try to restart NM if it crashed -- 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=888606 https://bugzilla.novell.com/show_bug.cgi?id=888606#c Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com Component|Network |GNOME AssignedTo|bnc-team-screening@forge.pr |bnc-team-gnome@forge.provo. |ovo.novell.com |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=888606 https://bugzilla.novell.com/show_bug.cgi?id=888606#c1 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |dimstar@opensuse.org InfoProvider| |srid@rkmail.ru --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> 2014-08-11 21:28:15 UTC --- Can you please provide a stack trace of the crashing task? Is NetworkManager crashing or plasma-nm? -- 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=888606 https://bugzilla.novell.com/show_bug.cgi?id=888606#c2 Iakov Karpov <srid@rkmail.ru> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|srid@rkmail.ru | --- Comment #2 from Iakov Karpov <srid@rkmail.ru> 2014-08-12 05:41:06 UTC --- NetworkManager is crashing, plasma-nm does not. Or maybe it's not actually crashing, and gets SIGTERM, or something like that, but process disappers, and systemd says that NetworkManager.service is in 'failed' state. Unfortunateley, I don't know how to get stack trace of NM, logfile and journalctl are clean. # cat /var/log/NetworkManager | tail -n 50 2014-08-12T09:26:32.345935+04:00 n-day1 NetworkManager[13093]: <info> Config: added 'key_mgmt' value 'WPA-PSK' 2014-08-12T09:26:32.346137+04:00 n-day1 NetworkManager[13093]: <info> Config: added 'psk' value '<omitted>' 2014-08-12T09:26:32.346380+04:00 n-day1 NetworkManager[13093]: <info> Activation (wlan0) Stage 2 of 5 (Device Configure) complete. 2014-08-12T09:26:32.346713+04:00 n-day1 NetworkManager[13093]: <info> Config: set interface ap_scan to 1 2014-08-12T09:26:32.364579+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): supplicant interface state: disconnected -> scanning 2014-08-12T09:26:33.387202+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): supplicant interface state: scanning -> authenticating 2014-08-12T09:26:33.394344+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): supplicant interface state: authenticating -> associating 2014-08-12T09:26:33.399757+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): supplicant interface state: associating -> associated 2014-08-12T09:26:33.918955+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): supplicant interface state: associated -> completed 2014-08-12T09:26:33.919364+04:00 n-day1 NetworkManager[13093]: <info> Activation (wlan0/wireless) Stage 2 of 5 (Device Configure) successful. Connected to wireless network 'Auditorium'. 2014-08-12T09:26:33.919629+04:00 n-day1 NetworkManager[13093]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) scheduled. 2014-08-12T09:26:33.919915+04:00 n-day1 NetworkManager[13093]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) started... 2014-08-12T09:26:33.920173+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): device state change: config -> ip-config (reason 'none') [50 70 0] 2014-08-12T09:26:33.923778+04:00 n-day1 NetworkManager[13093]: <info> Activation (wlan0) Beginning DHCPv4 transaction (timeout in 45 seconds) 2014-08-12T09:26:33.925345+04:00 n-day1 NetworkManager[13093]: <info> dhclient started with pid 21511 2014-08-12T09:26:33.929917+04:00 n-day1 NetworkManager[13093]: <info> Activation (wlan0) Beginning IP6 addrconf. 2014-08-12T09:26:33.931480+04:00 n-day1 NetworkManager[13093]: <info> Activation (wlan0) Stage 3 of 5 (IP Configure Start) complete. 2014-08-12T09:26:33.944110+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): DHCPv4 state changed nbi -> preinit 2014-08-12T09:26:50.583388+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): DHCPv4 state changed preinit -> bound 2014-08-12T09:26:50.583872+04:00 n-day1 NetworkManager[13093]: <info> address 192.168.15.98 2014-08-12T09:26:50.584230+04:00 n-day1 NetworkManager[13093]: <info> prefix 24 (255.255.255.0) 2014-08-12T09:26:50.584564+04:00 n-day1 NetworkManager[13093]: <info> gateway 192.168.15.254 2014-08-12T09:26:50.584905+04:00 n-day1 NetworkManager[13093]: <info> nameserver '192.168.15.254' 2014-08-12T09:26:50.589803+04:00 n-day1 NetworkManager[13093]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Configure Commit) scheduled... 2014-08-12T09:26:50.594345+04:00 n-day1 NetworkManager[13093]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Commit) started... 2014-08-12T09:26:51.602008+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): device state change: ip-config -> secondaries (reason 'none') [70 90 0] 2014-08-12T09:26:51.602566+04:00 n-day1 NetworkManager[13093]: <info> Policy set 'Auditorium' (wlan0) as default for IPv4 routing and DNS. 2014-08-12T09:26:51.604946+04:00 n-day1 NetworkManager[13093]: <info> Starting VPN service 'openvpn'... 2014-08-12T09:26:51.605848+04:00 n-day1 NetworkManager[13093]: <info> VPN service 'openvpn' started (org.freedesktop.NetworkManager.openvpn), PID 21516 2014-08-12T09:26:51.606251+04:00 n-day1 NetworkManager[13093]: <info> Activation (wlan0) Stage 5 of 5 (IPv4 Commit) complete. 2014-08-12T09:26:51.615063+04:00 n-day1 NetworkManager[13093]: <info> VPN service 'openvpn' appeared; activating connections 2014-08-12T09:26:51.617529+04:00 n-day1 NetworkManager[13093]: <info> VPN plugin state changed: init (1) 2014-08-12T09:26:51.622855+04:00 n-day1 NetworkManager[13093]: <info> VPN plugin state changed: starting (3) 2014-08-12T09:26:51.623802+04:00 n-day1 NetworkManager[13093]: <info> VPN connection 'DAY VPN' (Connect) reply received. 2014-08-12T09:26:51.626911+04:00 n-day1 nm-openvpn[21522]: OpenVPN 2.3.2 x86_64-suse-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on May 31 2013 2014-08-12T09:26:51.627394+04:00 n-day1 nm-openvpn[21522]: WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info. 2014-08-12T09:26:51.627779+04:00 n-day1 nm-openvpn[21522]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts 2014-08-12T09:26:51.628182+04:00 n-day1 nm-openvpn[21522]: UDPv4 link local: [undef] 2014-08-12T09:26:51.628567+04:00 n-day1 nm-openvpn[21522]: UDPv4 link remote: [AF_INET]217.77.62.157:1194 2014-08-12T09:26:54.485013+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): IP6 addrconf timed out or failed. 2014-08-12T09:26:54.485413+04:00 n-day1 NetworkManager[13093]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) scheduled... 2014-08-12T09:26:54.485667+04:00 n-day1 NetworkManager[13093]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) started... 2014-08-12T09:26:54.485930+04:00 n-day1 NetworkManager[13093]: <info> Activation (wlan0) Stage 4 of 5 (IPv6 Configure Timeout) complete. 2014-08-12T09:27:02.321366+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): device state change: secondaries -> disconnected (reason 'user-requested') [90 30 39] 2014-08-12T09:27:02.321885+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): deactivating device (reason 'user-requested') [39] 2014-08-12T09:27:02.521839+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 21511 2014-08-12T09:27:02.553518+04:00 n-day1 NetworkManager[13093]: <info> NetworkManager state is now DISCONNECTED 2014-08-12T09:27:02.554019+04:00 n-day1 NetworkManager[13093]: (nm-device.c:5052):nm_device_state_changed: runtime check failed: (in_state_changed == FALSE) 2014-08-12T09:27:02.554357+04:00 n-day1 NetworkManager[13093]: <info> (wlan0): device state change: disconnected -> failed (reason 'secondary-connection-failed') [30 120 54] 2014-08-12T09:27:02.559024+04:00 n-day1 nm-openvpn[21522]: SIGTERM[hard,] received, process exiting -- 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