Red Hat Bugzilla – Bug 28805
/etc/rc.d/rc doesnt call the right shutdown scripts
Last modified: 2014-03-16 22:19:14 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.16 i686; Nav)
The rc script doesnt work right when changing runnlevels.
For example changing from runlevel 3 to 2:
Only (some) kill scripts in rc2.d are called, but none of rc3.d.
The right behaviour should be that all the kill scripts in rc3.d
of processes that have no start script in rc2.d are called.
Steps to Reproduce:
1. Change runlevel: init 2.
Actual Results: Kill scripts of rc2.d are called.
Expected Results: Kill script of rc3.d should be called
Scripts in rc3.d should never be called if you change from RL3 to RL2.
In my opinion the real bug is that not all links in rc3.d have an corresponding
start/kill link in rc2.d (same for other runlevels as well).
If they don't, that would be a problem with the particular packages
chkconfig stuff; initscripts is doing the right thing on runlevel
Sorry for the false bug report. I have been working a lot with Suse Linux and
I was used to their rc script. Now I realize that RedHat uses a
different aproach. Thanks.