Hi,
for all those who have faling package due missing Required-Stop
and/or Should-Stop tags:
Required-Stop: is for services which must still be available
during the shutdown of the service.
Should-Stop: is for services which should still be available
during the shutdown of the service.
You may rename this in mind to Required-(During-)Stop and
Should-(During-)Stop to have a mnemonic. Any other interpretation
is simply wrong, compare with
http://refspecs.freestandards.org/LSB_3.2.0/LSB-Core-generic/LSB-Core-generi...
The special facility `$null' is only for enforcing an empty
dependency in Required-Stop and Should-Stop otherwise insserv
assumes the same dependencies as for the Start case. This is
done to be able to support foreign and third party boot scripts.
Beside this the old tags
X-SuSE-Should-Start
X-SuSE-Should-Stop
X-UnitedLinux-Should-Start
X-UnitedLinux-Should-Stop
are obsolete since LSB 2.0 and have to be replaced with the LSB tags
Should-Start
Should-Stop
To enforce clean scripts, an LSB header may have the following tags
Provides
Required-Start
Required-Stop
Default-Start
to be fully functional. If the tag
Should-Start
is used also the tag
Should-Stop
has to be used. The tag
Default-Stop
is optional on openSuSE whereas the tags
Short-Description
Description
should be used and filled with text to have a description around
in the runlevel editors.
The Debian/openSuSE vendor tags
X-Start-Before
X-Stop-After
implies that the script using the keyword X-Start-Before should be
started before the specified service names respectively that the
script using the keyword X-Stop-After should be stopped after the
specified service names.
Beside this it is possible to use a LSB header for third party
boot scripts without editing them. For this only a file with
the LSB header therein and the same name as the foreign boot
script has to placed in
/usr/share/insserv/overrides/
or to overwrite a LSB header of a third party script it is
possible to place an replacment LSB header with the same
file name in
/etc/insserv/overrides/
Werner
--
Dr. Werner Fink