This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: glibc build - timestamps on syslog are in UTC/GMT


Hi Florian,

I have attached the zone information files for your reference, we do not have a flavor that runs on fedora or debian,

We tried both ways of setting TZ variable,

Using zone name eg Asia/Kolkata or specifying the filename itself ":/etc/localtime"

Please note that it works for a few zones like eastern central etc, but for others the timestamp goes to UTC/GMT

Thanks,
Srikanth

-----Original Message-----
From: Florian Weimer [mailto:fweimer@redhat.com] 
Sent: Friday, July 31, 2015 1:01 AM
To: S1, SRIKANTH (SRIKANTH); libc-alpha@sourceware.org
Cc: A, KRISHNA PRAMOD (KRISHNA PRAMOD)
Subject: Re: glibc build - timestamps on syslog are in UTC/GMT

On 07/30/2015 06:58 PM, S1, SRIKANTH (SRIKANTH) wrote:

> We recently built glibc 2.15 for armv7, and we notice a behavior in timestamps on syslog, by default if we do not set TZ variable all timestamps and log look fine, but when a setenv("TZ",zone,1) is done. The logs of binary which calls this code is in GMT/UTC. So is there any specifics that we need to look at?

What TZ string do you use?  If it refers to a TZ file, would you please file a bug and attach it?

Are you able to reproduce this on run-of-the-mill ARM platforms such as Fedora or Debian, so that I could debug it there?

--
Florian Weimer / Red Hat Product Security

Attachment: zoneinfo.tgz
Description: zoneinfo.tgz


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]