Description of problem: when using LSB compliant "Required-Start:" , chkconfig does not create the appropriate Snnfoo scripts. This can result in Start and Stop scripts not being run in the sequential order that the developer intended these scripts to be run. Additionally, chkconfig creates S-1foo named scripts, which are not removed when one executes # chkconfig --del foo Version-Release number of selected component (if applicable): chkconfig-1.3.13.2-1 How reproducible: Always cat /etc/init.d/foo #!/bin/sh # # chkconfig: 345 40 60 # description: foo script # Required-Start: $network Steps to Reproduce 1 bug: # chkconfig --list foo service foo supports chkconfig, but is not referenced in any runlevel (run 'chkconfig --add foo') # chkconfig --add foo # find . -name "*foo*" ./rc6.d/K60foo ./init.d/foo ./rc2.d/K60foo ./rc4.d/S-1foo <=== huh? ./rc1.d/K60foo ./rc0.d/K60foo ./rc5.d/S-1foo <=== huh? ./rc3.d/S-1foo <=== huh? Actual results: ./rc4.d/S-1foo <=== huh? ./rc5.d/S-1foo <=== huh? ./rc3.d/S-1foo <=== huh? Expected results: ./rc4.d/S40foo ./rc5.d/S40foo ./rc3.d/S40foo Steps to reproduce 2 bug # chkconfig --del foo Actual results # find . -name "*foo*" ./init.d/foo ./rc4.d/S-1foo ./rc5.d/S-1foo ./rc3.d/S-1foo
*** This bug has been marked as a duplicate of 161870 ***
Reopening, this is not a duplicate of 161870.
*** Bug 163389 has been marked as a duplicate of this bug. ***
*** Bug 172457 has been marked as a duplicate of this bug. ***
Built in 1.3.13.3.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0018.html