http://bugzilla.novell.com/show_bug.cgi?id=629348
http://bugzilla.novell.com/show_bug.cgi?id=629348#c4
Volker _
So it still can stop the openvpn? Please attach your NetworkManager's log when it was failed. When i instruct knetworkmanager to disconnect from vpn, the tap device and it's routes are removed instantly. However, the error messages persist for several minutes and the half-dead openvpn process hangs around.
The log at that time: Aug 11 09:19:24 thinkpad nm-openvpn[3697]: /bin/ip addr del dev tap0 192.168.0.200/24 Aug 11 09:19:24 thinkpad NetworkManager: <debug> [1281511164.526432] run_netconfig(): Spawning '/sbin/netconfig modify --service NetworkManager' Aug 11 09:19:24 thinkpad nm-openvpn[3697]: Linux ip addr del failed: external program exited with error status: 2 Aug 11 09:19:24 thinkpad NetworkManager: <debug> [1281511164.528883] write_to_netconfig(): Writing to netconfig: INTERFACE='tap0'#012 Aug 11 09:19:24 thinkpad NetworkManager: <debug> [1281511164.528947] write_to_netconfig(): Writing to netconfig: DNSSEARCH='fritz.box fritz.box'#012 Aug 11 09:19:24 thinkpad NetworkManager: <debug> [1281511164.528970] write_to_netconfig(): Writing to netconfig: DNSSERVERS='192.168.7.254'#012 Aug 11 09:19:24 thinkpad NetworkManager: <info> Clearing nscd hosts cache. Aug 11 09:19:25 thinkpad NetworkManager: <debug> [1281511165.545570] run_netconfig(): Spawning '/sbin/netconfig modify --service NetworkManager' Aug 11 09:19:25 thinkpad NetworkManager: <debug> [1281511165.548113] write_to_netconfig(): Writing to netconfig: INTERFACE='wlan0'#012 Aug 11 09:19:25 thinkpad NetworkManager: <debug> [1281511165.548241] write_to_netconfig(): Writing to netconfig: DNSSEARCH='fritz.box fritz.box'#012 Aug 11 09:19:25 thinkpad NetworkManager: <debug> [1281511165.548313] write_to_netconfig(): Writing to netconfig: DNSSERVERS='192.168.7.254'#012 Aug 11 09:19:25 thinkpad NetworkManager: <info> Clearing nscd hosts cache. Aug 11 09:19:25 thinkpad NetworkManager: <info> Policy set 'BLUB' (wlan0) as default for routing and DNS. Aug 11 09:19:25 thinkpad nm-dispatcher.action: Script '/etc/NetworkManager/dispatcher.d/netcontrol_services' exited with error status 127. Error msgs continued after this until 09:23:15: {...] Message from syslogd@thinkpad at Aug 11 09:23:05 ... kernel:[ 363.916062] unregister_netdevice: waiting for tap0 to become free. Usage count = 3 Message from syslogd@thinkpad at Aug 11 09:23:15 ... kernel:[ 373.956078] unregister_netdevice: waiting for tap0 to become free. Usage count = 3
kill the NetworkManager then run 'NetworkManager --no-daemon' in terminal with root permission. Then try again.
Tried it, same behavior. (Btw knetworkmanager crashes when NetworkManager --no-daemon is started. Had to start knetworkmanager again) -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.