My Favorites

Close

Please to see your favorites.

  • Bookmark
  • Email Document
  • Printer Friendly
  • Favorite
  • Rating:

vsftpd log messages have time stamp inconsistency

This document (3345067) is provided subject to the disclaimer at the end of this document.

Environment

Novell SUSE Linux Enterprise Server 9 SP3

Situation

After updating from SLES 9 SP2 to SLES 9 SP3, time stamps of certain vsftpd log messages began showing time in Greenwich Mean Time (GMT) rather than in the machine's local time.
 
For example:
 
Jul 17 17:05:32 nts132 xinetd[5863]: Reading included configuration file: /etc/xinetd.d/vsftpd [file=/etc/xinetd.d/vsftpd] [line=90]
Jul 17 23:08:49 nts132 vsftpd: Tue Jul 17 17:08:49 2007 [pid 6243] CONNECT: Client "127.0.0.1"
Jul 17 17:08:53 nts132 vsftpd: Tue Jul 17 17:08:53 2007 [pid 6242] [ftp] OK LOGIN: Client "127.0.0.1", anon password "d"
 
Note that the first time stamp in of the line showing the CONNECT message is six hours ahead of the second time stamp on that same line. The six hours corresponds to the difference between local time and GMT on the machine in question.

Resolution

A major vsftpd update is included in SLES 9 SP4, which (among other things) addresses this issue.  Short of that, the issue can be worked around as follows:
 
vsftpd chroots some of it's own processes to the /usr/share/empty directory. Create a subdirectory named "etc" at that location and copy /etc/localtime to /usr/share/empty/etc/localtime. This will allow these chrooted vsftpd processes to find the localtime file and log messages in localtime instead of GMT.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:3345067
  • Creation Date:07-DEC-07
  • Modified Date:27-APR-12
    • SUSESUSE Linux Enterprise Server

Did this document solve your problem? Provide Feedback

< Back to Support Search

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center