[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: The right way to not start daemons



On Fri, Nov 09, 2001 at 06:13:03PM +0100, David N. Welton wrote:

> Matt Zimmerman <mdz@debian.org> writes:
> > 'start most things minus a few':
> 
> > rm /etc/rc?.d/S??{package1,package2}
> 
> Ok, but commenting out lines in a file is better:
> 
> 1) you can see what you've commented out!
> 
> 2) it's easy to switch on and off - you don't have to recreate
>    symlinks.
> 
> 3) you can compare it with a distributed default file.

Again:

apt-get install file-rc

> > Equivalently, you can edit /etc/runlevel.conf to do the same thing
> > with file-rc.  So there are already two mechanisms for doing this,
> > and some folks are working on a fancier one that is
> > dependency-oriented instead of using strict ordering.
> 
> Yes, but they are two clunky, low level mechanisms.  Putting something
> on top of it probably wouldn't be too hard, for those who want it.

How would your proposed allow/deny configuration files be less low-level or
clunky than file-rc's configuration file supposedly is?  Have you tried it?

-- 
 - mdz



Reply to: