Ubuntu

Syslog time it's wrong

Reported by Bernardo Pita on 2010-08-24
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tftp-hpa (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: tftp-hpa

Hi, I want to report that the tftpd service put the time of the event (for example a download file) with the wrong time. We use here GMT -3, in a Debian server with the tftp version 5.0-15. Here is an example:

Aug 24 17:19:53 test in.tftpd[28127]: Stopping HPA's tftpd: in.tftpd
Aug 24 17:19:54 test in.tftpd[28133]: Starting HPA's tftpd: in.tftpd
Aug 24 17:20:01 test /USR/SBIN/CRON[28148]: xxx
Aug 24 20:20:05 test in.tftpd[28456]: RRQ from 10.197.248.84 filename /test.txt
Aug 24 17:21:01 test /USR/SBIN/CRON[28588]: xxx

As you can see, the system time it's 17:20:05 at the moment of the download, but the tftpd service send to syslog the GMT time.

Could you fix this ??

P.S.: I put a stop and start message in the init, because the service never report this situation to the syslog.

Cheers, Bernardo.

Mathias Gug (mathiaz) on 2010-08-25
Changed in tftp-hpa (Ubuntu):
importance: Undecided → Medium
Chuck Short (zulcss) wrote :

For some reason tftpd-hpa doesnt know what timezone your server is in and its reporting it as UTC.

chuck

Changed in tftp-hpa (Ubuntu):
importance: Medium → Low
status: New → Triaged
Tom Stocker (thomas-stocker) wrote :

This bug is still open after 2 1/2 year.... We're also affected. tftpd logs wrong times to syslog (UTC time instead of timezone). It would be great if someone could resolve this.

I took a look at the other logs, so I can assure it's tftp and not xinetd, since SSH logs correct time.

Maybe even a upstream (Debian) bug?

Cheers, Tom

Mar 27 16:29:02 wizard dhcpd: DHCPACK [...]
Mar 27 15:29:02 wizard in.tftpd[6864]: RRQ from [...]

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers