http://fedoraproject.org/wiki/Packaging/SysVInitScript has an example of how to write %post/%preun scriptlets that install init scripts. The problem is, the %post one will overwrite the /etc/rc?.d/[KS] symlinks upon every package upgrade: %post # This adds the proper /etc/rc*.d links for the script /sbin/chkconfig --add <script> shouldn't this rather be: %post # This adds the proper /etc/rc*.d links for the script # only during the initial package install, not upgrades if [ $1 -eq 1 ]; then /sbin/chkconfig --add <script> fi so it only does the --add on initial installs, not upgrades? If you re-do the chkconfig --add on upgrades, won't that overwrite the runlevel on/off settings that the sysadmin may have customized? -- Fedora-packaging mailing list Fedora-packaging@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-packaging