[Pkg-swan-devel] Bug#1098714: strongswan-starter should depends on strongswan-charon
Jongmin Kim
jmkim at debian.org
Sun Feb 23 08:55:51 GMT 2025
Package: strongswan-starter
Version: 6.0.0-2
Severity: important
When I run the command: "ipsec start", it fails to locate the necessary
binary.
$ ipsec start
IKE daemon '/usr/lib/ipsec/charon' not found
It appears that "strongswan-starter", built as /usr/sbin/ipsec,
locates and uses /usr/lib/ipsec/charon [1].
[1] (src/starter/starter.c line 52) https://salsa.debian.org/debian/strongswan/-/blob/debian/master/src/starter/starter.c#L52
The binary /usr/sbin/ipsec is in "strongswan-starter"[2],
while /usr/lib/ipsec/charon is in "strongswan-charon"[3].
[2] (/usr/sbin/ipsec in "strongswan-starter") https://salsa.debian.org/debian/strongswan/-/blob/debian/master/debian/strongswan-starter.install#L5
[3] (/usr/lib/ipsec/charon in "strongswan-charon" ) https://salsa.debian.org/debian/strongswan/-/blob/debian/master/debian/strongswan-charon.install#L1
Currently, "strongswan-charon" is listed under "Recommends:" for
"strongswan-starter"[4]. Shouldn't it be listed under "Depends:" instead?
[4] (d/control line 219) https://salsa.debian.org/debian/strongswan/-/blob/debian/master/debian/control#L219
It was in "Depends:" when the latter was in "strongswan-ike"[5] 11 years
ago.
[5] (-ike splitted into -charon and -libcharon) https://salsa.debian.org/debian/strongswan/-/commit/c707682e759fbd97b9603f650a491ef086f7fd5f#58ef006ab62b83b4bec5d81fe5b32c3b4c2d1cc2_178_176
Please forgive me if I am mistaken, as I do not fully understand the
context of these packages.
-- System Information:
Debian Release: trixie/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.15-amd64 (SMP w/22 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8), LANGUAGE=en_US.UTF-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages strongswan-starter depends on:
ii adduser 3.141
ii debconf [debconf-2.0] 1.5.89
ii init-system-helpers 1.68
ii libc6 2.40-7
ii libstrongswan 6.0.0-2
ii sysvinit-utils 3.14-1
Versions of packages strongswan-starter recommends:
pn strongswan-charon <none>
strongswan-starter suggests no packages.
-- Configuration Files:
/etc/ipsec.secrets [Errno 13] Permission denied: '/etc/ipsec.secrets'
-- debconf information excluded
More information about the Pkg-swan-devel
mailing list