Bug 8459

Summary: Init fails to call shutdown scripts
Product: [Retired] Red Hat Linux Reporter: ts_jones
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-02-01 22:40:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description ts_jones 2000-01-14 00:24:33 UTC
init fails to call shutdown scripts when changing run levels to 6 or 0.

I have created a script to start and shutdown a database server.  I have
placed the script in init.d, set the correct permissions and mode.  Have
tested it at the shell level and it works fine.  I have installed with
both chkconfig and tksysv with the same effect.  Init calls the script
fine at startup i.e calls it with the "start" parameter, fails to call it
with the "stop" parameter when switching to run level 0 or 6.  I find it
very unusual since other "system" scripts get called fine at shutdown.  I
have searched the news groups to find many other's with the same problem.
I have check all the links of the K* scripts and they seem to be fine.  Is
there perhaps some special way of "registering" a script that has been
left out of the documentation?

Todd Jones ts_jones

Comment 1 Bill Nottingham 2000-01-21 06:15:59 UTC
What does your script look like, and what links do you have for it?

Comment 2 Bill Nottingham 2000-02-01 22:40:59 UTC
Hm... oh, you mean the SysVinit maintainer; yes, he's
a Debian person. I believe the correct documentation
for writing init files should be in sysvinitfiles, in