From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/6371 Path: news.gmane.org!not-for-mail From: Timo Teras Newsgroups: gmane.linux.lib.musl.general Subject: Re: do_tzset() prevents reusing the same name of a timezone file Date: Sun, 19 Oct 2014 13:00:29 +0300 Message-ID: <20141019130029.416ada2c@vostro> References: <20141019022056.GJ32028@brightrain.aerifal.cx> <20141019093611.GO10045@example.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1413712890 12867 80.91.229.3 (19 Oct 2014 10:01:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Oct 2014 10:01:30 +0000 (UTC) Cc: musl@lists.openwall.com To: u-wsnj@aetey.se Original-X-From: musl-return-6384-gllmg-musl=m.gmane.org@lists.openwall.com Sun Oct 19 12:01:23 2014 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1XfnIg-0000eS-2X for gllmg-musl@plane.gmane.org; Sun, 19 Oct 2014 12:01:22 +0200 Original-Received: (qmail 32442 invoked by uid 550); 19 Oct 2014 10:01:21 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 32434 invoked from network); 19 Oct 2014 10:01:21 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=Pnq+ad2ChaLp+07jQ9tiCz0qw+OhS37QHbePT3BI2YM=; b=LqMO+E9Z+fl88RL5WHlMeMsAzgFJ7EQSs7Rn6qftn3E+MKUyDwK0OcmgdGezDggg8e 6LBU31gqgzpX5/MSyWPQMKw1N6z/AatBTKbGVHBA/L3VzK58ifHwQbFMj50Tussl3FDG 5WKNR9LBgrt/xnNN8um9rOENBinha/K9rwYfGJ6VZBNvaoFi9f3Ag926TdP1HS4nPenM 0GV1ZMLLfQvuGsiUAKIyYmNkT6Uu2o4H7i959c79DoG5CizpvzKjQLhyTDu7csOVKtcz 5qKYRsCBsNw1muT9BUMNMo2vM6WMJnhzJ7NOlD7Mv4fxaOdn6HzvhgfosO81nc5r4Rzt tIkA== X-Received: by 10.112.219.3 with SMTP id pk3mr20122144lbc.18.1413712870085; Sun, 19 Oct 2014 03:01:10 -0700 (PDT) Original-Sender: =?UTF-8?Q?Timo_Ter=C3=A4s?= In-Reply-To: <20141019093611.GO10045@example.net> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.23; x86_64-alpine-linux-musl) Xref: news.gmane.org gmane.linux.lib.musl.general:6371 Archived-At: On Sun, 19 Oct 2014 11:36:11 +0200 u-wsnj@aetey.se wrote: > On Sun, Oct 19, 2014 at 11:26:08AM +0400, =D0=9A=D0=BE=D1=80=D0=BE=D0=BB= =D0=B5=D0=B2 =D0=A1=D0=B5=D1=80=D0=B3=D0=B5=D0=B9 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. >=20 > 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. >=20 > 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. Perhaps logging is not best example here. But I think the original point is valid. If I use TZ=3D:localtime, and /etc/localtime symlink is updated to point to different file, or the tzdata is upgraded and the file is updated, long running processes should pick up the changes.