Bug 218989 - /lib/lsb/init-functions should not use alias
/lib/lsb/init-functions should not use alias
Status: CLOSED DUPLICATE of bug 217566
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: redhat-lsb (Show other bugs)
5.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Lawrence Lim
David Lawrence
:
Depends On: 183952
Blocks:
  Show dependency treegraph
 
Reported: 2006-12-08 16:59 EST by Hugh Brock
Modified: 2014-03-25 20:54 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-12-10 05:06:22 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Hugh Brock 2006-12-08 16:59:17 EST
+++ This bug was initially created as a clone of Bug #183952 +++

Description of problem:
Currently, /lib/lsb/init-functions defines a number of aliases for various
lsb-mandated shell functions. This should not be done through aliases, since
aliases are only expanded when the shell is interactive.

I attach a new /lib/lsb/init-functions that implements these as proper shell
functions, and therefore works from noninteractive shell scipts; just replace
the one in the rpm with this one and everything should be fine

This doesn't just affect FC, but also RHEL

-- Additional comment from dlutter@redhat.com on 2006-03-03 20:13 EST --
Created an attachment (id=125634)
New file /lib/lsb/init-functions
Comment 1 Lawrence Lim 2006-12-10 05:06:22 EST
Please see if redhat-lsb-3.1-12.2.EL works for you.

*** This bug has been marked as a duplicate of 217566 ***
Comment 2 Hugh Brock 2006-12-11 09:23:50 EST
It does, thanks... sorry for the duplicate...

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