note about packaging init scripts

Bill Nottingham notting at redhat.com
Thu Mar 10 19:42:58 UTC 2005


If you are packaging init scripts with a file path of
 /etc/init.d/your_script
you *need* to either:

a) prereq chkconfig (even if you don't call it)
b) package it in /etc/rc.d/init.d/your_script

As /etc/init.d is a symlink, if you don't do one of
these, your package may be installed first, and this
will cause chkconfig to fail to install later.

Bill




More information about the Fedora-maintainers mailing list