From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id MGtqO8QosWWwtAAAe85BDQ:P1 (envelope-from ) for ; Wed, 24 Jan 2024 16:12:05 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id MGtqO8QosWWwtAAAe85BDQ (envelope-from ) for ; Wed, 24 Jan 2024 16:12:05 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=Qilh2lrc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706109124; a=rsa-sha256; cv=none; b=DE6nnywboqbuI0RNc8y+AjVZ5bYm5s7WHqcivrw7xFf0/vUyS5FZYuKBzujKYpDlcfzvgO 69NNMKZDjB71ZsHrG7tBfNSxo9L3mostl+r8lIobA7FBMd75a6a4rSxF8bvKRa0wxNlCBB qMhLV/nPCqudhkPEYr8y03qvbHzM9Ol9tretKNi3mItIUtdm9L/kkQMfYUCxMDg65QbtIt Y3znEflnAJ8PrZpQFeJk1jkOETy/vGOy7yqj35/T/9Dg4EC/2RDKgV6moO1NxuPFDXolgT 9odWq9WwIYrLEDXpPJYLEGB4SZe1CKph1hSA7S8CChmq0KQeRr+quAvJhJoKzg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=Qilh2lrc; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706109124; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=IPzYJqqTdpbT2S0Z/BE4Iove20BNL7UgzPq8W7EbqqA=; b=FovFErMG/44g9HVqQoq43aK1TwRzvptXnRVfxYqczUroa/eGHSLp+tu5p9VsWxTXoebMet 2JeGdpQefd5RAPbpoQDanO/FihKx4sCq8wkqI1DU5JUQFAPxm/gFLRMMldPCwClk71oFKG QyHwDWSgjk3Wi1nEVlUurDfkl7S263O813bvqt/ZxvWnAX6i1cllAt5HVv+rnMnpNg4FId frZseWXVW0QEDmUJWHbIifNCbj7uEko+UbLbWeSmwoGFwGYlgaAArinpQiOcmNuQdSPfLm ja6jFnvdXrhqIz6O6CT6D7kF/v25guLhyeaAGvci+L6ZVv7F+KmHGGnQpj+xVg== 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 719A526093 for ; Wed, 24 Jan 2024 16:12:04 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rSev0-0004RB-L8; Wed, 24 Jan 2024 10:11:58 -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 1rSeuz-0004Qs-AF for bug-guix@gnu.org; Wed, 24 Jan 2024 10:11:57 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rSeuz-00040b-2F for bug-guix@gnu.org; Wed, 24 Jan 2024 10:11:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rSev4-0002Vx-Az for bug-guix@gnu.org; Wed, 24 Jan 2024 10:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68411: Timezone not detected from /etc/localtime Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 24 Jan 2024 15:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68411 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Maxim Cournoyer Cc: 68411@debbugs.gnu.org Received: via spool by 68411-submit@debbugs.gnu.org id=B68411.17061090909619 (code B ref 68411); Wed, 24 Jan 2024 15:12:02 +0000 Received: (at 68411) by debbugs.gnu.org; 24 Jan 2024 15:11:30 +0000 Received: from localhost ([127.0.0.1]:46293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rSeuX-0002V4-Bt for submit@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 ) id 1rSeuU-0002Uf-IF for 68411@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@riseup.net> <877ck6j63h.fsf@gmail.com> From: Distopico Date: Wed, 24 Jan 2024 10:00:36 -0500 In-reply-to: <877ck6j63h.fsf@gmail.com> Message-ID: <874jf2ydf4.fsf@riseup.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" 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: 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx10.migadu.com X-Spam-Score: -7.76 X-Migadu-Queue-Id: 719A526093 X-Migadu-Spam-Score: -7.76 X-TUID: B2Swf9D48r09 --=-=-= Content-Type: text/plain On 2024-01-18, Maxim Cournoyer wrote: > Hi, > > Distopico 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----- --=-=-=--