lsb

Rafael Ávila de Espíndola <[email protected]> Thu, 11 Nov 2004 17:58:17 -0200
Newsgroups gmane.linux.lsb.discuss
Message-ID <[email protected]>
We intend to use the init script scheme describe in chapter 13 of the lsb t=
o=20
create a general system that could be used for both system init and=20
LSB-complaint applications.

We think that a small addition must be made to make it possible: a "Conflic=
t:"=20
entry.

In some cases (the "reboot" service for example) it is necessary that a=20
service be run only if some other service is not running. Declaring a=20
conflict solves the problem.

There is also some doubts:

1) When looking for the dependency of a service should we=20
look for it in all files in /etc/init.d or only in those file that have a=20
Default-start with the present runlevel?
We think the latter is a better option because it makes it simple for the=20
administrator to disable some services. For example, if service A has a=20
Should-Start with service B it is possible to avoid the startup of service =
B=20
by removing entries from its Default-Start. If the lookup is done on all=20
services then this doesn't work.

2) Is it true that a service is started or stop at most once per runlevel?

Thanks,
Gustavo Sverzut Barbieri,
Rafael =C1vila de Esp=EDndola,
Renato Machado de Sousa