all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Distopico <distopico@riseup.net>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: 68411@debbugs.gnu.org
Subject: bug#68411: Timezone not detected from /etc/localtime
Date: Wed, 24 Jan 2024 10:00:36 -0500	[thread overview]
Message-ID: <874jf2ydf4.fsf@riseup.net> (raw)
In-Reply-To: <877ck6j63h.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1311 bytes --]


On 2024-01-18, Maxim Cournoyer <maxim.cournoyer@gmail.com> wrote:

> Hi,
>
> Distopico <distopico@riseup.net> 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.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 515 bytes --]

  reply	other threads:[~2024-01-24 15:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-12 22:41 bug#68411: Timezone not detected from /etc/localtime Distopico
2024-01-19  4:32 ` Maxim Cournoyer
2024-01-24 15:00   ` Distopico [this message]
2024-01-24 19:14     ` Maxim Cournoyer

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=874jf2ydf4.fsf@riseup.net \
    --to=distopico@riseup.net \
    --cc=68411@debbugs.gnu.org \
    --cc=maxim.cournoyer@gmail.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 external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.