I try playing on the INIT INFO part it does not work for the stop
sequence order:
man insserv says:
and calculating the dependencies between all scripts. Please
note, that the Required-Stop, Should-Stop, X-Stop-After, and
Default-Stop are ignored in SuSE Linux, because the SuSE boot script
concept uses a differential link scheme (see init.d(7)). The optional
X-Start-Before keyword implies that the script using this keyword
should be started before the specified service names. This implies
that those services now depend on the specifying script. With known
dependencies and runlevel(s) insserv sets and reorders the
corresponding symbolic links of the concerned runlevels directories
(see init.d(7)). Known runlevels are:
What part in the sles configuration dictates about the differential link scheme?
On Wed, Aug 4, 2010 at 5:24 PM, Jon Clausen
On Wed, 04 Aug, 2010 at 16:59:21 +0800, west alto wrote:
Thanks, Jon.
How does sles set the sequence?
K21foo K20bar
I don't know how the order is determined, except that on SLES10 it is *not* derived from the *-stop dependencies of the LSB headers.
Where is the settings that drive the sequence order of startup and shutdown of daemon?
In the init scripts themselves.
The information is kept in the comments in the top of the script, between
### BEGIN INIT INFO
and
### END INIT INFO
/jon -- YMMV -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org