Red Hat Bugzilla – Bug 172274
tftp-server log in GMT instead of localtime
Last modified: 2007-11-30 17:07:08 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):
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.
server_args = -v -s /tftpboot
Add localtime in /tftpboot/etc solve the problem.
# mkdir /tftpboot/etc
# cp -p /etc/localtime /tftpboot/etc
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: Cannot open map file: /etc/tftpd.rules:
No such file or directory
Mar 18 05:39:40 bender in.tftpd: RRQ from 10.10.10.10 filename
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
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.
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.
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.