mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #4697] [solved] Firejail 0.9.66-1~0ubuntu21.10.1 Breaks Tor 11.0.1 (disabling apparmor for tor fixed this) #2752
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#2752
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 @rugabunda on GitHub (Nov 18, 2021).
Original GitHub issue: https://github.com/netblue30/firejail/issues/4697
Happened in both Kubuntu, and Lubuntu.
"Tor exited during startup. This might be due to an error in your torrc file, a bug in Tor or another program on your system, or faulty hardware. Until you fix the underlying problem and restart Tor, Tor Browser will not start."
These stick out to me:
Warning: file gxmessage not found
Warning: file kdialog not found
Warning: file tor-browser not found
Warning: file tor-browser-en not found
--noprofile works.
@rusty-snake commented on GitHub (Nov 18, 2021):
Can you try
firejail --ignore=private-bin torbrowser-launcherto get more information.Does
firejail --seccomp='!iopl' --ignore=seccomp torbrowser-launcherwork?@rugabunda commented on GitHub (Nov 18, 2021):
It does not work, here is the output,
firejail --ignore=private-bin torbrowser-launcher@rusty-snake commented on GitHub (Nov 18, 2021):
Replace
torbrowser-launcherwith/usr/bin/torbrowser-launcherand try again.@rugabunda commented on GitHub (Nov 18, 2021):
This works and loads outside firejail, but does not work if I add "firejail" before it.
@rusty-snake commented on GitHub (Nov 18, 2021):
So if you run it with
--ignore=private-binyou do not get a more useful error, if you run it with the seccomp exceptions it still does not work.Then, is anything in the syslog? If not you need to comment the profile and uncomment it line for line.
edit: The seccomp exception should actually be
firejail --seccomp='!iopl,!chroot' --ignore=seccomp /usr/bin/torbrowser-launcher.@rugabunda commented on GitHub (Nov 18, 2021):
@rusty-snake
Same error with
--seccomp='!iopl,!chroot'I'm seeing the following in KERN.log
Is apparmor the culprit?
@rugabunda commented on GitHub (Nov 18, 2021):
Comment each line individually in torbrowser-launcher.profile?
@rusty-snake commented on GitHub (Nov 18, 2021):
Comment all lines and the uncomment line for line.
So you run torbrowser in firejail and apparmor? Someone other must help here I never really used AA.
@rugabunda commented on GitHub (Nov 18, 2021):
Its working if I disable apparmor,
sudo aa-disable /etc/apparmor.d/torbrowser.Browser.firefox@rugabunda commented on GitHub (Nov 18, 2021):
Apparmor profiles may need some updating
@rugabunda commented on GitHub (Nov 18, 2021):
Thank you for your efforts! It was much appreciated!
@rugabunda commented on GitHub (Nov 18, 2021):
Yes I usually run both without issue but I have ran into similar problems before, particularly with firefox