Bug 449852 - screen doesn't preserver perticular env vars
screen doesn't preserver perticular env vars
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: screen (Show other bugs)
9
All Linux
low Severity low
: ---
: ---
Assigned To: Miroslav Lichvar
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2008-06-03 17:40 EDT by P Jones
Modified: 2008-06-03 17:42 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-06-03 17:42:51 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 P Jones 2008-06-03 17:40:31 EDT
Description of problem:
Screen passes environment variables to subprocesses, but filters out $NLSPATH 

Version-Release number of selected component (if applicable):
fedora-release-9-2.noarch
screen-4.0.3-10.fc8.x86_64

How reproducible:
Always

Steps to Reproduce:
1. run "NLSPATH=foo screen"
2. in screen echo $NLSPATH
3. compare by changing NLSPATH to something else.
  
Actual results:
NLSPATH not set in subshells, any other environment variable is. 

Expected results:
All environment variables should be passed to subprocesses, except those listed
in docs.

Additional info:
Other var's, like the LC_* ones, are preserved
Comment 1 P Jones 2008-06-03 17:42:51 EDT
quote from glibc's docs:

Note: Dynamic linking code unsets certain environment variables for suid
binaries. These environment variables are:

GCONV_PATH HOSTALIASES LD_AOUT_LIBRARY_PATH LD_AOUT_PRELOAD LD_DEBUG_OUTPUT
LD_LIBRARY_PATH LD_ORIGIN_PATH LD_PRELOAD LD_PROFILE LOCALDOMAIN LOCPATH
MALLOC_TRACE NLSPATH RESOLV_HOST_CONF RES_OPTIONS TMPDIR TZDIR

Unless there's a file '/etc/suid-debug', also MALLOC_CHECK_ variable is unset.


Sorry :)

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