Re: start and stop failure with frees/wan 2.00

Sam Sgro <[email protected]> Thu, 8 May 2003 21:30:04 -0400 (EDT)
Newsgroups gmane.network.freeswan.user,gmane.network.freeswan.devel
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----


On Thu, 8 May 2003, Glatzel Tino wrote:

> when i start / stop freeswan-2.00 i see the following error:
> 
> maintenance:~# /etc/init.d/ipsec stop
> awk: line 365: regular expression compile failed (missing operand)
> ^also(|flip)=
> awk: line 371: regular expression compile failed (missing operand)
> ^also(|flip)=
> ipsec_setup: Stopping FreeS/WAN IPsec...
> 
> 
> maintenance:~# /etc/init.d/ipsec start
> awk: line 365: regular expression compile failed (missing operand)
> ^also(|flip)=
> awk: line 371: regular expression compile failed (missing operand)
> ^also(|flip)=
> ipsec_setup: Starting FreeS/WAN IPsec 2.00...
> ipsec_setup: awk: line 365: regular expression compile failed (missing
> operand)
> ipsec_setup: ^also(|flip)=
> ipsec_setup: awk: line 371: regular expression compile failed (missing
> operand)
> ipsec_setup: ^also(|flip)=
> 
> 
> With freeswan 2.00-rc2, it works.
> My System is a Debian 3.0 Kernel 2.4.20. Can anyone help me ?

I think this has to do with the type of awk installed on Debian machines; 
specifically, I think you're using "mawk", whereas that expression only 
functions with "gawk". Do you see a difference if you install that package?

We should probably correct it in any case (unless mawk is at fault here 
somehow).

- -- 
Sam Sgro
[email protected]

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
Comment: For the matching public key, finger the Reply-To: address.

iQCVAwUBPrsEnUOSC4btEQUtAQEmwgQAvfBnuCSnnUcswBghvlzbGLcFQdAgQm7C
89ss5pNcb7LgzUK13+GlQoC+ozSXCCeFTqGJyJ7XG8Sy0cQqFi6NyUhLYcZq7QTU
yawsGs+xjZSm4Mm2N4O7vQrY88zMaLaXO6bQJehv9vQxEsxg7wrGl9zYKDW1PvWW
Op/Gr2y5yT0=
=CsdN
-----END PGP SIGNATURE-----