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
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 :)