Bug 239842 - /lib/lsb/init-functions shall use aliases but not functions
/lib/lsb/init-functions shall use aliases but not functions
Product: Fedora
Classification: Fedora
Component: redhat-lsb (Show other bugs)
All Linux
high Severity medium
: ---
: ---
Assigned To: Lawrence Lim
: 247290 432548 (view as bug list)
Depends On:
Blocks: 239684
  Show dependency treegraph
Reported: 2007-05-11 13:35 EDT by Enrico Scholz
Modified: 2014-03-25 20:55 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-12-17 02:09:34 EST
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 Enrico Scholz 2007-05-11 13:35:48 EDT
Description of problem:

/lib/lsb/init-functions in FC7 uses functions to implement the 'pidofproc'
functions. This breaks common use cases like

| pids=$(pidofproc foo)

Such constructs work fine in FC6.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. . /lib/lsb/init-functions
2. echo $(pidofproc bash)

Actual results:

FC7 fails with 'bash: pidofproc: command not found'

Expected results:

FC6 gives out list of bash-processes
Comment 1 Eric Harney 2007-05-21 10:54:08 EDT
I think the real problem here is that somebody typo'd the pidofproc function and
renamed it "pidofprof" in /lib/lsb/init-functions.
Comment 2 Enrico Scholz 2007-07-07 04:37:11 EDT
*** Bug 247290 has been marked as a duplicate of this bug. ***
Comment 3 Max Spevack 2007-07-09 15:39:24 EDT
It should be a trivial fix then, right?
Comment 4 Lawrence Lim 2007-07-18 03:09:37 EDT
Waiting for ACL to be updated so that the patch can be committed.
Comment 5 Lawrence Lim 2007-07-19 22:10:22 EDT
should be fix in redhat-lsb-3_1-15_f8. 
Comment 6 A S Alam 2007-12-17 02:09:34 EST
it Fixed in following version:
Comment 7 Enrico Scholz 2008-02-12 15:07:41 EST
*** Bug 432548 has been marked as a duplicate of this bug. ***

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