mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #7057] tor-browser does not work with firejail: Warning fcopy: cannot create symbolic link /etc/alternatives/js #3470
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#3470
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 @mYnDstrEAm on GitHub (Feb 8, 2026).
Original GitHub issue: https://github.com/netblue30/firejail/issues/7057
Description
Tor browser used to work fine for a long time but now I'm getting these errors when running
firejail --profile=/etc/firejail/start-tor-browser.profile /home/username/apps/tor-browser_en-US/start-tor-browser.desktoporfirejail torbrowser-launcher:The first command shows
126 programs installed in ...and there Tor browser does not start due tobut it does start when changing the command to
firejail --profile=/etc/firejail/start-tor-browser.profile /home/username/apps/tor-browser_en-US/Browser/start-tor-browserIn the second command, after the Tor browser started, it shows the error
I don't know why Tor exited or how to start it. The torrc file must be fine because with the first command I can start the Tor browser.
This could be related to #6269
Steps to Reproduce
Steps to reproduce the behavior
LC_ALL=C firejail /usr/bin/torbrowser-launcherExpected behavior
Tor browser should be functional and no errors should be in console.
Actual behavior
Warning fcopy: cannot create symbolic link errors in console and Tor exited during startup error in Tor browser.
Behavior without a profile
What changed calling
LC_ALL=C firejail --noprofile /path/to/programin aterminal?
Additional context
Any other detail that may help to understand/debug the problem
Environment
uname -srm): Linux 6.12.63+deb13-amd64 x86_64mesa 1:24.3.3-2"): Tor Browser Launcher 0.3.7-3
firejail --version): 0.9.74was compiled (
git rev-parse HEAD):Checklist
firejail /usr/bin/vlcinstead offirejail vlc; seehttps://github.com/netblue30/firejail/issues/2877)/usr/bin/vlc) "fixes" it).https://github.com/netblue30/firejail/issues/1139)browser-allow-drm yes/browser-disable-u2f noinfirejail.configto allow DRM/U2F in browsers.--profile=PROFILENAMEto set the right profile. (Only relevant for AppImages)Log
Output of
LC_ALL=C firejail /path/to/programOutput of
LC_ALL=C firejail --debug /path/to/program@kmk3 commented on GitHub (Feb 10, 2026):
Note that we do not maintain that version of firejail:
Versions other than the latest usually have outdated profiles and may contain
bugs and security vulnerabilities that were fixed in later versions.
See also:
What happens with the latest released version?
@mYnDstrEAm commented on GitHub (Feb 10, 2026):
If there's a firejail repo for Debian with the latest or a newer version of firejail, I'd certainly try it. This is the latest version I can get on Debian; it's in the official Debian repos, don't know why there apparently is an old version in it.
@kmk3 commented on GitHub (Feb 17, 2026):
Does it happen with firejail-git?
@mYnDstrEAm commented on GitHub (Mar 21, 2026):
I had it started with firejail and it displayed that there is an update in the top right corner as usual so I updated it and afterwards it shows error
Error: no suitable /dir/start-tor-browser executable found. I installed Tor Browser anew (downloaded from official website and put the extracted folder into a new directory). I then just had to change~/.config/firejail/start-tor-browser.localto whitelist the new directory and nowfirejail --profile=/etc/firejail/start-tor-browser.profile /home/dir/tor-browser/start-tor-browser.desktopworks. Seems like this is solved. There's quite a bit of content in start-tor-browser.local - is this created automatically or shouldn't this be in the main profile?