if /etc/openvpn doesn't exist, the cd fails but it continues onward as if it didn't fail. Reproducible: Always Steps to Reproduce: 1. emerge openvpn 2. don't create /etc/openvpn 3. /etc/init.d/openvpn start Actual Results: stfu ~ # /etc/init.d/openvpn stop /sbin/runscript.sh: line 35: cd: /etc/openvpn: No such file or directory * 10MAY2004Fuel_LDIF.ldif has no pidfile! * Desktop has no pidfile! * clear has no pidfile! * convert.pl has no pidfile! * current.ldif has no pidfile! * dev has no pidfile! * fdab.ldif has no pidfile! * fdldap.ldif has no pidfile! * ldap has no pidfile! * new.ldif has no pidfile! * pla.diff has no pidfile! * queue-repair-0.9.0 has no pidfile! * queue-repair-0.9.0.tar.gz has no pidfile! * squirrelmail.diff has no pidfile! Expected Results: it should have bombed out after failing to change directories. stfu ~ # emerge info Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5-gentoo-r1) ================================================================= System uname: 2.6.5-gentoo-r1 i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r3 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-mp -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X alsa apm avi berkdb cddb cdr crypt cups dvd encode esd foomaticdb freetype fs gdbm gif gmp gnome gtk gtk2 imagemagick imap imlib innodb ipv6 jabber jack java jpeg kde lcms ldap libg++ libwww mad maildir mikmod mmx motif moznocompose moznoirc moznomail mozsvg mozxmlterm mpeg mpi music mysql ncurses net nls nvidia odbc offensive oggvorbis openal opengl operanom2 pam pdflib perl physfs png psyco python qt quicktime readline rogue sasl sdl slang speedo spell ssl stencil-buffer svga tcltk tcpd tetex truetype type1 usb x86 xatrix xml2 xmms xv zlib"
after digging further, it appears there are quite a few other problems with this init script. I attempted to fix them, but unfortunately I'm not overly savvy with gentoo init scripts, so I figure I"ll report the bug.
Thanks for uncovering this critical bug!
just curious.. by why 'WONTFIX' ? -Jeremy