TZ variable lost in openssh-3.8 upgrade

From: Thomas Gaeng (gaeng_at_cheyenne.nascom.nasa.gov)
Date: 03/23/04


Date: Mon, 22 Mar 2004 18:12:57 -0500

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

Here is how the make file was configured:
It has tcpwrapper and privseperation. the paths are changed so it
an just replace sgi's fw_ssh software locations.
> ./configure --with-ssl-dir=/usr/local/ssl
> --with-tcp-wrappers=/usr/local/lib --with-privsep-user=sshd
> --sysconfdir=/etc/ssh --exec-prefix=/usr/freeware
> --with-default-path=/usr/sbin:/usr/bsd:/sbin:/usr/bin:/usr/bin/X11:/usr/freeware/bin:/usr/local/bin

Nothing has changed in the ssh or sshd config files.

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.

I have tried setting TZ variable in /etc/ssh/ssh_config,
/etc/ssh/sshd_config ~/.ssh/environment but that didn't work. I have
added the "setenv TZ EST5EDT" line to /etc/TIMEZONE which is a
system-wide workaround (same entry also works on user's ~/.cshrc) - see:

#grep -v # /etc/TIMEZONE
TZ=EST5EDT
setenv TZ EST5EDT

but the SYSLOG entry still has the default GMT date.
stop/restart /usr/etc/syslogd does NOT fix it.

The openssh.org site list some timezone work but nothing
specific - see: http://www.openbsd.org/plus.html

I'd appreciate any idea's on how to fix this.

thx,
                  Thomas

==============================================================
 Thomas Gaeng phone: 301-286-5364
 NASA/GSFC, Greenbelt, MD 20771 fax: 301-286-1624
 Code 682.4, Bldg: 3, Room: S5B pager: 800-759-8888
 Email Page: 1143566@skytel.com + enter PIN: 1143566
==============================================================



Relevant Pages

  • TZ variable lost in openssh-3.8 upgrade
    ... Nothing has changed in the ssh or sshd config files. ... setenv TZ EST5EDT ... but the SYSLOG entry still has the default GMT date. ... I'd appreciate any idea's on how to fix this. ...
    (comp.sys.sgi.admin)
  • Re: Linux 2.6.26-rc1
    ... fix for modular builds" patch on lkml. ... stkwebcam patch can be re-done without forcing suport to the legacy V4L1 API. ... config USB_STKWEBCAM ... +#warning You need to configure some hardware for this driver ...
    (Linux-Kernel)
  • Please pull git390 for-linus branch
    ... to receive the following updates: ... idle: Fix machine check handling in idle loop. ... Fix IPL from NSS. ... +config FORCE_MAX_ZONEORDER ...
    (Linux-Kernel)
  • [2.6.25 - stable] Fix Kconfig dependencies to prevent CONFIG_X86_VSMP from vanishing
    ... There was a Kconfig bug found sometime back which made CONFIG_X86_VSMP ... disappear from the .config. ... The fixes consisted of 3 patches, but the first one is sufficient to fix the ... bool "Support for ScaleMP vSMP" ...
    (Linux-Kernel)
  • Re: [PATCH] Re: THE LINUX/I386 BOOT PROTOCOL - Breaking the 256 limit
    ... Why don't you put this variable at config, ... i386/boot.txt so that it will state that boot protocol 2.02+ field ... Also fix "The kernel command line is null-terminated string up to 255 ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)