mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #6333] [MERGED] profiles: loupe: harden and disable apparmor #5964
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#5964
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?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/6333
Author: @kmk3
Created: 5/8/2024
Status: ✅ Merged
Merged: 5/12/2024
Merged by: @kmk3
Base:
master← Head:loupe-warn-disable📝 Commits (1)
dd61c47profiles: loupe: harden and disable apparmor📊 Changes
1 file changed (+10 additions, -2 deletions)
View changed files
📝
etc/profile-a-l/loupe.profile(+10 -2)📄 Description
The profile currently does not include disable-common nor makes
${HOME}read-only, so the program can simply write to ~/.bashrcdirectly[1].
disable-common.inc was commented due to it apparently breaking bwrap.
As discovered by @glitsj16, it seems that allowing the bwrap binary is
enough to make it work (and that apparmor breaks loupe)[2].
So disable apparmor, allow bwrap and include disable-common.inc, plus
other hardening by @glitsj16.
This amends commit
9a0db13e1("profiles: add loupe", 2024-04-30) /PR #6327.
[1] https://github.com/netblue30/firejail/pull/6327#pullrequestreview-2033860865
[2] https://github.com/netblue30/firejail/pull/6333#issuecomment-2099805480
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.