mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6098] docs: conflicting information about whether to use apparmor with firejail #3178
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#3178
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 @svc88 on GitHub (Nov 21, 2023).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6098
https://firejail.wordpress.com/documentation-2/basic-usage/#apparmor
It says here:
and here: https://github.com/netblue30/firejail/wiki/Frequently-Asked-Questions#how-does-it-compare-with-apparmor
it says:
Firstly i dont have any special custom apparmor profiles that i use. From reading the wordpress link I thought that its better to compile firejail with
--enable-apparmorso that apparmor does its own thing in the backround and as you stated "In case one of them misses something important, hopefully the other one picks it up".So i compiled it with apparmor enabled, but when i run firefox i get:
So i tried to do
sudo aa-enforce firejail-defaultbut then i get an error saying:So i do
which firejail-defaultand its nowhere to be found.Please clarify why and what is one supposed to do in this case? Should i re-build with apparmor disabled? (i just thought it would be more secure with it enabled and apparmor doing its own thing)
Ubuntu 22.04
firejail version 0.9.72
@ghost commented on GitHub (Nov 22, 2023):
Documentation indeed looks confusing on this topic. Our firejail-default is not an executable file, running
whichis pointless in this context. If you used the--enable-apparmorbuild flag, it should end up in/etc/apparmor.d/firejail-default.Is AppArmor enabled correctly? You can check with:
I'm sure Ubuntu has its own AppArmor docs, but the Arch Wiki page on AA might still be a good read to familiarize with AppArmor.