[Bug 1578193] Re: cannot load legacy-only plugin

Martin mail at martinlauridsen.info
Fri Oct 28 10:20:50 UTC 2016


Hi all. I've played around with Ryan's PPA to get the strongswan
connection to my work place working under Mint 18 (xenial). Here are my
observations based on a fresh Mint 18 install, after doing all updates
and upgrades that were available.

The following works to get my connection running:
1. Get the company .crt and import it to my keychain (I chose always to unlock it when prompted)
2. sudo apt-get install libstrongswan strongswan strongswan-charon strongswan-libcharon strongswan-starter libstrongswan-extra-plugins libcharon-extra-plugins libstrongswan-standard-plugins network-manager-strongswan
3. sudo add-apt-repository ppa:raharper/bugfixes
4. sudo apt-get update && sudo apt-get upgrade
5. Set up the VPN via the network manager. I enter the IP, my EAP username and password (I chose to store for all users). I checked "Request an inner IP address", and I provided an additional DNS server and search domain.

After this, the connection works. However, updates to strongswan are
available now, since some packages are still version 5.3.5-1ubuntu3. If
I choose to update strongswan at this point, it will result in the
removal of libstrongswan-standard-plugins and libstrongswan-extra-
plugins, because they have unmet dependencies.

I managed to install those dependencies doing the following steps:
1. wget http://ftp.ch.debian.org/debian/pool/main/i/iptables/libip4tc0_1.6.0-4_amd64.deb
2. wget http://ftp.ch.debian.org/debian/pool/main/libg/libgcrypt20/libgcrypt20_1.7.3-2_amd64.deb
3. sudo dpkg -i libip4tc0_1.6.0-4_amd64.deb
4. sudo dpkg -i libgcrypt20_1.7.3-2_amd64.deb
5. sudo apt-get -f install
6. sudo apt-get update && sudo apt-get upgrade

This upgrades everything to 5.3.5-1ubuntu5, but the VPN will not connect
still. I have pasted the relevant parts of /var/log/syslog here:
https://gist.github.com/anonymous/1387143bd7f90942cb841ff06b88cd17

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1578193

Title:
  cannot load legacy-only plugin

Status in network-manager-strongswan package in Ubuntu:
  Confirmed

Bug description:
  Strongswan isn't presented as an option when I want to add a VPN in
  NetworkManager (GUI), despite the fact that the latest network-
  manager-strongswan (1.3.1-1ubuntu1) is installed.

  From /var/log/syslog:

  May  4 13:42:16 workmate gnome-session[1833]: ** Message: vpn:
  (strongswan,/etc/NetworkManager/VPN/nm-strongswan-service.name) cannot
  load legacy-only plugin

  $ dpkg-query --status network-manager-strongswan | grep ^Version
  Version: 1.3.1-1ubuntu1

  $ dpkg-query --status network-manager | grep ^Version
  Version: 1.1.93-0ubuntu4

  $ lsb_release -rd
  Description:	Ubuntu 16.04 LTS
  Release:	16.04

  Could be related to #1570352, but since the error-message is
  different, I created a new bug report

  I found network-manager-openconnect had a same issue, upstream fixed
  this by porting the code to use libnm [1] and [2]

  [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=817057
  [2] https://bugs.launchpad.net/ubuntu/+source/network-manager-openconnect/+bug/1571300/comments/6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager-strongswan/+bug/1578193/+subscriptions



More information about the Ubuntu-sponsors mailing list