Just installed a new server with ubuntu 16.04 on board and a fresh installation of libreswan 3.19 compiled as a deb package. Tried to initialise the nss database with

ipsec initnss

and got the error:

/usr/sbin/ipsec: 319: /usr/sbin/ipsec: =0: not found
/usr/sbin/ipsec: 320: [: -ne: unexpected operator

Looks like a simple script error. Line 319 is

${rc}=$?

and changing it to

let ${rc}=$?

seems to fix the problem.

Regards

Tony Whyman

MWA

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

Reply via email to