Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 11762

Summary: (FIX INCLUDED) /etc/rc.d/init.d/functions misbehaves
Product: [Retired] Red Hat Linux Reporter: ph0n1c <ph0n1c>
Component: basesystemAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-05-30 15:49:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ph0n1c 2000-05-30 15:49:38 UTC
"killproc" in /etc/rc.d/init.d/functions fails to stop some daemons.

Instead of:(line 98)------------------------------------------------

# Save basename.
base=`basename $1`

# Find pid.
pid=`pidofproc $base`

It should be:------------------------------------------------

# Save basename.
base=`basename $1`

# Find pid.
pid=`pidofproc $1`


Since "pidofproc" does its own "basename" if necessary.

Comment 1 Bill Nottingham 2000-05-31 21:43:33 UTC
should be fixed in initscripts-5.14-1.
(Please try and report bugs against the proper components - thanks!)