From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CIBnM6cV62PL8wAAbAwnHQ (envelope-from ) for ; Tue, 14 Feb 2023 06:01:27 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id UBmLM6cV62MLdQAA9RJhRA (envelope-from ) for ; Tue, 14 Feb 2023 06:01:27 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7BA5534099 for ; Tue, 14 Feb 2023 06:01:27 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=A93q1KOX; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676350887; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=wIw7XPnau3rfMky7mJddpiDD74nZYaGLAwtQmOMnv3M=; b=RBZdeV/nAWEoqgZMFtD5DS95IActYaG79SYlVURM7wtZaUr+O44cvTx+NgrJQLR3ygyjXD BJx3Ic1Ct5ex/Hz40tgGvnuhmFDynSxh22+zAzXYJSUn83kBdKd8kuEA9y2jmUFzyAAPkh UprOhT0ptNlCmXlp1gRLBWtRe5LQQbG8HxRIQJfa5auWy50ijlNQB1xpZRI8I5Qfo3IxoG zZilS8NZTthqLzXSoPRSN5Y9Hv/KKd16pVF+0sbw/rBCe4HDu4n405QJzsxhy3o+KiDGGd uzaTB1IBOFfVaWQhUjc1nnBP5tB3RsilmAdi9hfHTHGWZi2yL1G1Q0YwYW41lg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=A93q1KOX; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676350887; a=rsa-sha256; cv=none; b=OYZYDK8dVqkDq1iZMN8zGS+rCMOuM6lAX35/ufm9cw5iW+IW8ZBHsK04/sAFf3jC1NDwob fRbANw9prD7fpAoCSDu9wSNnwA8d8wKwIcdilU2RH0xN6tZ4jtf1wDBT2BA6CLQaV9Ru0M uooDQwimiiYKYwo7K/7a1bVomt4k2X7u00nfSXFrfhOL+OG3q+a/Ls6KZ9DIRUVq2LwAsk xWS4VHtZ+PImbjW2LOx/6DKy7kToivzYwHE95Z8vaJpHXwbqsMAOOhkZQsWx1eRsacYrDR rgYy7Hb7d8Ug5rah8aYG1NrHM+FZDCmPaoBZECEV9lLrpP3P2agJO7nB84MICQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pRnRI-0005b6-JD; Tue, 14 Feb 2023 00:01:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pRnR9-0005Zd-M2 for bug-guix@gnu.org; Tue, 14 Feb 2023 00:01:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pRnR8-0006q1-LY for bug-guix@gnu.org; Tue, 14 Feb 2023 00:01:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pRnR8-0000m6-4R for bug-guix@gnu.org; Tue, 14 Feb 2023 00:01:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#59368: icecat does not honor /etc/timezone starting with 102.3.0. Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 14 Feb 2023 05:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59368 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 59368@debbugs.gnu.org Received: via spool by 59368-submit@debbugs.gnu.org id=B59368.16763508362932 (code B ref 59368); Tue, 14 Feb 2023 05:01:02 +0000 Received: (at 59368) by debbugs.gnu.org; 14 Feb 2023 05:00:36 +0000 Received: from localhost ([127.0.0.1]:52264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRnQh-0000lE-PC for submit@debbugs.gnu.org; Tue, 14 Feb 2023 00:00:36 -0500 Received: from mail-qv1-f51.google.com ([209.85.219.51]:40615) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pRnQf-0000kz-EU for 59368@debbugs.gnu.org; Tue, 14 Feb 2023 00:00:33 -0500 Received: by mail-qv1-f51.google.com with SMTP id l7so4846335qvw.7 for <59368@debbugs.gnu.org>; Mon, 13 Feb 2023 21:00:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:to:from:from:to:cc:subject:date:message-id:reply-to; bh=wIw7XPnau3rfMky7mJddpiDD74nZYaGLAwtQmOMnv3M=; b=A93q1KOXkob/GNgQaVZ2HO2m0w9IvDnmPzfw+ZXoJKCm9SU/3GcF62WqeTx1PLgerj 59fw9Ta8BZ067fhlmANYVn9D6M/9D0EEUNnHUgobd/2B/ipeWX+kGIqDVNAhDXPlPl9H SJ25A5vEX4T3P+R6/PRkBIiAzZbATlRB7TbQhkLAJGUj+kixO3SFhxUu6nGodfLjogor Os6LmoH5YChGJ2bd6r4zUiOih++3JR91rDsfZCaLUraHQvQfOYDjnrpa+o3Gc6HPaCKN E37H9gNWLbrvGRHHhWO/s+0dleUnV9PZx16SGGGbCGRYtHokOR5W7B5+6haA9HIoOXTl 27ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:in-reply-to:date:references :subject:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=wIw7XPnau3rfMky7mJddpiDD74nZYaGLAwtQmOMnv3M=; b=XoXyXiHiXrsSH6Y4TJWsTbrNcqirHEk3R4wpgAWiOYouwLdMXoenUMeXL3x4CAoyPy H+Ay1ZScZwaG6D2q3BtRXbvo0ClMUp4s/PXrxYtONcPQrPJ6cbWT5wAx+LRpus4eP7UM 9cB7jWmHt04DVyHjOFg5estu9u48UurrTGxUQErhH/RfogwDcmwzt4S9QF9OBDRvOher K6Fu2idubPw/JjoikJRMAcuOjuS9jiOU50ts6OpKb+qPi2kyBCSJkacnPWDBghg71xMd 1CN2juWx7hFCXs7xHJfuJ7nAN2kqN/ri6GyABnTV0J78E9TSxMzD9sBC1S5uIFnfaqEi HFMA== X-Gm-Message-State: AO0yUKXaAc8NcSoAXs5dcSGxebNnuo2ZWBT4xnDZIM9XOXG9kHFeh2P8 w4vhvhSLU776rs36l75JHP34muKTTrFUwg== X-Google-Smtp-Source: AK7set9NVa/9R34Mj9JQDOzBYvAeBxo1quCmtSs+JgZbEHmRk8crmBgaVt0JBMkIm83h4G216G/qpA== X-Received: by 2002:a05:6214:2e0c:b0:56e:ab46:c481 with SMTP id mx12-20020a0562142e0c00b0056eab46c481mr10450026qvb.20.1676350827461; Mon, 13 Feb 2023 21:00:27 -0800 (PST) Received: from hurd (dsl-10-133-137.b2b2c.ca. [72.10.133.137]) by smtp.gmail.com with ESMTPSA id s128-20020ae9de86000000b0073b2f1c8329sm5306909qkf.28.2023.02.13.21.00.26 for <59368@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Feb 2023 21:00:26 -0800 (PST) From: Maxim Cournoyer References: <87iljc2gat.fsf@gmail.com> <871qmtdxc1.fsf@gmail.com> <87wn4lc7tt.fsf@gmail.com> Date: Tue, 14 Feb 2023 00:00:25 -0500 In-Reply-To: <87wn4lc7tt.fsf@gmail.com> (Maxim Cournoyer's message of "Mon, 13 Feb 2023 21:13:50 -0500") Message-ID: <87h6vodeom.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: X-Migadu-Queue-Id: 7BA5534099 X-Spam-Score: 4.58 X-Migadu-Spam-Score: 4.58 X-Migadu-Scanner: scn0.migadu.com List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: JJIh/09bflEg Hi, Pushing the investigation a bit, the Mozilla suite makes use of ICU to get to know the host timezone name, and reviewing its source, I confirm the behavior experienced. The ICU-provided 'TimeZone::detectHostTimeZone' procedure calls to 'uprv_tzname' which first attempts to read the TZ environment variable, else expects /etc/localtime to be a symlink. I found another explanation for the rationale behind the /etc/localtime being a symlink design choice [0]: On many systems /etc/localtime is a symlink to a timezone file. It is conceivable that a program might be running when the /etc/localtime symlink is updated. If this were to happen, glibc would notice this when localtime is called and re-read the file before doing any time conversions. [0] https://blog.packagecloud.io/set-environment-variable-save-thousands-of-system-calls/ This article is worth reading and further demonstrates that simply setting the TZ environment variable can lead to a large reduction of system calls (from 11 to 1 for a every 'time' C library call). So the choice to make here for Guix would be: 1. Do as most other distributions and have /etc/localtime be a symlink pointing to the timezone file. OR 2. Set TZ and reap some performance benefits. The disadvantage of going with 2. is that users would then require to restart their system following a reconfiguration changing their time zone, which is not user friendly. So I think I'd go with 2, knowing that savvy users wanting to shave some extra resources can always set the TZ environment variable themselves. Thoughts? -- Thanks, Maxim