chkconfig incorrectly sequencing services

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am seeing an issue with chkconfig on my RHEL4 system that was described 
in an earlier post in  April 2006, but not answered regarding if there is 
a fix or not. 
The suggestion was to just use chkconfig comments in the init script.

The problem is that init scripts that contain the INIT INFO comment block 
seem to "confuse" chkconfig and cause it to create the service start 
sequencing to be
incorrect.

Example:

# chkconfig: 35 80 10
# description: my service
#
### BEGIN INIT INFO
# Required-Start: $network
# Required-Stop:  $network
# Default-Start: 3 5
# Default-Stop:   0 1 6
# Description:    my service
### END INIT INFO 

After chkconfig --add is run on this init script, the service is set to 
S99 in run level 3. If I remove the INIT INFO section from the init 
script, then chkconfig works as expected and sets the service start to 
S80.

I need to have (or would like to have) the INIT INFO section in the script 
for LSB support.

I had found a closed bugzilla RHBA-2005:118-07 that seemed to fix a 
similar problem, but I have the chkconfig version that supposedly has the 
fix in it.

Any help or updates is appreciated.
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux