Mailing List Archive

[Bug 810] TZ environment variable not being set
http://bugzilla.mindrot.org/show_bug.cgi?id=810

Summary: TZ environment variable not being set
Product: Portable OpenSSH
Version: -current
Platform: MIPS
OS/Version: IRIX
Status: NEW
Severity: normal
Priority: P3
Component: sshd
AssignedTo: openssh-bugs@mindrot.org
ReportedBy: Al.Smith@aeschi.ch.eu.org


TZ is set and exported at the time when sshd is started.

However, by the time one arrives at line 1029 in session.c where
TZ is supposed to be propagated to the child's environment it is
no longer set. All users of the machine are thus destined to live
in GMT.

Maybe the setting of environ[0] to NULL at line 1111 of sshd.c should at
least try and preserve $TZ for future use?



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
[Bug 810] TZ environment variable not being set [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=810

dtucker@zip.com.au changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED



------- Additional Comments From dtucker@zip.com.au 2004-03-08 23:26 -------
This was fixed a couple of hours ago:
- (dtucker) [sshd.c] Back out rev 1.270 as it caused problems on some
platforms (eg SCO, HP-UX) with logging in the wrong TZ. ok djm@

Please try tomorrow's snapshot and re-open this bug if there are still problems.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.