Monday, August 07, 2023

Re: Firefox toLocaleString displays wrong time on OpenBSD

Le Sat, Aug 05, 2023 at 07:41:12PM -0400, George Koehler a écrit :
> On Sat, 5 Aug 2023 08:49:25 +0200
> Landry Breuil <landry@openbsd.org> wrote:
>
> > I'm not sure i'll be able to look into it, but i'd rather *not* document
> > 'workarounds' for issues until we're sure the issue isnt fixable. Maybe
> > it's pledge/unveil related, maybe not. Using ktrace to figure out which
> > files the browser tries to access when handling date-related functions
> > might help... and if it's not an issue happening only on OpenBSD, then
> > dealing with upstream is the way to go.
>
> I used ktrace. It's unveil. The fix is to add "/etc/localtime r"
> to /etc/firefox/unveil.content

many thanks george for the time spend of this and this detailed
analysis. Definitely ok for me to add `/etc/localtime r` to
/etc/firefox/unveil.content, if it doesnt need to unveil the full
usr/share/zoneinfo subdir thats even simpler.

Landry

No comments:

Post a Comment