Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41595 - loading sequence of conf.d/* files in ruscript.sh
Summary: loading sequence of conf.d/* files in ruscript.sh
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-14 15:52 UTC by Luigi 'Comio' Mantellini
Modified: 2004-02-19 10:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
A proposed patch (runscript.diff,797 bytes, patch)
2004-02-14 15:53 UTC, Luigi 'Comio' Mantellini
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Luigi 'Comio' Mantellini 2004-02-14 15:52:42 UTC
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"
Comment 1 Luigi 'Comio' Mantellini 2004-02-14 15:53:47 UTC
Created attachment 25619 [details, diff]
A proposed patch
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-19 10:00:07 UTC
All dependencies that is started before current script, runs in a subshell.