Bug 158779 - vsftp log switches between time and utc time
vsftp log switches between time and utc time
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: vsftpd (Show other bugs)
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Radek Vokal
Mike McLean
Depends On:
Blocks: 156322
  Show dependency treegraph
Reported: 2005-05-25 13:32 EDT by Bret
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2005-552
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-05 10:30:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2005:552 qe-ready SHIPPED_LIVE vsftpd bug fix update 2005-10-05 00:00:00 EDT

  None (edit)
Description Bret 2005-05-25 13:32:38 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

Description of problem:
Vsftpd logs time incorrectly, switching between the machine's local time and UTC time.

The configuration we use is locking users into their home directories (chroot_local_user), which may be the culprit.  I have included a snippet from a bug report to SUSE with similar behavior below.  

The time logs correctly until, for example, you create a directory.  If, for the next command then, you remove that same directory, the log entry shows up with the UTC time.

Here is an example:

Wed May 25 11:59:41 2005 [pid 9674] [tester] OK LOGIN: Client ""

Wed May 25 12:01:24 2005 [pid 9676] [tester] OK MKDIR: Client "", "/test1"

Wed May 25 17:02:15 2005 [pid 9676] [tester] OK RENAME: Client "", "/test /test.txt"

Wed May 25 12:02:21 2005 [pid 9700] CONNECT: Client ""


From SUSE site:


Due to glibc changes the timezone info was reinitialized 
after vsftp did chroot, and thus was some log entries with 
UTC as timezone. This fix makes vsftpd use the correct 
timezone in the chroot environment.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Our vsftpd.conf has anonymous_enable=NO,local_enable=YES,chroot_local=YES, etc...  I think that may be enough to reproduce this

2. FTP in using a local machine account.  Create a directory (mkdir test)

3. Then remove it, (rm test)

4.  Check the logs to see if the time discrepancy shows up

Additional info:
Comment 2 Radek Vokal 2005-06-01 06:46:35 EDT
Fixed in rawhide and added to propose list .. 
Comment 14 Red Hat Bugzilla 2005-10-05 10:30:40 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


Note You need to log in before you can comment on or make changes to this bug.