Re: Facility names for init scripts (Re: LSB Spec 1.0 Criticism)
On Mon, Jul 09, Bodo Meissner wrote:
> On Thu, 5 Jul 2001, Anthony Towns wrote:
>
> > Wasn't the point of those structured comments to get rid of all the
> > hardcoded numbers? I was expecting that lsb/install_initd would deduce
> > the runlevel/s based on the Required-Start: stuff; eg a header:
> > # Required-Start: $network, $multiuser
> > would put the service in runlevels 3,5 on Red Hat, and 2,3,4,5 on Debian;
In this case the Red Hat or Debian runlevels are not compatible with
the LSB defined one. Else $network,$multiuser should always be the
same.
> > whereas:
> > # Required-Start: $multiuser
> > would put it in runlevel 2,3,4,5 on both Red Hat and Debian.
>
> I agree with aj. As a software manufacturer I'm not primarily interested
> in runlevel numbers, but I want to run my daemons (facilities) when
> specific preconditions are met.
The runlevel numbers are also defined in the LSB. So, $network,$multiuser
should give always identical numbers on a LSB conform system. I don't see
a reason to add this defines, because the result should always be the
same.
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE GmbH Deutschherrenstr. 15-19 D-90429 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B
Reply to: