[Swan] Has this bug been reported yet?

Tony Whyman tony.whyman at mccallumwhyman.com
Tue Feb 7 16:16:43 UTC 2017


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



More information about the Swan mailing list