mailing list of musl libc
 help / color / mirror / code / Atom feed
From: u-wsnj@aetey.se
To: musl@lists.openwall.com
Subject: Re: do_tzset() prevents reusing the same name of a timezone file
Date: Sun, 19 Oct 2014 11:36:11 +0200	[thread overview]
Message-ID: <20141019093611.GO10045@example.net> (raw)
In-Reply-To: <CA+QjRnJmr1oReKFeBjeNjoqCzXCaF+xsbjAYe3t9oeBr3H8WRw@mail.gmail.com>

On Sun, Oct 19, 2014 at 11:26:08AM +0400, Королев Сергей wrote:
> The constant TZ pointing to the symlink used to apply timezone settings for
> all active processes in the system on the fly. This needs for proper
> logging with the syslog.

I may misunderstand what you mean by "proper logging" but logging
in local time when the time zone is expected to change does not look
reliable to me.

I would suggest telling the syslog daemon to work in UTC (by setting
its TZ variable to a corresponding value).
Then you always have consistent logs and do not have to analyze
which time zone a certain logged event happened in.

Regards,
Rune



  reply	other threads:[~2014-10-19  9:36 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-17 20:20 Королев Сергей
2014-10-19  2:20 ` Rich Felker
2014-10-19  7:26   ` Королев Сергей
2014-10-19  9:36     ` u-wsnj [this message]
2014-10-19 10:00       ` Timo Teras
2014-10-19 17:33         ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20141019093611.GO10045@example.net \
    --to=u-wsnj@aetey.se \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).