Re: /var/log/messages internal-sftp time stamp problem
- From: Dan Nelson <dnelson@xxxxxxxxxxxxxxx>
- Date: Thu, 4 Jun 2009 16:26:39 -0500
In the last episode (Jun 04), Greg Wooledge said:
On Wed, Jun 03, 2009 at 05:42:23PM +0100, Syy Bak wrote:
internal-sftp subsystem are one hour behind systems clock as if[...]
internal-sftp subsystem would only observe UTC (GMT) time zone without
not sure sure if this is something to do with chrooting)?
Running the internal sftp inside a chroot could definitely account for
that. Your operating system may have a file or a symbolic link somewhere
in /etc which determines the default time zone; or it may just use the TZ
environment variable. They're all different.
Shouldn't sshd still have the timezone information from before it chrooted,
though? Internal-sftp doesn't exec a new process, so as long as it called
some function that read /etc/localtime before the chroot it should know the
correct timezone.
--
Dan Nelson
dnelson@xxxxxxxxxxxxxxx
- References:
- /var/log/messages internal-sftp time stamp problem
- From: Syy Bak
- Re: /var/log/messages internal-sftp time stamp problem
- From: Greg Wooledge
- /var/log/messages internal-sftp time stamp problem
- Prev by Date: Re: /var/log/messages internal-sftp time stamp problem
- Next by Date: Re: /var/log/messages internal-sftp time stamp problem
- Previous by thread: Re: /var/log/messages internal-sftp time stamp problem
- Next by thread: Re: /var/log/messages internal-sftp time stamp problem
- Index(es):
Relevant Pages
|