mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2812] Error: no suitable firefox executable found #1762
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#1762
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 @mahilkita on GitHub (Jun 30, 2019).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2812
I just installed firejail - the install ran smoothly - however I do not have firefox in my root directory but rather in home/david/opt - thus when running david@Liberation:~$ firejail firefox I get this 👍
Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 10419, child pid 10420
Blacklist violations are logged to syslog
Child process initialized in 106.24 ms
Error: no suitable firefox executable found
Parent is shutting down, bye...
Firejail needs to search the home dir for programmes like Tor and Thunderbird and Firefox anyway what config file do I need to edit to tell firejail where firefox is
email me at skipper@gbenet.com
Thanks
David
@SkewedZeppelin commented on GitHub (Jun 30, 2019):
you can try putting the following in
~/.config/firejail/firefox.localsimilar can be done for thunderbird
for a workaround for TBB you can use torbrowser-launcher instead
@rusty-snake commented on GitHub (Jun 30, 2019):
more instructions for the TBB:
https://github.com/netblue30/firejail/wiki/Sandboxing-Binary-Software#tor-browser-home-install
https://github.com/rusty-snake/firejailed-tor-browser
@matu3ba commented on GitHub (Jul 8, 2019):
@mahilkita Did this solve your problems?
@rusty-snake Is the manual in your first link not sufficient? I did link to that in the FAQ.
@rusty-snake commented on GitHub (Jul 8, 2019):
Yes, but my repo is a little bit older then the wiki and it trys to be as strict as possible.
@rusty-snake commented on GitHub (Aug 20, 2019):
@mahilkita I'm closing here due to inactivity, please fell free to reopen if you still have this issue.
@svc88 commented on GitHub (Mar 30, 2020):
To this date, shouldnt there be a noblacklist as well now? Like so:
@rusty-snake commented on GitHub (Mar 31, 2020):
@svc88 we never blacklist
${HOME}/opt/firefox(nor${HOME}/opt).@rakor commented on GitHub (May 31, 2022):
I have the same issue running on debian stable.
firejail version 0.9.64.4
Also having installed the latest firefox in ~/opt/firefox.
I tried to put the lines in ~/.config/firejail/firefox.local but it does still not work telling me:
@ghost commented on GitHub (May 31, 2022):
@rakor The project recommends to use the backports packages on Debian stable. Please upgrade your Firejail setup and try again.
@rakor commented on GitHub (May 31, 2022):
Hi @glitsj16. Thanks for your help. I found the issue is apparmor. If I also add
ignore apparmorto the firefox.local it is running. Btw. the same occures on Debian testing (firejail version 0.9.68).I only don't understand the difference to the firefox-esr, that is installed using the official repository, which runs smooth just by
firejail firefox. I don't have knowledge of apparmor, but in/etc/apparmor.dI could not find any firefox-profile. But as said, I never did anything with apparmor.Is it less secure, running it with
ignore apparmor?!@rusty-snake commented on GitHub (May 31, 2022):
The reason why
apparmoronly breaks firefox in ~ but not firefox-esr in /usr/bin is that apparmor restricts execution of programs to a few well-known directories.fab6225687/etc/apparmor/firejail-default (L88-L98)You can allow firefox in firejail-local
fab6225687/etc/apparmor/firejail-local (L4-L18)@ghost commented on GitHub (Jun 1, 2022):
@rakor
That's up for debate. Personally I have been using Firejail and AppArmor in tandem for quite a while and feel OK with that combination. I did create AA profiles for most of the apps/daemons I use on my system, which took some time and effort. For other opinions 'out (t)here' on this topic: see e.g. #4786, #4522.
If you are unsure whether AA is properly configured/functioning on your system it might be informational to read https://wiki.archlinux.org/title/Apparmor. And if you decide to not use it with Firejail there's a switch in
/etc/firejail/firejail.configyou can set, which is easier than having to create individual overrides. You'll need to change the default (enabled):