mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 22:01:33 -06:00
[GH-ISSUE #4380] Tor Browser with 0.9.66 #2643
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#2643
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 @mattrattus on GitHub (Jul 2, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4380
Bug and expected behavior
Describe the bug.
Error: no suitable ./start-tor-browser executable found
What did you expect to happen?
Start Tor Browser using the firejail profile - start-tor-browser.profile
What changed calling
firejail --noprofile /path/to/programin a terminal?Only in this way I can start Tor Browser.
Reproduce
Download file from torbrowser website, I extracted and use
firejail --profile=/etc/firejail/start-tor-browser.profile ./start-tor-browser when I'm in tor-browser directory.
Additional context
Before update 0.9.64.4-1 -> 0.9.66-1 I use the above command
Now I see that profiles for Tor have been changed.
The last profile that implements the assumptions is torbrowser-launcher.profile but it refers to the installed version of browser.
Environment
Arch Linux
0.9.66
Question
Is it no longer possible to use Tor Browser by downloading it yourself and using firejail along with it?
Checklist
https://github.com/netblue30/firejail/issues/1139)--profile=PROFILENAMEis used to set the right profile.LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 PROGRAMto get english error-messages.browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.output
@rusty-snake commented on GitHub (Jul 2, 2021):
Where did you extracted it? It must be a one of the
${HOME}/.tor-browser*listed in the profile. Or you need to add a .local and whitelist the path where you extracted it.FYI
firejail --profile=start-tor-browser ./start-tor-browserfirejail ./start-tor-browserStill possible. You just need to know how, see https://github.com/netblue30/firejail/wiki/Sandboxing-Binary-Software#tor-browser-home-install or https://github.com/rusty-snake/firejailed-tor-browser.
You can not install the tor-browser system-wide. torbrowser-launcher is just a wrapper that automates the steps (download, verify, extract to home) to install the tor-browser.
What changed, is that there are no longer three profiles for the same software (which is difficult and risky to maintain). start-tor-browser.profile was a blacklisting profile before 0.9.66, now it is a whitelisting one 🎉.
@mattrattus commented on GitHub (Jul 2, 2021):
Before last update I just extract to ${HOME}/tor-browser* - without dot (not hide directory) and everything work fine.
Like you suggest I mv to dot directory, go inside and use:
firejail --profile=start-tor-browser ./start-tor-browser
Still got the same results:
Error: no suitable ./start-tor-browser executable found
I didn't pay attention to this solution, because before last update, I didn't need it.
My solution with long profile (not perfect like you suggest) but it worked as I expected
Now when I use
firejail --private=~/tor-browser* ./start-tor-browser.desktop
it's ok.
But only in this way. Using your first proposal still give the same error.
Yes I know :) That's what I had "in mind" mentioning the installation.
@rusty-snake commented on GitHub (Jul 3, 2021):
If it is really in one of
0562ceb658/etc/profile-m-z/start-tor-browser.desktop.profile (L11-L73)start
firejail --ignore=private-bin --profile=start-tor-browser ls -lto see if the file is present and readable.You can keep this by using locals
start-tor-browser.local:disable-common.local:@rusty-snake commented on GitHub (Jul 16, 2021):
I'm closing here due to inactivity, please fell free to request to reopen if you have more questions.