-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chrome cannot get the timezone correctly breaking many websites #1950
Comments
What distro are you running? |
@SkewedZeppelin running Ubuntu 16.04 Xenial. My timezone is set correctly
|
Can you try commenting |
@nitrocode Is this still an issue? |
I haven't checked in a while but I'll check again by the end of the week. |
Seeing the same thing when using private-etc in google-chrome.local using 0.9.56-1~0ubuntu18.10.0. For some reason, specifying
However, my actual filesystem has this:
I poked around but I'm kind of stumped. Running with --debug shows:
The only reference I saw to localtime was here: firejail/src/firejail/fs_whitelist.c Lines 601 to 615 in 97eed29
As a workaround for the time being, removing localtime from private-etc and adding |
Seems that it might have to do with fcopy resolving the final file, rather than the intermediate symlink:
If Lines 117 to 134 in 012dd9f
|
Is this still an issue? |
yes, and will continue to be until |
The thing is that this doesn't seem to affect Firefox's ability to get the system time right (or any other program's, for that matter)...that's why this is so odd. |
it might have to do with chrome's extra sandboxing, not sure. |
Does this profile work for you? I don't get the error you're getting.
I don't have |
you can see what timezone the browser is using @ https://browserspy.dk/date.php |
So it thinks I'm in GMT (come to think of it, I got the same result when I used the Date object in the Dev console...). I guess I never noticed this because I enabled fingerprinting resistance in Firefox, which also spoofs the timezone to GMT 😜 |
@tofurky why |
It is on mine as well @Vincent43. From exploring a bit, it seems that (I think) the chosen timezone file is symlinked to posixrules for some reason... |
Interesting. On Arch Linux I don't have such symlink. |
Hmm, I see. |
it's the standard way of doing it on debian/ubuntu, at least. |
had the same problem with firefox-esr (debian 11; firejail version 0.9.72) with private-etc enabled in firefox.local and firefox-common.local; circumvent that with |
My firejail command
If I open up DevTools and run
This returns
In order to set the timezone correctly so it does not break websites, I found this workaround.
Firefox doesn't seem to have this issue and I'm currently running firejail version 0.9.55
The text was updated successfully, but these errors were encountered: