Re: TZ variable lost in openssh-3.8 upgrade
From: Darren Tucker (dtucker_at_dodgy.net.au)
Date: 03/23/04
- Next message: Darren Tucker: "Re: openssh-3.8p1 compile problem"
- Previous message: Thomas Gaeng: "TZ variable lost in openssh-3.8 upgrade"
- In reply to: Thomas Gaeng: "TZ variable lost in openssh-3.8 upgrade"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 23 Mar 2004 01:16:24 +0000 (UTC)
In article <Pine.SGI.3.96.1040322181241.169195C-100000@cheyenne.nascom.nasa.gov>,
Thomas Gaeng <gaeng@cheyenne.nascom.nasa.gov> wrote:
>I have just upgraded from
> OpenSSH_3.7.1p2, SSH protocols 1.5/2.0, OpenSSL 0.9.7c 30 Sep 2003
>to
> OpenSSH_3.8p1, SSH protocols 1.5/2.0, OpenSSL 0.9.7d 17 Mar 2004
[snip]
>Now when I connect via ssh from either a openssh-3.7 and openssh-3.8
>client to the openssh-3.8 server I loose the TZ variable settings.
Known problem, already fixed in -current
http://bugzilla.mindrot.org/show_bug.cgi?id=810
There's no patch in the bug so:
--- sshd.c 29 Feb 2004 09:11:30 -0000 1.273
+++ sshd.c 8 Mar 2004 11:13:12 -0000 1.274
@@ -1105,11 +1104,6 @@ main(int ac, char **av)
/* Chdir to the root directory so that the current disk can be
unmounted if desired. */
chdir("/");
-
-#ifndef HAVE_CYGWIN
- /* Clear environment */
- environ[0] = NULL;
-#endif
/* ignore SIGPIPE */
signal(SIGPIPE, SIG_IGN);
--
Darren Tucker (dtucker at zip.com.au)
GPG key 8FF4FA69 / D9A3 86E9 7EEE AF4B B2D4 37C9 C982 80C7 8FF4 FA69
Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.
- Next message: Darren Tucker: "Re: openssh-3.8p1 compile problem"
- Previous message: Thomas Gaeng: "TZ variable lost in openssh-3.8 upgrade"
- In reply to: Thomas Gaeng: "TZ variable lost in openssh-3.8 upgrade"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|