nm-strongswan-service.name uses /usr/lib/ipsec/charon

Bug #1300748 reported by Micke Löfstrand
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
network-manager-strongswan (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

/etc/NetworkManager/VPN/nm-strongswan-service.name contains the line:
  program=/usr/lib/ipsec/charon
instead of:
  program=/usr/lib/ipsec/charon-nm

This doesn't work:
  Apr 1 13:41:28 laptopw-086 NetworkManager[974]: <info> Starting VPN service 'strongswan'...
  Apr 1 13:41:28 laptopw-086 NetworkManager[974]: <info> VPN service 'strongswan' started (org.freedesktop.NetworkManager.strongswan), PID 3464
  Apr 1 13:41:28 laptopw-086 charon: 00[DMN] Starting IKE charon daemon (strongSwan 5.1.2, Linux 3.13.0-20-generic, x86_64)
  Apr 1 13:41:28 laptopw-086 charon: 00[LIB] loaded plugins: charon test-vectors aes rc2 sha1 sha2 md4 md5 random nonce x509 revocation constraints pkcs1 pkcs7
pkcs8 pkcs12 pem openssl xcbc cmac hmac ctr ccm gcm attr kernel-netlink resolve socket-default eap-identity addrblock
  Apr 1 13:41:28 laptopw-086 charon: 00[LIB] unable to load 5 plugin features (5 due to unmet dependencies)
  Apr 1 13:41:28 laptopw-086 charon: 00[LIB] dropped capabilities, running as uid 0, gid 0
  Apr 1 13:41:28 laptopw-086 charon: 00[JOB] spawning 16 worker threads
  Apr 1 13:41:33 laptopw-086 NetworkManager[974]: <warn> VPN service 'strongswan' start timed out
  Apr 1 13:41:33 laptopw-086 NetworkManager[974]: <info> Policy set 'SSID' (wlan0) as default for IPv4 routing and DNS.
  Apr 1 13:41:38 laptopw-086 charon: 00[DMN] signal of type SIGTERM received. Shutting down

Please change this.

Revision history for this message
Micke Löfstrand (mikaelld) wrote :

Forgot a couple of important details:

$ dpkg -l | grep strongswan
ii libstrongswan 5.1.2-0ubuntu1 amd64 strongSwan utility and crypto library
ii network-manager-strongswan 1.3.0-1 amd64 network management framework (strongSwan plugin)
ii strongswan-ike 5.1.2-0ubuntu1 amd64 strongSwan Internet Key Exchange (v2) daemon
ii strongswan-nm 5.1.2-0ubuntu1 amd64 strongSwan charon for interaction with NetworkManager
ii strongswan-plugin-openssl 5.1.2-0ubuntu1 amd64 strongSwan plugin for OpenSSL

$ lsb_release -rd
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04

Revision history for this message
Jonathan Davies (jpds) wrote :

Fixed in 1.3.0-1ubuntu1 upload. Thanks!

Changed in network-manager-strongswan (Ubuntu):
status: New → Fix Released
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.