Bug 28805 - /etc/rc.d/rc doesnt call the right shutdown scripts
Summary: /etc/rc.d/rc doesnt call the right shutdown scripts
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 7.0
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-02-22 08:43 UTC by Conrad Hesse
Modified: 2014-03-17 02:19 UTC (History)
1 user (show)

(edit)
Clone Of:
(edit)
Last Closed: 2001-02-22 12:17:13 UTC


Attachments (Terms of Use)

Description Conrad Hesse 2001-02-22 08:43:43 UTC
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.

Reproducible: Always
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

Comment 1 Karsten Hopp 2001-02-22 12:17:07 UTC
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).

Comment 2 Bill Nottingham 2001-02-22 19:28:49 UTC
If they don't, that would be a problem with the particular packages
chkconfig stuff; initscripts is doing the right thing on runlevel
switches.

Comment 3 Conrad Hesse 2001-02-22 21:25:14 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.