vsfpd: timestamp problem when using chroot in RHEL5
Issue
- When using vsftpd in a chroot environment with CLST (Chile Summer Time) timezone, there is a difference in timestamps in /var/log/vsftpd.log.
- Example:
Wed Oct 15 12:46:12 2014 [pid 2926] CONNECT: Client "192.168.122.1"
Wed Oct 15 12:46:12 2014 [pid 2925] [ftpuser] OK LOGIN: Client "192.168.122.1"
Wed Oct 15 17:46:13 2014 [pid 2927] [ftpuser] OK UPLOAD: Client "192.168.122.1", "/hosts", 334 bytes, 2.20Kbyte/sec
Note that it jumps from 12:46hs to 17:46hs.
- The problem is only present in RHEL5. In RHEL6 it works fine (there are not time jumps):
Tue Oct 21 16:33:35 2014 [pid 1455] CONNECT: Client "192.168.122.1"
Tue Oct 21 16:33:35 2014 [pid 1454] [ftpuser] OK LOGIN: Client "192.168.122.1"
Tue Oct 21 16:33:35 2014 [pid 1456] [ftpuser] OK UPLOAD: Client "192.168.122.1", "/hosts", 334 bytes, 2.91Kbyte/sec
Environment
- Red Hat Enterprise Linux (RHEL) 5
- vsftpd-2.0.5-28.el5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.