The actual version of runscript.sh load the configuration file before the resolution of dipendences of a startup script. I think that the correct schema is: [correct schema] -> resolve dipendeces (and load) -> load configuration -> action (start/stop/...) In this mode I can modify the configuration file with another startup script. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.2-gentoo) ================================================================= System uname: 2.6.2-gentoo i686 AMD Athlon(tm) Processor Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" 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/env.d" CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X X509 aalib acl acpi alsa amd apm arts avi berkdb bonobo cdr crypt cups directfb doc dvd dvdr encode esd ethereal falc fbcon ffmpeg flash foomaticdb footmaticdb freetype fs gdbm gif gnome gpm gtk gtk2 idea imlib java javascript jpeg kde ldap libg++ libwww mad maildir md5sum mikmod mmx motif mozilla mpeg msn ncurses nls nvidia oggvorbis opengl openssh oss pam pdflib perl png ppds python qt quicktime readline ruby samba sdl slang speedo speex spell ssl svga tcltk tcpd tetex tiff transcode truetype type1 unicode usb videos wmf x86 xine xinerama xml xml2 xmms xosd xv xvid zlib"
Created attachment 25619 [details, diff] A proposed patch
All dependencies that is started before current script, runs in a subshell.