This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: glibc build - timestamps on syslog are in UTC/GMT
- From: Florian Weimer <fweimer at redhat dot com>
- To: "S1, SRIKANTH (SRIKANTH)" <srikanth dot s1 at alcatel-lucent dot com>, "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Cc: "A, KRISHNA PRAMOD (KRISHNA PRAMOD)" <krishna_pramod dot a at alcatel-lucent dot com>
- Date: Thu, 30 Jul 2015 21:31:13 +0200
- Subject: Re: glibc build - timestamps on syslog are in UTC/GMT
- Authentication-results: sourceware.org; auth=none
- References: <659E7C41D3BFC34DB635F2C3BC806B5F1B964D at SG70XWXCHMBA02 dot zap dot alcatel-lucent dot com>
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