I can confirm that this bug is still present in Fedora 13 and indeed it is a bug. Use the following script as a test (I have it at /etc/init.d/initTester): #!/bin/sh # ### BEGIN INIT INFO # Provides: initTester # Required-Start: $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Test script ### END INIT INFO If you then use this script with install_initd it fails silently: /usr/lib/lsb/install_initd /etc/init.d/initTester HOWEVER, if you invoke chkconfig directly with the --add parameter, it DOES work: /sbin/chkconfig --add /etc/init.d/initTester After some testing, I can confirm that if you remove the Required-Start line, then install_initd does work. During my testing, all local file systems were successfully mounted, so the $local_fs service is indeed available and should be considered so by install_initd. I don't seem to be able to re-open this bug, so could someone with the relevant permissions please do so? Cheers.
http://git.fedorahosted.org/git/?p=chkconfig.git;a=commitdiff;h=4d4884c896c4e290967f12de2ac4830b6591446b Will be in 1.3.48-1.
*** Bug 647200 has been marked as a duplicate of this bug. ***
chkconfig-1.3.48-1.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/chkconfig-1.3.48-1.fc14
chkconfig-1.3.48-1.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/chkconfig-1.3.48-1.fc13
chkconfig-1.3.48-1.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update chkconfig'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/chkconfig-1.3.48-1.fc13
Using this test file without values for Default-Start/Default-Stop I get a new error: #!/bin/sh # ### BEGIN INIT INFO # Provides: initTester # Required-Start: $local_fs # Default-Start: # Default-Stop: # Short-Description: Test script ### END INIT INFO # /usr/lib/lsb/install_initd /etc/init.d/initTester service initTester does not support chkconfig # echo $? 1 The LSB spec doesn't seem to require a value, so a blank Default-Start/Default-Stop should be equivalent to this chkconfig convention style comment: # chkconfig - 50 50 if I'm reading things right.
That's a different bug; please file it separately.
done, filed as 647512
chkconfig-1.3.48-1.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
chkconfig-1.3.48-1.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.