Red Hat Bugzilla – Bug 17279
rc.local is run every time the runlevel changes!
Last modified: 2014-03-16 22:16:14 EDT
I add stuff like oracle startup commands, my sound driver extras, a
netrek server, qmail and a few other things to rc.local.
It's my understanding that rc.local should be run every time the machine
books, after everything else.
If the default runlevel is 3, and someone does "init 5", rc.local is re-
run, and chaos ensues. A simple fix for this would be to add
to /etc/rc.local and to add
rm -f /var/lock/subsys/local
to rc.sysinit. Pretty please ?
I really hate changing rc.local (it's %config(noreplace)), but
this is obviously correct; will be fixed in 5.60-1.