From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.1) Gecko/20020826 Description of problem: When you set and export the TZ variable, it is lost upon su and this causes problems also with subprocesses not inheriting the value of TZ set by the parent. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Set and export the TZ variable. 2. Su to another user 3. TZ is now set to null again. Actual Results: The TZ variable has no value again. Expected Results: The TZ variable should still have the value it was set to. Additional info: I am not sure if I have filed this bug against the correct component, but I have as yet been unable to determine the most appropriate component responsible for this behaviour. This problem was NOT present on versions of RH 6.x. The problem IS present on RH 7.3 and 8.0, but I do not have 7.1/7.2 present to test on.
There was a bug in ld.so suid/sgid unsetenv, should be fixed in ftp://people.redhat.com/jakub/glibc/errata/7.3/ and ftp://people.redhat.com/jakub/glibc/2.3.1-2/
Are the RPMS listed above stable and tested? I am having the same issues on 7.3 and need to get a fix in place ASAP due to time-sensitive issues, but want to make sure these are OK to put on a production system. Thanks for your help, Andy.
The rpms have been released as errata for 7.3 and earlier, for 8.0 fixed glibc-2.3.1-6 is in rawhide.