Mailing List Archive

[Bug 1214] some log messages ignore TZ
http://bugzilla.mindrot.org/show_bug.cgi?id=1214


u1081@zjod.net changed:

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






------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
http://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 1214] some log messages ignore TZ [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=1214

Summary: some log messages ignore TZ
Product: Portable OpenSSH
Version: 4.3p2
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo: bitbucket@mindrot.org
ReportedBy: u1081@zjod.net
CC: u1081@zjod.net


Fedora core 5 on a Pentium 4 w/openssh-server-4.3p2-4: Some log
messages are ignoring the TZ variable (I'm in "CST6CDT"):
Aug 5 17:06:35 zjod sshd[17101]: Invalid user test from 202.152.180.55
Aug 5 22:06:35 zjod sshd[17102]: input_userauth_request: invalid user
test
Aug 5 17:06:35 zjod sshd[17101]: pam_unix(sshd:auth): check pass; user
unknown
Aug 5 17:06:35 zjod sshd[17101]: pam_unix(sshd:auth): authentication
failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=202.152.180.55
Aug 5 17:06:35 zjod sshd[17101]: pam_succeed_if(sshd:auth): error
retrieving information about user test
Aug 5 17:06:37 zjod sshd[17101]: Failed password for invalid user test
from 202.152.180.55 port 55329 ssh2
Aug 5 22:06:37 zjod sshd[17102]: Failed password for invalid user test
from 202.152.180.55 port 55329 ssh2
Aug 5 22:06:37 zjod sshd[17102]: Received disconnect from
202.152.180.55: 11: Bye Bye




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs
[Bug 1214] some log messages ignore TZ [ In reply to ]
http://bugzilla.mindrot.org/show_bug.cgi?id=1214





------- Comment #1 from dtucker@zip.com.au 2006-08-06 17:12 -------
Actually the TZ environment variable is there but because the privsep
slave is chrooted it does not have access to the /etc/localtime file
that tells how to interpret the TZ string.

The workaround is to create /etc/localtime inside the chroot ("mkdir
/var/empty/etc && cp -a /etc/localtime /var/empty/etc/" if you have the
chroot in the standard place).




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs