Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 11762 - (FIX INCLUDED) /etc/rc.d/init.d/functions misbehaves
(FIX INCLUDED) /etc/rc.d/init.d/functions misbehaves
Product: Red Hat Linux
Classification: Retired
Component: basesystem (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2000-05-30 11:49 EDT by ph0n1c
Modified: 2014-03-16 22:14 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-05-30 11:49:38 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description ph0n1c 2000-05-30 11:49:38 EDT
"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 17:43:33 EDT
should be fixed in initscripts-5.14-1.
(Please try and report bugs against the proper components - thanks!)

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