mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3773] Interferes with firefox loading webpages #2378
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#2378
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 @JJones780 on GitHub (Nov 26, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3773
Bug and expected behavior
Unable to load www.kickstarter.com webpage completely. Doesn't complete loading and unable to interact with horizontal scrolling components.
No profile and disabling firejail
firejail --noprofile /path/to/programin a terminal?Completes loading and I can interact with horizontal scrolling components.
which <program>orfirejail --listwhile the sandbox is running)?No difference
Reproduce
Linux shell: firejail firefox
Then in the browser enter kickstarter.com into the address bar
Wait for a short while - it may never finish loading
Scroll down to see a row of images with a horizontal scroll bar.
Attempt to grab the scrollbar and scroll horizontally.
Environment
Devuan GNU/Linux 3 (beowulf)
firejail version 0.9.58.2
Note, I also tried the latest stable and nightly versions of firefox ( without any addons, plugins etc. )
@rusty-snake commented on GitHub (Nov 27, 2020):
In my test it worked. Anyway, if it works with
--noprofile, it can be fixes be improving the profile. Can you try to find out which line in firefox.profile/firefox-common.profile is causing this. (Comment everything and then uncomment line for line).No difference to
--no-profileor regular? If it happens here, it's not a firejail issue.@JJones780 commented on GitHub (Dec 6, 2020):
I installed firejail 0.9.64 and it solved the issue. It should've been the first thing I tried ( and I should know better.... )
As a further experiment I tried using the firefox-common.profile from my troubled 0.9.58.2-2+deb10u1 and there was no issue with this old profile ether.
interestingly.. minor recent changes to the kickstarter website had pushed the issue to a secondary page.
Ignore the rest of this ----------------------------------------------------------------------------------------------------- ;)
No customized .local, .profile etc
Nothing in the sysog. Firefox does crash on closing ( see below) but is unable to write/report a crash log.
Running with profile ( seccomp line) has issue. Running with noprofile or without firejail doesn't exhibit the issue.
Oddly enough I stumbled on another way to replicate the issue after my initial method no longer worked. What are the odds kickstarter changed their webpage between my report and your test the next day? I better test with the new version of firejail. I happened to clicked on the '100' banner along the top of the Kickstarter page and that caused the issue reliably. I was able to investigate further.
firefox-common.profile: Everything works if I comment out the following (seccomp) line:
#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,vmspliceThe crash on closing firefox ( even when just running with the seccomp line alone enabled ) but is unable to produce a crash report in .mozilla/firefox/Crash.
on shutdown it writes this: