Comment 5 for bug 1755693

Revision history for this message
Eric Desrochers (slashd) wrote :

I have followed the steps in [Test Case] provided by Trent and reproduce inside a Trusty LXD container.

* I made sure openswan was installed:
ii openswan 1:2.6.38-1 amd64 Internet Key Exchange daemon

* Then installed strongswan as follow:
# apt install strongswan
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  os-prober
Use 'apt-get autoremove' to remove it.
The following extra packages will be installed:
  libstrongswan strongswan-ike strongswan-plugin-openssl strongswan-starter
Suggested packages:
  strongswan-tnc-imcvs network-manager-strongswan strongswan-plugin-agent
  strongswan-plugin-certexpire strongswan-plugin-coupling
  strongswan-plugin-curl strongswan-plugin-dnscert strongswan-plugin-dnskey
  strongswan-plugin-duplicheck strongswan-plugin-error-notify
  strongswan-plugin-ipseckey strongswan-plugin-ldap strongswan-plugin-led
  strongswan-plugin-lookip strongswan-plugin-ntru strongswan-plugin-pkcs11
  strongswan-plugin-radattr strongswan-plugin-sql strongswan-plugin-soup
  strongswan-plugin-unity strongswan-plugin-whitelist strongswan-tnc-client
  strongswan-tnc-server
The following packages will be REMOVED:
  openswan
The following NEW packages will be installed:
  libstrongswan strongswan strongswan-ike strongswan-plugin-openssl
  strongswan-starter
0 upgraded, 5 newly installed, 1 to remove and 44 not upgraded.
Need to get 3574 kB of archives.
After this operation, 12.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main libstrongswan amd64 5.1.2-0ubuntu2.8 [1449 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main strongswan all 5.1.2-0ubuntu2.8 [29.8 kB]
Get:3 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main strongswan-starter amd64 5.1.2-0ubuntu2.8 [708 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main strongswan-plugin-openssl amd64 5.1.2-0ubuntu2.8 [189 kB]
Get:5 http://archive.ubuntu.com/ubuntu/ trusty-proposed/main strongswan-ike amd64 5.1.2-0ubuntu2.8 [1199 kB]
Fetched 3574 kB in 2s (1273 kB/s)
Preconfiguring packages ...
Selecting previously unselected package libstrongswan.
(Reading database ... 42962 files and directories currently installed.)
Preparing to unpack .../libstrongswan_5.1.2-0ubuntu2.8_amd64.deb ...
Unpacking libstrongswan (5.1.2-0ubuntu2.8) ...
Selecting previously unselected package strongswan.
Preparing to unpack .../strongswan_5.1.2-0ubuntu2.8_all.deb ...
Unpacking strongswan (5.1.2-0ubuntu2.8) ...
dpkg: openswan: dependency problems, but removing anyway as you requested:
 neutron-vpn-agent depends on strongswan (>= 5.1) | openswan; however:
  Package strongswan is not configured yet.
  Package openswan is to be removed.
(Reading database ... 43088 files and directories currently installed.)
Removing openswan (1:2.6.38-1) ...
ipsec_setup: Stopping Openswan IPsec...
ipsec_setup: stop ordered, but IPsec appears to be already stopped!
ipsec_setup: doing cleanup anyway...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Selecting previously unselected package strongswan-starter.
(Reading database ... 42935 files and directories currently installed.)
Preparing to unpack .../strongswan-starter_5.1.2-0ubuntu2.8_amd64.deb ...
Unpacking strongswan-starter (5.1.2-0ubuntu2.8) ...
Selecting previously unselected package strongswan-plugin-openssl.
Preparing to unpack .../strongswan-plugin-openssl_5.1.2-0ubuntu2.8_amd64.deb ...
Unpacking strongswan-plugin-openssl (5.1.2-0ubuntu2.8) ...
Selecting previously unselected package strongswan-ike.
Preparing to unpack .../strongswan-ike_5.1.2-0ubuntu2.8_amd64.deb ...
Unpacking strongswan-ike (5.1.2-0ubuntu2.8) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libstrongswan (5.1.2-0ubuntu2.8) ...
Setting up strongswan-plugin-openssl (5.1.2-0ubuntu2.8) ...
Setting up strongswan-ike (5.1.2-0ubuntu2.8) ...
Setting up strongswan-starter (5.1.2-0ubuntu2.8) ...
Installing new version of config file /etc/ipsec.secrets ...
Installing new version of config file /etc/ipsec.conf ...
strongswan start/running
Setting up strongswan (5.1.2-0ubuntu2.8) ...
Processing triggers for ureadahead (0.100.0-16) ...

* Validation:
rc openswan 1:2.6.38-1 amd64 Internet Key Exchange daemon
ii strongswan 5.1.2-0ubuntu2.8 all IPsec VPN solution metapackage