after emerge awk 3.1.4-4 /etc/init.d/ipsec stop working , i switch back to gawk 3.1.3 and ipsec start working again. * 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: 2205 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 [ !! ] Reproducible: Always Steps to Reproduce: 1.install openswan 2.3.1 2.install gawk 3.1.4-r4 or higher 3./etc/init.d/ipsec start or stop fails Actual Results: * 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: 2205 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 [ !! ] Expected Results: # /etc/init.d/ipsec start * Starting IPSEC ... ... ipsec_setup: Starting Openswan IPsec 2.3.1... ipsec_setup: insmod /lib/modules/2.6.12-gentoo-r9/kernel/net/key/af_key.ko ipsec_setup: insmod /lib/modules/2.6.12-gentoo-r9/kernel/net/ipv4/xfrm4_tunnel.ko ipsec_setup: insmod /lib/modules/2.6.12-gentoo-r9/kernel/net/xfrm/xfrm_user.ko [ ok ] Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r1, 2.6.12-gentoo-r9 i686) ================================================================= System uname: 2.6.12-gentoo-r9 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.6.13 ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.8.1-r1, 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvi pdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/c onfig/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X X509 Xaw3d aalib acl adns alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bonob o cdr crypt cups curl divx4linux dnsdb eds emboss encode esd exiscan-acl extensions fam flac flash foomaticdb fortran gd gd-external gdbm gif gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib innodb ipv6 java jpeg junit ldap libg++ libwww lmtp mad maildir mailwrapper mbox mcal memlimit mikmod mmx motif mozi lla mp3 mpeg mysql nas ncurses nls oci8 odbc ogg oggvorbis opengl oracle oss pam pdflib perl png postgres pyth on qt quicktime readline ruby samba scanner sdl skey slang snmp spell sqlite sse ssl svga tcltk tcpd tetex tif f truetype truetype-fonts type1-fonts vorbis wildlsearch wxwindows xine xml xml2 xmms xv zlib userland_GNU ker nel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
*** This bug has been marked as a duplicate of 94681 ***