Received: (at 68411) by debbugs.gnu.org; 24 Jan 2024 15:11:30 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jan 24 10:11:30 2024 Received: from localhost ([127.0.0.1]:46293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rSeuX-0002V4-Bt for submit <at> debbugs.gnu.org; Wed, 24 Jan 2024 10:11:29 -0500 Received: from mx1.riseup.net ([198.252.153.129]:58008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <distopico@HIDDEN>) id 1rSeuU-0002Uf-IF for 68411 <at> debbugs.gnu.org; Wed, 24 Jan 2024 10:11:27 -0500 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4TKnTv3mcHzDqvN; Wed, 24 Jan 2024 15:11:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1706109075; bh=Yo7+sIWH14RynWs046lkO012/N+QFQ4AJ7SARBdi4VQ=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=Qilh2lrca7rMlpw3RX82gUPsnz0bCc0Bfg0nYD2MpNGLC18ac/q0kjWtZ+a6UcccP wXIIoL02Pma1wFTSRkW+25YdSUxeU0bg5dLpsAAfuanvX7RTuqugkhFCyPEuqH3BwG lNZLv38KBxSgMgnijuC58S3qm2wl5ctJm+jldP4o= X-Riseup-User-ID: E293A2F525A143B661694F6CC28FFCEE7ADB8E5E3AC9812E2F290EDE5CB913B1 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4TKnTt5mbpzJntZ; Wed, 24 Jan 2024 15:11:14 +0000 (UTC) References: <874jfiku6y.fsf@HIDDEN> <877ck6j63h.fsf@HIDDEN> From: Distopico <distopico@HIDDEN> To: Maxim Cournoyer <maxim.cournoyer@HIDDEN> Subject: Re: bug#68411: Timezone not detected from /etc/localtime Date: Wed, 24 Jan 2024 10:00:36 -0500 In-reply-to: <877ck6j63h.fsf@HIDDEN> Message-ID: <874jf2ydf4.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68411 Cc: 68411 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain On 2024-01-18, Maxim Cournoyer <maxim.cournoyer@HIDDEN> wrote: > Hi, > > Distopico <distopico@HIDDEN> writes: > >> Apps such as Icecat or ungoogled-chromium are not able to get the >> correct timezone from /etc/localtime when `/etc/localtime` is a realpath >> maybe because it expect /etc/share/zoneinfo, with readlink partially >> works fine some apps, maybe related with an icu bug.[1] > > I don't know about ungoogled-chromium, but for IceCat, I had > investigated the problem at length in https://issues.guix.gnu.org/59368, > and it seems the bug is not in ICU but in Firefox, triggered in very > specific situations (resistFingerprinting defaults to true before user > prefs are loaded, and resetting the timezone fails in some javascript > that expects /etc/localtime to be a symlink, see: > https://bugzilla.mozilla.org/show_bug.cgi?id=1817004#c8). But in icecat there is tow issues, one is related with the /etc/localtime that expect a symlink but also there is another one related with firefox sandbox, you can see here that `/usr` and `/nix` was added to a whitelist, those paths is where they expect have the zoneinfo files and `/gnu` is not in that whitelist (I already reported to firefox), and disabling `MOZ_DISABLE_CONTENT_SANDBOX=1` it and with the symlink the timezone works again. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFJBAEBCAAzFiEEvYwofabWO6y953lVmAk6gHJUa/MFAmWxKI8VHGRpc3RvcGlj b0ByaXNldXAubmV0AAoJEJgJOoByVGvzt64H/itK+zRRGsgA3o+5kr211Fa/OI84 GLdNKTAYgu3YQSZsUH58hhg0LA2uiX1vrbuMES5vQrnHJSrbavN8Ljk92BNLKs6W y7s7mVbpicILys6AI5Hv15IspHRJ58qOLEqFlkTxlDNhsbbqUyyOzZtkdJEym6+X uPyipLr4xx7W6GuQ/HJv0kRDSbvrW6klByBQnBgLh0je/YG31eRk04D+1WaYaII/ gysDeEwmdkEyDbHxmt91pblELcGiqp8jI3OS/VzmvH4wy9O5IhcrGMUE0Bj1pPFU ZDarKyeF5W5BWvG4vK2PA5LsNQGrVxUGvyqURjCkgyg44x+MSiKeR0UrN/g= =cJuv -----END PGP SIGNATURE----- --=-=-=--
bug-guix@HIDDEN
:bug#68411
; Package guix
.
Full text available.Received: (at 68411) by debbugs.gnu.org; 19 Jan 2024 04:32:47 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 18 23:32:47 2024 Received: from localhost ([127.0.0.1]:57165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rQgYg-0004JX-NV for submit <at> debbugs.gnu.org; Thu, 18 Jan 2024 23:32:47 -0500 Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735]:54531) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <maxim.cournoyer@HIDDEN>) id 1rQgYe-0004JJ-Gm for 68411 <at> debbugs.gnu.org; Thu, 18 Jan 2024 23:32:45 -0500 Received: by mail-qk1-x735.google.com with SMTP id af79cd13be357-7831806c51bso32883685a.1 for <68411 <at> debbugs.gnu.org>; Thu, 18 Jan 2024 20:32:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1705638756; x=1706243556; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=MAxg8L/nOabFNjBKI4Tl4F8JZSNQ2ZDCANExAL+zHlk=; b=leVz/B7zMicV71dxwCX3FUsyUZaJXxfX6tBY8/2NP+Y0QI2Hzu0L3epgmih3wYxqrU 2DviFaB+kcUB43j6hScxJY6wMQK2rLMZApPQWwUMYU0sdEROnuRUnm334DuU48/6lMnL gHPSwnrmAG/2ipVEkIG2A0a3Dlscp7vuwCZPAi6ho5OaTH/w0hk04slpWVS/IWK1Dsmv 3lHdG3ys/C+t31uyOJfsB3JXCxGtAb4xMvwQfUeMu8RiaGJCCZF7L7rV5ItJAkGZb/em HpUPlNgWDmwjgKWHIdG5ZWB1VIUaCf5tzShcUlNEzikFBeaKcuGqZ8RdbRzT9fFP4U9b Kx0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705638756; x=1706243556; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=MAxg8L/nOabFNjBKI4Tl4F8JZSNQ2ZDCANExAL+zHlk=; b=kOf+Vd29E5SPtjrTNUKkRivSVjE2UdIq1fnOxnIBE28Ni6UNSLOdpV7g9SvslOICWp lQ3uEP586x7N1fvfgNeFLuk1fbvbg04uxPK44e2MDmVkK6VQwDhZQXnr82tnwG5k7MIO zlYzr5wBbsMu4YpkE2qliC6xC0o7Z9URWEvWpRp3Nmafb+ZEEZsdi2uXESpqR/uYU7vo l0D+lTggd8PL2Eah/+tkWJM1FtwBI1hCt53j0SxYnTh61Ie05G9oBnC3tz3+JOtN0FtF AGXCJRE1RtpgowlqoWkkRUKYZhJBxzMi87r8ABhH1ys9tKF/fk49IQ0KN6vmmZ1Mbl7Q KC4Q== X-Gm-Message-State: AOJu0YxPhM3soP05UjqIxqmk0Dtm74XfABQ/Hm+6IyFIlm0s8UiQbqnX 6hWBXv6jt/CZOE3ZDf6X2Kbtk0Awy6xlPWRixkrCkdVkdadjNEephcMmD2lyJxA= X-Google-Smtp-Source: AGHT+IFTKze3Ng8Y5Iuty4uwRtwEvLr/TLUk5g9LGs7kfW8+ZsmtWsy2ZavWtn46oe6qQ7ujJW6W1A== X-Received: by 2002:a05:620a:2620:b0:783:50b7:f0db with SMTP id z32-20020a05620a262000b0078350b7f0dbmr879239qko.68.1705638756107; Thu, 18 Jan 2024 20:32:36 -0800 (PST) Received: from hurd (dsl-10-132-160.b2b2c.ca. [72.10.132.160]) by smtp.gmail.com with ESMTPSA id x22-20020a05620a0ed600b007831c7989a4sm5823598qkm.22.2024.01.18.20.32.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Jan 2024 20:32:35 -0800 (PST) From: Maxim Cournoyer <maxim.cournoyer@HIDDEN> To: Distopico <distopico@HIDDEN> Subject: Re: bug#68411: Timezone not detected from /etc/localtime In-Reply-To: <874jfiku6y.fsf@HIDDEN> (distopico@HIDDEN's message of "Fri, 12 Jan 2024 17:41:58 -0500") References: <874jfiku6y.fsf@HIDDEN> Date: Thu, 18 Jan 2024 23:32:34 -0500 Message-ID: <877ck6j63h.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68411 Cc: 68411 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Hi, Distopico <distopico@HIDDEN> writes: > Apps such as Icecat or ungoogled-chromium are not able to get the > correct timezone from /etc/localtime when `/etc/localtime` is a realpath > maybe because it expect /etc/share/zoneinfo, with readlink partially > works fine some apps, maybe related with an icu bug.[1] I don't know about ungoogled-chromium, but for IceCat, I had investigated the problem at length in https://issues.guix.gnu.org/59368, and it seems the bug is not in ICU but in Firefox, triggered in very specific situations (resistFingerprinting defaults to true before user prefs are loaded, and resetting the timezone fails in some javascript that expects /etc/localtime to be a symlink, see: https://bugzilla.mozilla.org/show_bug.cgi?id=1817004#c8). -- Thanks, Maxim
bug-guix@HIDDEN
:bug#68411
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 12 Jan 2024 23:29:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 12 18:29:02 2024 Received: from localhost ([127.0.0.1]:37964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rOQxS-0000l4-8x for submit <at> debbugs.gnu.org; Fri, 12 Jan 2024 18:29:02 -0500 Received: from lists.gnu.org ([2001:470:142::17]:43366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <distopico@HIDDEN>) id 1rOQxN-0000kX-JU for submit <at> debbugs.gnu.org; Fri, 12 Jan 2024 18:29:01 -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 <distopico@HIDDEN>) id 1rOQxJ-0000tX-MB for bug-guix@HIDDEN; Fri, 12 Jan 2024 18:28:53 -0500 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <distopico@HIDDEN>) id 1rOQxH-00086G-JW for bug-guix@HIDDEN; Fri, 12 Jan 2024 18:28:53 -0500 Received: from fews02-sea.riseup.net (fews02-sea-pn.riseup.net [10.0.1.112]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx0.riseup.net (Postfix) with ESMTPS id 4TBd5V0sW9z9tqD for <bug-guix@HIDDEN>; Fri, 12 Jan 2024 23:28:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1705102126; bh=54xLLgej+79w+RxatYORhE8Tjbt9kwhvv8AZ+1jQ+Q4=; h=From:To:Subject:Date:From; b=G7+jIn5V4c5kXIQcUwjn9O8uQz8R2XQxLKj9I8RzhcGYHUZ0oxkRDJCynfVcrF2HE HzGLHs73BkPH4xsBXr+Bw6cGiV6UaxuIBilf3hSN+M3ieaHy9ExoO6JMTZfI1N/d13 3EXOiKAqhh+tsjquRVGKHH0H1dOMXbkz9dj40Hns= X-Riseup-User-ID: 599983B224CC3251BF13DEAB037BA5C07B8AD817F8A68B60856628CDE54157B7 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews02-sea.riseup.net (Postfix) with ESMTPSA id 4TBd5T3p91zFtQg for <bug-guix@HIDDEN>; Fri, 12 Jan 2024 23:28:45 +0000 (UTC) From: Distopico <distopico@HIDDEN> To: bug-guix@HIDDEN Subject: Timezone not detected from /etc/localtime Date: Fri, 12 Jan 2024 17:41:58 -0500 Message-ID: <874jfiku6y.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.6; envelope-from=distopico@HIDDEN; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Apps such as Icecat or ungoogled-chromium are not able to get the correct timezone from /etc/localtime when `/etc/localtime` is a realpath maybe because it expect /etc/share/zoneinfo, with readlink partially works fine some apps, maybe related with an icu bug.[1] I just removed manually `/etc/localtime` and crate an symlink `sudo ln -s $TZDIR/$(cat /etc/timezone) /etc/localtime` and ungoogled-chromium works fine. Icecat in other hand has an additional bug related with icu[2][3] and folder policy where `/gnu` is not allowed so in order to make it work is necessary disable sandbox `MOZ_DISABLE_CONTENT_SANDBOX=1 icecat` or set manually TZ env `TZ=$(cat /etc/timezone) icecat`, btw I have `privacy.resistFingerprinting` false. The weird thing is that in almost all of those reported the error is the opposite where having a realpath solves it but in guix it is the problem, perhaps it could be because these apps have updated their code to make it work with `icu` v72 and guix has v71. Steps to reproduce it: - guix pull && guix package -u - Install last icecat or ungoogled-chromium version - Verify that you don't have $TZ set, unset it. - If it's Icecat open `about:config` and set `privacy.resistFingerprinting` to false - Open https://webbrowsertools.com/timezone/ in the browser - Check the timezone - sudo rm -r /etc/localtime && sudo ln -s $TZDIR/$(cat /etc/timezone) /etc/localtime - Open chromium or `MOZ_DISABLE_CONTENT_SANDBOX=1 icecat` - Visit https://webbrowsertools.com/timezone/ again, check the timezone. See also: - https://github.com/NixOS/nixpkgs/issues/238025 - https://github.com/NixOS/nixpkgs/pull/238700 Footnotes: [1] https://github.com/unicode-org/icu/pull/2323 [2] https://bugzilla.mozilla.org/show_bug.cgi?id=1848615 [3] https://hg.mozilla.org/releases/mozilla-esr115/rev/d7948b142f43
Distopico <distopico@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#68411
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.