Red Hat Bugzilla – Bug 239842
/lib/lsb/init-functions shall use aliases but not functions
Last modified: 2014-03-25 20:55:07 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):
Steps to Reproduce:
1. . /lib/lsb/init-functions
2. echo $(pidofproc bash)
FC7 fails with 'bash: pidofproc: command not found'
FC6 gives out list of bash-processes
I think the real problem here is that somebody typo'd the pidofproc function and
renamed it "pidofprof" in /lib/lsb/init-functions.
*** Bug 247290 has been marked as a duplicate of this bug. ***
It should be a trivial fix then, right?
Waiting for ACL to be updated so that the patch can be committed.
should be fix in redhat-lsb-3_1-15_f8.
it Fixed in following version:
*** Bug 432548 has been marked as a duplicate of this bug. ***