mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 06:06:02 -06:00
[PR #5645] Revert "private-etc: big profile changes" #5589
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#5589
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/5645
Author: @kmk3
Created: 2/7/2023
Status: 🔄 Open
Base:
master← Head:revert-private-etc-big-refactor📝 Commits (10+)
9c29f6eRevert "private-etc: big profile changes"2d15f33private-etc: cleanup tool changesc6c901bprivate-etc: groups modified214aa6dprivate-etc: pushing vulkan into games group003f751aria2c: fix private-etc2f40a1ddiscord-common: fix private-etc7219608email-common: fix private-etc310c8ccghostwriter: fix private-etc99d0b44marker: fix private-etc06f9d36xiphos: fix private-etc📊 Changes
319 files changed (+321 additions, -319 deletions)
View changed files
📝
etc/profile-a-l/1password.profile(+1 -1)📝
etc/profile-a-l/abiword.profile(+1 -1)📝
etc/profile-a-l/agetpkg.profile(+1 -1)📝
etc/profile-a-l/alacarte.profile(+1 -1)📝
etc/profile-a-l/alienarena.profile(+1 -1)📝
etc/profile-a-l/alpine.profile(+1 -1)📝
etc/profile-a-l/anki.profile(+1 -1)📝
etc/profile-a-l/apostrophe.profile(+1 -1)📝
etc/profile-a-l/aria2c.profile(+1 -1)📝
etc/profile-a-l/arm.profile(+1 -1)📝
etc/profile-a-l/artha.profile(+1 -1)📝
etc/profile-a-l/atool.profile(+1 -1)📝
etc/profile-a-l/atril.profile(+1 -1)📝
etc/profile-a-l/audio-recorder.profile(+1 -1)📝
etc/profile-a-l/authenticator-rs.profile(+1 -1)📝
etc/profile-a-l/authenticator.profile(+1 -1)📝
etc/profile-a-l/ballbuster.profile(+1 -1)📝
etc/profile-a-l/bibletime.profile(+1 -1)📝
etc/profile-a-l/bijiben.profile(+1 -1)📝
etc/profile-a-l/bitwarden.profile(+1 -1)...and 80 more files
📄 Description
This reverts commit
5d0822c52cand latercommits that touch the same files (which is necessary in order to revert
the commit in question).
There seems to be a non-trivial amount of changes done in error in the
big refactor from commit
5d0822c52("private-etc: big profile changes",2023-02-05). For example, there are profiles for CLI programs
(including man.profile) and servers that now contain the @x11 group:
Note: These are just the ones that I immediately noticed; it is possible
that there are many that I missed.
Part of the issue is that the groups appear to be inconsistent and
rather broad. For example, paths related to 3D graphics (vulkan) and
audio (openal) are in the @games group, which are not used only by games
and not all games use those standards/libraries. As another example,
the @x11 group contains paths related to GTK, KDE and GPU hardware
acceleration, even though those are not necessarily tied to X11 (and
even though hardware acceleration may be used by headless programs).
Replacing the known paths with groups that are not very granular results
in loss of information about what exactly a profile actually needs and
so makes the profiles less self-documenting. Note also that a given
path could potentially belong to multiple groups, which would preclude
using the "etc-cleanup" tool (in its current form at least), as it would
not know which is the correct group to replace the path with.
Command used to revert the changes:
Note: This reverts commits from PRs #5641 #5642 #5643, most of which are
later re-applied.
Relates to #5610.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.