This service will be undergoing maintenance at 20:00 UTC, 2017-04-03. It is expected to last about 30 minutes
Bug 159387 - newgrp resets LD_LIBRAY_PATH variable
newgrp resets LD_LIBRAY_PATH variable
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: util-linux (Show other bugs)
3.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Karel Zak
Ben Levenson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-02 05:29 EDT by Stefan Rystedt
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-06-16 05:27:25 EDT
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 Stefan Rystedt 2005-06-02 05:29:34 EDT
Description of problem:
The newgrp commands resets the LD_LIBRARY_PATH variable.
This wreck havocs with many of the scripts we are using today.
It does not do that in solaris version of newgrp. Is this an
intended featur or a bug?

Version-Release number of selected component (if applicable):
util-linux-2.11y-31.1

How reproducible:
always

Steps to Reproduce:
1. Set LD_LIBRARY_PATH
2. run newgrp
3. echo LD_LIBRAY_PATH and se that it is undefined
  
Actual results:
LD_LIBRARY_PATH gets undefined.

Expected results:
LD_LIBRARY_PATH should keep its value.
Comment 1 Karel Zak 2005-06-02 08:50:25 EDT
-rws--x--x  1 root root 10112 Dec 21 21:43 /usr/bin/newgrp
   ^
 it's feature

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