On Tue, 8 Nov 2022, antonio wrote:

The issue is with systemd service apparently, I started with init.d/ipsec and 
is ok.

The generated package for version 4.9 doesn’t include a unit file. 

dpkg -c binaries/libreswan_4.9-1_amd64.deb | grep systemd
drwxr-xr-x root/root         0 2022-10-13 01:00 ./lib/systemd/
drwxr-xr-x root/root         0 2022-10-13 01:00 ./lib/systemd/system-preset/
-rw-r--r-- root/root       145 2022-10-13 01:00 
./lib/systemd/system-preset/90-libreswan.preset

It was removed in commit: 
https://github.com/libreswan/libreswan/commit/20fe3adb398eaafb8dc62df06cf32461aaa817d7

On my server i had copy  ipsec.service into /etc/systemd/system/ipsec.service, 
and when updated to 4.9 it wasn’t removed. 

It sounds like we might need to add another build dependency for systemd
that is different from dh-systemd ?

Any debian user that knows the answer?

Paul

_______________________________________________
Swan mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan

Reply via email to