:: Re: [DNG] Command to permanently pr…
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Simon Hobson
Fecha:  
A: dng
Asunto: Re: [DNG] Command to permanently prevent sysvinit from starting daemon
Arnt Karlsen <arnt@???> wrote:

> ..well, that's still 256 possible runlevel names. ;o)


TBH, I don't think there's all that much scope for **usefully** using lots of runlevels.

To start with, (near enough) every package comes with a control script for rc to use - and which contains comments to signal to the management scripts what runlevels the daemon in intended to run in. So you'd have to edit all of those so that update-rc can do it's job easily. And of course, once you do that then you get into all the problems that come with editing package supplied files- having to choose between your own or the (possibly updated) package supplied one, and re-applying changes if you choose to use the updated package supplied file.

And then there is the issue that if you want different combinations of daemons running, then you need to list all those that need to run in each combination. Unless you only need a small number of combinations (in which case the spare ones of 3,4,5 are likely to suffice) then it's likely to turn into quite a PITA.