[GH-ISSUE #1940] White screen after upgrade to Firefox 60 #1297

Closed
opened 2026-05-05 07:49:08 -06:00 by gitea-mirror · 14 comments
Owner

Originally created by @igor2x on GitHub (May 12, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1940

Hi,
up until now Firefox 59 on Ubuntu 16.04 on 32-bit hardware was working without a problem using firejail. Today Firefox has upgraded to Firefox 60 and it does not work under firejail anymore (terminal: firejail firefox). Using firejail Firefox starts up, then in URL I type in www.google.com and press enter and nothing happens. I tired with several web pages, but all are the same, just white screen, in status bar it is nothing like waiting or something, empty status bar. See attached print-screen what it looks like after entering URL and pressing enter. Please also see attached firejail debug log executed by: firejail --debug firefox &> firefox-debug.log

If I close down Firefox jailed with firejail and from terminal only start: firefox it works without a problem.
Regards

$ firejail --version

firejail version 0.9.52

Compile time support:
- AppArmor support is disabled
- AppImage support is enabled
- bind support is enabled
- chroot support is enabled
- file and directory whitelisting support is enabled
- file transfer support is enabled
- git install support is enabled
- networking support is enabled
- overlayfs support is enabled
- private-home support is enabled
- seccomp-bpf support is enabled
- user namespace support is enabled
- X11 sandboxing support is enabled

$ uname -a
Linux tp 4.13.0-41-generic #46~16.04.1-Ubuntu SMP Thu May 3 10:06:03 UTC 2018 i686 i686 i686 GNU/Linux

Firefox print-screen after entering URL and pressing enter
firefox_after_entering_url_and_pressing_enter

Firefox debug log
firefox-debug.log

Originally created by @igor2x on GitHub (May 12, 2018). Original GitHub issue: https://github.com/netblue30/firejail/issues/1940 Hi, up until now Firefox 59 on Ubuntu 16.04 on 32-bit hardware was working without a problem using firejail. Today Firefox has upgraded to Firefox 60 and it does not work under firejail anymore (terminal: firejail firefox). Using firejail Firefox starts up, then in URL I type in www.google.com and press enter and nothing happens. I tired with several web pages, but all are the same, just white screen, in status bar it is nothing like waiting or something, empty status bar. See attached print-screen what it looks like after entering URL and pressing enter. Please also see attached firejail debug log executed by: firejail --debug firefox &> firefox-debug.log If I close down Firefox jailed with firejail and from terminal only start: firefox it works without a problem. Regards **$ firejail --version** firejail version 0.9.52 Compile time support: - AppArmor support is disabled - AppImage support is enabled - bind support is enabled - chroot support is enabled - file and directory whitelisting support is enabled - file transfer support is enabled - git install support is enabled - networking support is enabled - overlayfs support is enabled - private-home support is enabled - seccomp-bpf support is enabled - user namespace support is enabled - X11 sandboxing support is enabled **$ uname -a** Linux tp 4.13.0-41-generic #46~16.04.1-Ubuntu SMP Thu May 3 10:06:03 UTC 2018 i686 i686 i686 GNU/Linux **Firefox print-screen after entering URL and pressing enter** ![firefox_after_entering_url_and_pressing_enter](https://user-images.githubusercontent.com/10895030/39954022-76002360-55b7-11e8-8464-fa55fbc2a868.png) **Firefox debug log** [firefox-debug.log](https://github.com/netblue30/firejail/files/1997314/firefox-debug.log)
Author
Owner

@thedaly commented on GitHub (May 12, 2018):

Same problem on fedora workstation after updating to version 60. No problems with firefox version 59.

<!-- gh-comment-id:388533617 --> @thedaly commented on GitHub (May 12, 2018): Same problem on fedora workstation after updating to version 60. No problems with firefox version 59.
Author
Owner

@Queeq commented on GitHub (May 12, 2018):

I have isolated this to seccomp. If you comment it out in firefox.profile it starts to work fine. Or you could run it as firejail --ignore=seccomp firefox.

Should be narrowed down to specific syscalls FF needs, though. I believe this could be connected to some sandboxing improvements FF introduced in v. 60.

<!-- gh-comment-id:388537646 --> @Queeq commented on GitHub (May 12, 2018): I have isolated this to seccomp. If you comment it out in firefox.profile it starts to work fine. Or you could run it as `firejail --ignore=seccomp firefox`. Should be narrowed down to specific syscalls FF needs, though. I believe this could be connected to some sandboxing improvements FF introduced in v. 60.
Author
Owner

@SkewedZeppelin commented on GitHub (May 12, 2018):

The fix is to disable tracelog (#1935) and remove chroot from seccomp (https://github.com/netblue30/firejail/issues/1939#issuecomment-388358648) from /etc/firejail/firefox-common.profile. It has already been fixed in master.

<!-- gh-comment-id:388537916 --> @SkewedZeppelin commented on GitHub (May 12, 2018): The fix is to disable tracelog (#1935) and remove chroot from seccomp (https://github.com/netblue30/firejail/issues/1939#issuecomment-388358648) from `/etc/firejail/firefox-common.profile`. It has already been fixed in master.
Author
Owner

@igor2x commented on GitHub (May 12, 2018):

@SkewedZeppelin, thanks for the info.

In my case there is no file /etc/firejail/firefox-common.profile and I have the latest Firejail 0.9.52 instaled. In /etc/firejail/ dir I have executed: ls firefox* and the output is
firefox-esr.profile firefox-nightly.profile firefox.profile

I did:

  1. Opened /etc/firejail/firefox.profile file.
  2. Searched for "tracelog" and added comment before it so "#tracelog".
  3. Searched for "seccomp" and added comment before it so "#seccomp".
  4. Bellow "#seccomp" added new line with the settings:
    seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@resources,@swap,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice
    shell none
  5. Made sure Firefox is not started: ps aux | grep [f]irefox
  6. Started Firefox: firejail firerfox
    and now Firefox starts fine and jailed. Problem solved

Just wondering why isn't there new Firejail version released to fix just this one major problem and not waiting for new new major release.

<!-- gh-comment-id:388556641 --> @igor2x commented on GitHub (May 12, 2018): @SkewedZeppelin, thanks for the info. In my case there is no file /etc/firejail/firefox-common.profile and I have the latest Firejail 0.9.52 instaled. In /etc/firejail/ dir I have executed: **ls firefox*** and the output is firefox-esr.profile firefox-nightly.profile firefox.profile I did: 1. Opened /etc/firejail/firefox.profile file. 2. Searched for "tracelog" and added comment before it so "#tracelog". 3. Searched for "seccomp" and added comment before it so "#seccomp". 4. Bellow "#seccomp" added new line with the settings: seccomp.drop @clock,@cpu-emulation,@debug,@module,@obsolete,@raw-io,@reboot,@resources,@swap,acct,add_key,bpf,fanotify_init,io_cancel,io_destroy,io_getevents,io_setup,io_submit,ioprio_set,kcmp,keyctl,mount,name_to_handle_at,nfsservctl,ni_syscall,open_by_handle_at,personality,pivot_root,process_vm_readv,ptrace,remap_file_pages,request_key,setdomainname,sethostname,syslog,umount,umount2,userfaultfd,vhangup,vmsplice shell none 5. Made sure Firefox is not started: ps aux | grep [f]irefox 6. Started Firefox: firejail firerfox and now Firefox starts fine and jailed. Problem solved Just wondering why isn't there new Firejail version released to fix just this one major problem and not waiting for new new major release.
Author
Owner

@KaleviKolttonen commented on GitHub (May 12, 2018):

Yeah, I just updated from Fedora Linux workstation 27 to 28, and Firefox fails exactly like the earlier posters describe. In my opnion it would be the best thing to release a fixed firejail.

<!-- gh-comment-id:388583593 --> @KaleviKolttonen commented on GitHub (May 12, 2018): Yeah, I just updated from Fedora Linux workstation 27 to 28, and Firefox fails exactly like the earlier posters describe. In my opnion it would be the best thing to release a fixed firejail.
Author
Owner

@Fred-Barclay commented on GitHub (May 13, 2018):

I tend to agree we should push out a quick fix to the 0.9.38, 0.9.48, and 0.9.52 branches at least (Ubuntu 14.04, Debian stable (I believe), plus latest stable release). There will be lots of users who want to stick with firejail from their distros' repos, but also would like to use it with firefox 60.

@netblue30 is this doable?

<!-- gh-comment-id:388601060 --> @Fred-Barclay commented on GitHub (May 13, 2018): I tend to agree we should push out a quick fix to the 0.9.38, 0.9.48, and 0.9.52 branches at least (Ubuntu 14.04, Debian stable (I believe), plus latest stable release). There will be lots of users who want to stick with firejail from their distros' repos, but also would like to use it with firefox 60. @netblue30 is this doable?
Author
Owner

@Vincent43 commented on GitHub (May 13, 2018):

It's not obvious if those fixes will ever made it to distro repos. Debian stable is still on 0.9.44.8 even as 0.9.44.10 was released over a year ago. Ubuntu xenial is on 0.9.38.10 while 0.9.38.12 is the last release. If someone installs firejail outside official repos then they should install latest version available anyway and not just a old branch bump.

Probably the proper solution is to provide precompiled firejail packages for popular distros but this will be an additional burden.

<!-- gh-comment-id:388619227 --> @Vincent43 commented on GitHub (May 13, 2018): It's not obvious if those fixes will ever made it to distro repos. Debian stable is still on 0.9.44.8 even as 0.9.44.10 was released over a year ago. Ubuntu xenial is on 0.9.38.10 while 0.9.38.12 is the last release. If someone installs firejail outside official repos then they should install latest version available anyway and not just a old branch bump. Probably the proper solution is to provide precompiled firejail packages for popular distros but this will be an additional burden.
Author
Owner

@Fred-Barclay commented on GitHub (May 13, 2018):

@Vincent43 I agree, but I'd prefer that we at least provide the corrections. 😄 Then it's up to the package maintainers to provide the newer versions to their distros. Since @reinerh maintains firejail for Ubuntu and Debian we can hopefully get those distros covered at least; @reinerh is this possible?

<!-- gh-comment-id:388638999 --> @Fred-Barclay commented on GitHub (May 13, 2018): @Vincent43 I agree, but I'd prefer that we at least provide the corrections. :smile: Then it's up to the package maintainers to provide the newer versions to their distros. Since @reinerh maintains firejail for Ubuntu and Debian we can hopefully get those distros covered at least; @reinerh is this possible?
Author
Owner

@reinerh commented on GitHub (May 13, 2018):

@Vincent43 You can find newer versions for Debian stable in the stable-backports repository. stable itself will not get any updates (other than security fixes). Maybe when Firefox60 lands in stable (in September when FF52 is EOL) we can provide a fixed profile there.
If I see it correctly, firejail 0.9.54 will be released soon, this will then be timely available in stable-backports.

@Fred-Barclay If I understand it correctly, this is only relevant for releases shipping Firefox60?
I'll check which Ubuntu versions will be shipping this and get an updated profile there.

<!-- gh-comment-id:388639824 --> @reinerh commented on GitHub (May 13, 2018): @Vincent43 You can find newer versions for Debian stable in the stable-backports repository. stable itself will not get any updates (other than security fixes). Maybe when Firefox60 lands in stable (in September when FF52 is EOL) we can provide a fixed profile there. If I see it correctly, firejail 0.9.54 will be released soon, this will then be timely available in stable-backports. @Fred-Barclay If I understand it correctly, this is only relevant for releases shipping Firefox60? I'll check which Ubuntu versions will be shipping this and get an updated profile there.
Author
Owner

@Vincent43 commented on GitHub (May 13, 2018):

@reinerh
Backports provide latest firejail version so bumping old branches isn't relevant here.

All ubuntu distros provide latest fiefox version (they don't follow ESR like debian). 60 is already there.

<!-- gh-comment-id:388640092 --> @Vincent43 commented on GitHub (May 13, 2018): @reinerh Backports provide latest firejail version so bumping old branches isn't relevant here. All ubuntu distros provide latest fiefox version (they don't follow ESR like debian). 60 is already there.
Author
Owner

@reinerh commented on GitHub (May 13, 2018):

Okay, thanks. I'm a bit surprised then that Ubuntu doesn't use ESR versions for their LTS branches...

<!-- gh-comment-id:388640202 --> @reinerh commented on GitHub (May 13, 2018): Okay, thanks. I'm a bit surprised then that Ubuntu doesn't use ESR versions for their LTS branches...
Author
Owner

@Vincent43 commented on GitHub (May 13, 2018):

I guess users won't be happy being several firefox versions behind the latest. Honestly I don't believe in the 'LTS/ESR' concept especially in terms of security. Much prefer the chrome/chromium policy - 'nothing is supported but latest stable'. This way we have latest chromium in every distro including debian.

<!-- gh-comment-id:388641654 --> @Vincent43 commented on GitHub (May 13, 2018): I guess users won't be happy being several firefox versions behind the latest. Honestly I don't believe in the 'LTS/ESR' concept especially in terms of security. Much prefer the chrome/chromium policy - 'nothing is supported but latest stable'. This way we have latest chromium in every distro including debian.
Author
Owner

@reinerh commented on GitHub (May 13, 2018):

A lot of users care about stability (not changing behavior/workflows every couple of weeks), at least the ones using the stable/LTS releases (otherwise they would be using unstable).
The LTS/ESR versions can provide this stability while also fixing security issues.

<!-- gh-comment-id:388641922 --> @reinerh commented on GitHub (May 13, 2018): A lot of users care about stability (not changing behavior/workflows every couple of weeks), at least the ones using the stable/LTS releases (otherwise they would be using unstable). The LTS/ESR versions can provide this stability while also fixing security issues.
Author
Owner

@Vincent43 commented on GitHub (May 13, 2018):

I know about theory and I know about practice 😄. In firejail there are hundreds of fixes and improvements and LTS users will never find them until next major distro upgrade.

<!-- gh-comment-id:388644473 --> @Vincent43 commented on GitHub (May 13, 2018): I know about theory and I know about practice :smile:. In firejail there are hundreds of fixes and improvements and LTS users will never find them until next major distro upgrade.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#1297
No description provided.