Description of problem: xterm is installed setgid utempter. This means that any LD_CONFIG_PATH set in a user's .profile or .bash_profile is destroyed. Version-Release number of selected component (if applicable): xterm-225-2.fc7 How reproducible: Add LD_LIBRARY_PATH=/some/path to .profile. Exec xterm from a login shell. Check environment. Steps to Reproduce: 1. $ tail -n2 .profile export LD_LIBRARY_PATH=/home/peter/opt/lib:$LD_LIBRARY_PATH export LD_TEST=/foo/bar 2. $ (exec -l /bin/sh -c "env | grep LD") LD_LIBRARY_PATH=/home/peter/opt/lib: LD_TEST=/foo/bar 3. $ (exec -l /bin/sh -c "exec xterm -geometry 80x24-0-0") 4. In new xterm window: $ env | grep LD LD_TEST=/foo/bar Additional info: In F7, this also affects Konsole.
This is related to Bug 164869.
xterm has to have utempter setgid since directory where the utempter binary is located is accessible only to group utempter. *** This bug has been marked as a duplicate of 229360 ***