[Bug 1755693] Re: strongswan-starter should conflict with openswan due to shared file /usr/sbin/ipsec

Brian Murray brian at ubuntu.com
Thu Mar 15 18:08:34 UTC 2018


Hello Trent, or anyone else affected,

Accepted strongswan into trusty-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/strongswan/5.1.2-0ubuntu2.8 in a
few hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-trusty to verification-done-trusty. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-trusty. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: strongswan (Ubuntu Trusty)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-trusty

-- 
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/1755693

Title:
  strongswan-starter should conflict with openswan due to shared file
  /usr/sbin/ipsec

Status in strongswan package in Ubuntu:
  Fix Released
Status in strongswan source package in Trusty:
  Fix Committed

Bug description:
  strongswan-starter and openswan both share the file /usr/sbin/ipsec
  however there is no Conflicts relationship

  $ apt-file search /usr/sbin/ipsec
  openswan: /usr/sbin/ipsec
  strongswan-starter: /usr/sbin/ipsec

  openswan was deprecated in utopic, so trusty installations may wish to
  migrate to strongswan ahead of a xenial upgrade.  In that case, the
  package upgrade can fail.

  This was previously fixed upstream in Debian:
  https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740808

  For apt operation ordering reasons I don't understand, the issue only
  appears when something else on the system (such as neutron-vpn-agent)
  depends on (strongswan | openswan).  Just installing strongswan and
  replacing it with openswan or vica-versa doesn't cause the issue to
  trigger.

  The Conflicts already exists in xenial through bionic, just not in
  trusty.  So the upload would only be required in trusty.

  [Impact]

   * Users are unable to replace openswan with strongswan on trusty systems, where the next major Ubuntu release (xenial) dropped support for openswan completely but strongswan exists on both
   * Only users on trusty are affected, once upgraded to xenial this change is already in place

  [Test Case]

  On a trusty machine (e.g. lxd)

  add-apt-repository cloud-archive:mitaka # the trusty version of neutron-vpn-agent does not have the dependency on openswan causing the bug to trigger
  apt update
  apt install neutron-vpn-agent openswan # you can answer no to X509 generation
  apt install strongswan

  [Regression Potential]

   * I don't believe the conflicts introduces a new issue in terms of a
  conflict that didn't previously exist, since the packages contain a
  conflicting file and strongswan-starter depends on strongswan-ike
  which already has a Conflicts in place.  So in terms of the dependency
  tree they already conflicted, but did not prevent this temporary file
  conflict.

   * Other regression potential would be package rebuild related -- this
  package has had security uploads as recently as August 2017 so that
  risk appears reduced

  [Other Info]

   * Same change is already in place from xenial onwards, so no SRU
  uploads other than trusty are required

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



More information about the Ubuntu-sponsors mailing list