Bug 76910 - TZ variable setting lost
TZ variable setting lost
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: glibc (Show other bugs)
8.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-10-29 05:25 EST by Need Real Name
Modified: 2008-05-01 11:38 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-11-04 15:23:35 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2002-10-29 05:25:58 EST
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.
Comment 1 Jakub Jelinek 2002-10-29 05:43:16 EST
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/
Comment 2 Andrew Rechenberg 2002-11-04 15:23:29 EST
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.
Comment 3 Jakub Jelinek 2002-12-03 18:19:03 EST
The rpms have been released as errata for 7.3 and earlier, for 8.0 fixed
glibc-2.3.1-6 is in rawhide.

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