Bug 402493

Summary: knetworkmanager-vpnc can only connect but not disconnect
Product: [openSUSE] openSUSE 11.0 Reporter: Christian Trippe <ctrippe>
Component: Mobile DevicesAssignee: Helmut Schaa <hschaa>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: funtasyspace, uli.2001, wstephenson
Version: Final   
Target Milestone: ---   
Hardware: 32bit   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 405631    

Description Christian Trippe 2008-06-21 11:43:31 UTC
Using knetworkmanager to connect to an vpnc network works fine. But there is no option to deactivate the vpn-connection.

rpm -qa | grep NetworkManager-vpnc
NetworkManager-vpnc-kde-0.7r821737-0.1
NetworkManager-vpnc-0.7.0.r3647-9.1
Comment 1 Ulrich Derenthal 2008-06-23 09:44:04 UTC
Same problem here.
Comment 2 Helmut Schaa 2008-07-01 09:40:56 UTC
Maybe fixed with the patch from [1].

Could somebody please try if the packages at [2] allow you to bring the connection down? Thanks.

[1] http://websvn.kde.org/branches/work/knetworkmanager/knetworkmanager-0.7/src/knetworkmanager-tray.cpp?r1=826750&r2=826749&pathrev=826750

[2] http://beta.suse.com/private/hschaa/bugzilla/402493/
Comment 3 Ulrich Derenthal 2008-07-01 11:03:16 UTC
I cannot find an option in the graphical interface to bring the vpn connection down.

However, trying to start it a second time still results in a disconnected vpn connection.
Comment 4 Helmut Schaa 2008-07-01 12:19:14 UTC
The VPN connection should show up in the submenu "Deactivate connection". As I wrote in comment #2 I'm not sure if the patch fixes the VPN deactivation. Thanks for the testing.
Comment 5 Ulrich Derenthal 2008-07-01 13:35:54 UTC
It does not show up in that submenu.
Comment 6 Helmut Schaa 2008-07-01 15:23:40 UTC
Thanks Ulrich.

I've just put new packages again at [1].
Could you please try again?

[1] http://beta.suse.com/private/hschaa/bugzilla/402493/
Comment 7 Ulrich Derenthal 2008-07-01 15:38:26 UTC
With the new packages, the following happens:

I connect to the wireless network; this works.
Then I connect to an openvpn network; this works.
Then I right-click on the systray-icon of knetworkmanager: this results in a crash of knetworkmanager.

By the way, saving passwords of vpn connections does not work here (at least not for the next session).

Is the following helpful?

Überprüfung der Systemkonfiguration beim Start deaktiviert.

[?1034h(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb67ab6d0 (LWP 25962)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb7f1a93f in Device::getInterface ()
   from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#7  0xb7f110fa in Tray::contextMenuAboutToShow ()
   from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#8  0xb77b67d1 in KSystemTray::mousePressEvent ()
   from /opt/kde3/lib/libkdeui.so.4
#9  0xb7f0e521 in Tray::mousePressEvent ()
   from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#10 0xb6f75776 in QWidget::event () from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0xb6ed53fd in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#12 0xb6ed6606 in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#13 0xb75c4892 in KApplication::notify () from /opt/kde3/lib/libkdecore.so.4
#14 0xb6e6faee in QApplication::sendSpontaneousEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0xb6e6c910 in QETWidget::translateMouseEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0xb6e6bbad in QApplication::x11ProcessEvent ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0xb6e7fd54 in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb6eedd40 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb6eedbd6 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0xb6ed5a8f in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0xb7f0dad1 in kdemain () from /opt/kde3/lib/libkdeinit_knetworkmanager.so
#22 0x08048512 in ?? ()
#23 0xb7d755f5 in __libc_start_main () from /lib/libc.so.6
#24 0x08048451 in ?? ()
Comment 8 Ulrich Derenthal 2008-07-01 15:39:38 UTC
The same happens when right-clicking the icon after establishing a vpnc connection.
Comment 9 Helmut Schaa 2008-07-01 15:49:20 UTC
(In reply to comment #7 from Ulrich Derenthal)
> Is the following helpful?

Yes, absolutely :)
Comment 10 Helmut Schaa 2008-07-02 07:16:57 UTC
Again new packages at the same location. Could you please try again?
Comment 11 Christian Trippe 2008-07-02 07:35:43 UTC
The new packages work fine here. And there is an option to deactivate the vpnc connection under the submenu "deactivate connections", which works.
Comment 12 Ulrich Derenthal 2008-07-02 07:55:43 UTC
They seem to work here, too.

It would be nice to have the yellow vpn icon in front of the entry in the submenu "deactivate connections".

Also note that activating several vpn connections at the same time and deactivating one of them messes up the routing.
Comment 13 Helmut Schaa 2008-07-02 08:05:38 UTC
Thanks Ulrich and Christian for the testing :)

> It would be nice to have the yellow vpn icon in front of the entry in the
> submenu "deactivate connections".

True.

> Also note that activating several vpn connections at the same time and
> deactivating one of them messes up the routing.

That's not KNetworkManager but NetworkManager, you could just open a new bug report for that one.
Comment 14 Anja Stock 2008-08-18 12:54:07 UTC
released
Comment 15 Helmut Schaa 2008-08-18 13:20:43 UTC
Fixed.