Re: /etc/init.d structure [long rant]
[ ... ]
> If you want to see how its supposed to work, look at
> Solaris 2.x, Irix 6.x, etc.
>
> I've rewritten rc to do just that somewhere, but I wound up
> having to undo whatever debian does _every time I added a
> package_! It became too much work, so I bagged it.
>
> The premise is that a run level is _clearly defined_ and
> managed according to a schema. Debian just shotguns links
> in everything that looks like a run control directory under
> /etc (practically). A real sysr4 rc script should run all
> K* scripts in a run control directory, then all S* scripts,
> starting with rc1.d, incrementally up to the defined run
> level. This means that having stuff in rc1.d and rc2.d is
> totally redundant. Likewise for rc2.d and rc3.d, etc.
> After the defined default run level is achieved, changing
> run levels occurs by simply running the K* scripts in the
> new run level, then the S* scripts.
I always used to think it was me who didn't get it. I customized one
runlevel to run without xdm. I used this runlevel to upgrade XFree86,
so that if anything screwed up, I would not have xdm continously
restarting a bogus X setup. This can be very annoying and very hard to
escape, I know from experience. However, after the configuration
script is done, it starts xdm as if no runlevels exist (I guess it only
checks /etc/X11/config). I agree fully that a proper implementation of
sysvr4 would be a Good Thing.
Eric Meijer
--
E.L. Meijer (tgakem@chem.tue.nl) | tel. office +31 40 2472189
Eindhoven Univ. of Technology | tel. lab. +31 40 2475032
Lab. for Catalysis and Inorg. Chem. (TAK) | tel. fax +31 40 2455054
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: