network-manager in kde 4.7 not loading openconnect plugin

Bug #922087 reported by Todd Kennedy
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Kubuntu PPA
New
Undecided
Unassigned

Bug Description

After installing network-manager-openconnect and openconnect packages the openconnect plugin isn;t showing up in KDE NetworkManager. I've restarted the machine several times but still am not able to see the openconnect selection in NetworkManager VPN tab. I am using Kubuntu 11.10 fresh install.

Here a list of my dependancies installed

network-manager-openconnect
  Depends: libc6
  Depends: libdbus-glib-1-2
  Depends: libglib2.0-0
  Depends: libnm-glib-vpn1
  Depends: libnm-util2
  Depends: openconnect
 |Recommends: network-manager-openconnect-gnome
  Recommends: plasma-widget-networkmanagement

ii libc6 2.13-20ubuntu5 Embedded GNU C Library: Shared libraries
ii libc6-dev 2.13-20ubuntu5 Embedded GNU C Library: Development Libraries and Header Files
ii libdbus-glib-1-2 0.94-4 simple interprocess messaging system (GLib-based shared library)
ii libglib2.0-0 2.30.0-0ubuntu4 GLib library of C routines
ii libnm-glib-vpn1 0.9.1.90-0ubuntu3 network management framework (GLib VPN shared library)
ii libnm-util2 0.9.1.90-0ubuntu3 network management framework (shared library)
ii network-manager-openconnect 0.9.0-0ubuntu1 network management framework (Openconnect plugin)
ii openconnect 3.02-1 Open client for Cisco AnyConnect VPN
ii plasma-widget-networkmanagement 0.9~svngit.nm09.20110610.0c83d8-0ubuntu5 Network Management widget for KDE Plasma workspaces

KDE bug https://bugs.kde.org/show_bug.cgi?id=226028 says openconnect should be greater that 3.03 but ubuntu repos has only 3.02. Not sure if that makes a difference with the plugin loading into network manager

Revision history for this message
JP (d6-jp-kh) wrote :

Got the same problem here.
I did some digging and found that /etc/dbus-1/system.d/nm-openconnect-service.conf has this stanza:

        <policy user="nm-openconnect">
                <allow own="org.freedesktop.NetworkManager.openconnect"/>
                <allow send_destination="org.freedesktop.NetworkManager.openconnect"/>
        </policy>

all the other nm (Network-Manager) related conf's only have these 2 stanzas:

<busconfig>
        <policy user="root">
                <allow own="org.freedesktop.NetworkManager.vpnc"/>
                <allow send_destination="org.freedesktop.NetworkManager.vpnc"/>
        </policy>
        <policy context="default">
                <deny own="org.freedesktop.NetworkManager.vpnc"/>
                <deny send_destination="org.freedesktop.NetworkManager.vpnc"/>
        </policy>
</busconfig>

Not sure if that has something to do with the problem.

Revision history for this message
Todd Kennedy (toddkenn) wrote :

I'm currently using opensuse now and openconnect works under KDE 4.7. I checked into the Stanza's on opensuse and it seems maybe the one on Kubuntu is incomplete.

this is the contents of /etc/dbus-1/system.d/nm-openconnect-service.conf on OpenSuse 12.1

<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
        <policy user="root">
                <allow own="org.freedesktop.NetworkManager.openconnect"/>
                <allow send_destination="org.freedesktop.NetworkManager.openconnect"/>
        </policy>
        <policy user="nm-openconnect">
                <allow own="org.freedesktop.NetworkManager.openconnect"/>
                <allow send_destination="org.freedesktop.NetworkManager.openconnect"/>
        </policy>
        <policy context="default">
                <deny own="org.freedesktop.NetworkManager.openconnect"/>
                <deny send_destination="org.freedesktop.NetworkManager.openconnect"/>
        </policy>
</busconfig>

Maybe try modifying your file and see if it gets you any further.

Revision history for this message
Todd Kennedy (toddkenn) wrote :

I just install kubuntu 11.10 and checked the nm-openconnect-service.conf file and it's the same as in my Suse distro. So that's not the issue. Thought we might be onto something here.

I do know that openconnect is suppose to be at version 3.03 or > for it to work in NetworkManager, but I find this hard to believe because it works in ubuntu 11.10 with the gnome network manager applet.

Revision history for this message
Todd Kennedy (toddkenn) wrote :

Here's the correct bug #923587. I'll close this one.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.