bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IPSEC problem


From: Austin Wang
Subject: IPSEC problem
Date: Fri, 2 Sep 2005 16:01:42 -0600

It seems the new version of gawk 3.1.4 r4 is causing problems with openswan 
ipsec. 
OS: Gentoo Linux kernel 2.4.28 r9
openswan 2.2.0
When I try to start ipsec, I get the error message:
  * Starting IPSEC ... ...
awk: cmd. line:97: default[""] = ""
awk: cmd. line:97: ^ syntax error
awk: cmd. line:202: for (i in default)
awk: cmd. line:202: ^ syntax error
awk: cmd. line:341: } else if (search in default)
awk: cmd. line:341: ^ syntax error
awk: cmd. line:345: default[search] = rest
awk: cmd. line:345: ^ syntax error
awk: cmd. line:346: else
awk: cmd. line:346: ^ syntax error
awk: cmd. line:407: if (name in default)
awk: cmd. line:407: ^ syntax error
awk: cmd. line:409: default[name] = value
awk: cmd. line:409: ^ syntax error
awk: cmd. line:481: for (name in default)
awk: cmd. line:481: ^ syntax error
awk: cmd. line:483: output(o_parm, name, default[name])
awk: cmd. line:483: ^ syntax error
awk: cmd. line:485: if (default[search] in wanted)
awk: cmd. line:485: ^ syntax error
/usr/lib/ipsec/_include: line 100: 3282 Broken pipe awk 'BEGIN {
wasfile = ""
}
FNR == 1 {
print ""
print "#<", FILENAME, 1
lineno = 0
wasfile = FILENAME
}
{
lineno++
# lineno is now the number of this line
}
/^#[<>:]/ {
next
}
/^include[ \t]+/ {
orig = $0
sub(/[ \t]+#.*$/, "")
if (NF != 2) {
msg = "(" FILENAME ", line " lineno ")"
msg = msg " include syntax error in \"" orig "\""
print "#:" msg
exit 1
}
newfile = $2
if (newfile !~ /^\// && FILENAME ~ /\//) {
prefix = FILENAME
sub("[^/]+$", "", prefix)
newfile = prefix newfile
}
system("ipsec _include " newfile)
print ""
print "#>", FILENAME, lineno + 1
next
}
{ print }' $*
ipsec_setup: ipsec setup: /usr/lib/ipsec/_realsetup must be called by 
ipsec_setup [ !!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]