mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #1847] Firefox 60.0b (dev edition) can't display webpages when 'seccomp' or 'shell none' enabled #1252
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#1252
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yourcelf on GitHub (Mar 29, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/1847
Using firejail 0.9.52 on Ubuntu 16.04.4.
It looks like Firefox 60b Developer Edition (currently at 60.0b7) isn't working if
seccomporshell noneare enabled (they are enabled by default in bothfirefox.profileandfirefox-developer-edition.profile). Firefox will launch and display the window, but is unable to load any webpages or display tabs.With
shell noneenabled, firefox prints the following errors in the console:With just
seccompenabled butshell nonedisabled, no obvious errors are printed, but the same behavior applies (the main window shows, but is unable to load webpages or tabs).Launching with
firejail --noprofileor using a profile withseccompandshell noneremoved works fine.@Vincent43 commented on GitHub (Mar 29, 2018):
Perhaps duplicate of https://github.com/netblue30/firejail/issues/1765
@netblue30 commented on GitHub (Apr 1, 2018):
Works fine for me on Debian stable. They are enabling 3D acceleration by default in the browser.
@yourcelf what video card and video drivers do you have? Also try the following:
@yourcelf commented on GitHub (Apr 2, 2018):
After re-enabling
seccompandshell none, launching with--no3dandignore=shell --allow-debuggersdoesn't seem to fix the problem. Every attempt to load a tab displays "Gah. Your tab just crashed." With the--ignore=shell --allow-debuggersoptions, the crash message includes a feedback collector requesting that I submit a report to mozilla.@Vincent43 commented on GitHub (Apr 3, 2018):
Can you try if setting
media.cubeb.sandboxtofalsein firefoxabout:confighelps?@smitsohu commented on GitHub (Apr 4, 2018):
@netblue30 to reproduce on Debian or Arch, try it with
sudo sysctl kernel.unprivileged_userns_clone=1@yourcelf commented on GitHub (Apr 5, 2018):
@Vincent43 With
seccompandshell noneenabled, settingmedia.cubeb.sandbox=falseand launching with--ignore=shell --allow-debuggersseems to work.Just
--ignore3dwithmedia.cubeb.sandbox=falsedidn't seem to change anything.@Vincent43 commented on GitHub (Apr 5, 2018):
It's probably related to firefox own sandboxing so
--no3ddoesn't matter here. Do I understand correctly that--ignore=shell --allow-debuggersis still needed whenmedia.cubeb.sandbox=falseis used?@yourcelf commented on GitHub (Apr 5, 2018):
Yes -- with
media.cubeb.sandbox=falsebut without--ignore=shell --allow-debuggersI still get "Gah. Your tab just crashed." on any attempt to load a page.@Vincent43 commented on GitHub (Apr 5, 2018):
Did you tried using only one of them (
--ignore=shellor--allow-debuggers)?@yourcelf commented on GitHub (Apr 5, 2018):
Here's the behavior for each combination of
--ignore=shell,--allow-debuggers, andmedia.cubeb.sandbox=false.@Vincent43 commented on GitHub (Apr 5, 2018):
So
allow-debuggersdoesn't matter here (it only allow triggering crash reporter which is useless here anyway). Best workaround for you would be probably to create/etc/firejail/firefox-common.localand add there:lines while keeping
media.cubeb.sandbox=true. We probably remove them from firefox profiles soon. Firefox is building its own sandbox which is a better fit than what we could do here. We will be still covering other things like files access.@smitsohu commented on GitHub (Apr 7, 2018):
fixed in
0520814167, thanks for the bug report.