Re: Odd timestamps with vsftpd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 08, 2006 at 12:32:07PM -0700, Ashley M. Kirchner wrote:
>    I just noticed this on my FC5 machine: the vsftpd log file doesn't 
> have the correct time stamps in it:
> 
>    > tail -1 /var/log/vsftpd
>    Wed Nov  8 18:08:55 2006 [pid 7904] [sunshyn] OK UPLOAD:
>            Client "216.x.x.x", "/roospark102006.gif", 2349043 bytes, 
> 10.88Kbyte/sec
> 
> 
>    But the file itself has the correct time on it:
> 
>    > ls -l ~sunshyn/roospark102006.gif
>    -rw-r--r-- 1 sunshyn sunshyn 2349043 Nov  8 11:08
>            /home/sunshyn/roospark102006.gif
> 
> 
>    Looks like vsftpd doesn't take into account the timezone I'm in when 
> it's writing to its log file.  Is anyone else noticing this?

It's because vsftpd (and samba and some other services) are running
in a chroot environment, and lack the appropriate timezone information
files, so they log in UTC0, which is seven hours ahead of you.

Regards,

	Bill Rugolsky


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux