Re: rc improvements (wanted?)

From: mouss <mouss_at_netoyen.net>
Date: Sat, 19 Jul 2008 20:22:05 +0200
Bernd Walter wrote:
> On Sat, Jul 19, 2008 at 05:03:53PM +0200, Miroslav Lachman wrote:
>> Bernd Walter wrote:
>>
>> [...]
>>
>>> Speaking about small systems, where startup time is more a problem than
>>> on 08/15 desktop and server systems.
>>> What I would love to see is that scripts like moused, ypserv, lpt, etc
>>> are not started if the services are disabled.
>>> So far each script is started, sucks in routines plus rc.conf then
>>> possibly does nothing reasonable after wasting some seconds boottime.
>>> Of course I can remove the scripts, but you'll never know if you need
>>> one of them at a later time and having the right set of scripts can
>>> become tricky.
>> And what about just chmod unneeded scripts to become not executable / 
>> readable instead of removing?
>> (I like the current "one directory" layout instead of some linuxism with 
>> many directories and symlinks)
> 
> This and all the ideas about using enable/disable directories or
> softlinks share a major problem:
> They requires configuring outside of rc.conf, which is not what I want.
> Of course I can do:
> mkdir /etc/rc.d/disabled ; mv /etc/rc.d/moused /etc/rc.d/disabled
> But then I would loose the ability to configure everything with rc.conf.
> A tool, which parses rc.conf and automatically relocates might be an
> option, but it would be better if it can be done without.
> 


how about a cache mechanism: rcorder/rc would use a previously 
determined order unless something changed in rc.conf or rc.d.

this way you don't need to determine which scripts need to run and in 
which order every time the system boots. this also removes the need for 
an "active.d" directory.
Received on Sat Jul 19 2008 - 16:37:12 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:33 UTC