This service will be undergoing maintenance at 00:00 UTC, 2016-09-28. It is expected to last about 1 hours
Bug 172274 - tftp-server log in GMT instead of localtime
tftp-server log in GMT instead of localtime
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: tftp (Show other bugs)
3.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Radek Vokal
David Lawrence
:
Depends On:
Blocks: RHEL3U8CanFix 242653
  Show dependency treegraph
 
Reported: 2005-11-02 02:10 EST by masanari iida
Modified: 2007-11-30 17:07 EST (History)
1 user (show)

See Also:
Fixed In Version: RHBA-2006-0312
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-07-20 10:37:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description masanari iida 2005-11-02 02:10:48 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728

Description of problem:
tftp-server log (/var/log/messages) timestamp is in GMT, instead of localtime.

Version-Release number of selected component (if applicable):
tftp-server-0.39-0.EL3.1	

How reproducible:
Always

Steps to Reproduce:
1. install tftp-server RPM
2. setup tftproot directory in /etc/xinetd.d/tftp
3. download some files... then see logs.
  

Actual Results:  logging time is in GMT

Expected Results:  logging time should be in localtime.

Additional info:

/etc/xinetd.d/tftp
        server_args             = -v -s /tftpboot

Add localtime in /tftpboot/etc solve the problem.
# mkdir /tftpboot/etc
# cp -p /etc/localtime /tftpboot/etc
Comment 1 Curtis Doty 2006-03-18 02:49:06 EST
I've seen this bug for some time now. Oddly, it only syslogs in GMT for some
messages. Here is a recent example on Fedora Core 4:

Mar 17 21:38:47 bender in.tftpd[31938]: Cannot open map file: /etc/tftpd.rules:
No such file or directory
Mar 18 05:39:40 bender in.tftpd[31977]: RRQ from 10.10.10.10 filename
c3500xl-c3h2s-tar.120-5.WC14.tar

The first error was my own fault for failing to create the file referenced in my
own addition of the -m option. Note the timestamp is *accurate* and reflects my
localtime PST.

The second error was a successful transfer. But it wrongly logs the time in GMT
only a minute of clock time after I resolved the error.

HTH
Comment 4 Bob Johnson 2006-04-11 12:24:25 EDT
This issue is on Red Hat Engineering's list of planned work items 
for the upcoming Red Hat Enterprise Linux 3.8 release.  Engineering 
resources have been assigned and barring unforeseen circumstances, Red 
Hat intends to include this item in the 3.8 release.
Comment 7 Red Hat Bugzilla 2006-07-20 10:37:59 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.

http://rhn.redhat.com/errata/RHBA-2006-0312.html

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