insserv does not recognize $ALL in system startup scripts
This document (7002245) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise Server 10 SP2
For example, Required-Start in /etc/init.d/cron looks like this:
# Required-Start: $remote_fs $syslog $time
It indicates that three services/scripts (remote_fs, syslog and time) should be started before cron is started.
One of the facilities is $ALL, indicating that the script should be placed at the end. $ALL is not used in any of the startscripts, but can be used by a user who wants to change the start order of some scripts or insert their own scripts and let them start at the end.
Below is an example of the startscript: FOO header, indicating that FOO should start at the end of the boot process (in runlevel 3 and 5):
### BEGIN INIT INFO
# Provides: FOO
# Required-Start: $FOO
# Default-Start: 3 5
### END INIT INFO
Although chkconfig inserts the script at the end of the start process in runlevels
it should start, $ALL does not work. The script is started first in the boot order.
It only happens, if $ALL is used by itself.
If any other service is specified with $ALL on the Required-Start: line, it works as expected.
# Required-Start: $syslog $ALL
# Required-Start: $syslog
# Should-Start: $ALL
will work as expected.
# Required-Start: $ALL
or # Required-Start:
# Should-Start: $ALL
will NOT work.
- Use another service/script along with $ALL and the script will start at the end.
- In the /etc/sysconfig/boot file set RUN_PARALLEL='no'.
The update to SUSE Linux Enterprise Server 10 Service Pack 3 corrects the problem.
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:7002245
- Creation Date: 11-Mar-2009
- Modified Date:24-Feb-2021
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: firstname.lastname@example.org