[Openswan Users] coreutils, expr and startklips issue?

Martin Glazer sourceforge at glazer.ca
Mon Nov 28 02:46:08 CET 2005


Hi,

I'm using the latest coreutils - 5.93 and I cannot get openswan to start. It 
fails with the following

/etc/init.d/ipsec start
ipsec_setup: Starting Openswan IPsec 2.4.4...
ipsec_setup: invalid interface `' in `ipsec0=eth0'

Tracking this down, the error is in /usr/lib/ipsec/_startklips script and in 
particular with this line
virt=`expr $1 : '\([^=]*\)=.*'`
which I believe, should evaluate to ipsec0 with an input of ipsec0=eth0 for 
$1.
In coreutils 5.2.1, this evaluates correctly.

So, is this a bug in openswan? 

Martin


More information about the Users mailing list