mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #4643] [MERGED] Profile Checks #5215
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#5215
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/4643
Author: @rusty-snake
Created: 10/26/2021
Status: ✅ Merged
Merged: 10/29/2021
Merged by: @kmk3
Base:
master← Head:profile-checks📝 Commits (4)
23c4234Add alteratives and ld.so.cache to all private-etc linesd43904eSort disaple-programs.incac0f95aSort src/firecfg/firecfg.config0aa6664Add Profile Checks📊 Changes
217 files changed (+448 additions, -420 deletions)
View changed files
➕
.github/workflows/profile-checks.yml(+31 -0)➖
.github/workflows/sort.yml(+0 -21)➕
ci/check/profiles/private-etc-always-required.sh(+15 -0)➕
ci/check/profiles/sort-disable-programs.sh(+2 -0)➕
ci/check/profiles/sort-firecfg.config.sh(+2 -0)➕
ci/check/profiles/sort.py(+1 -0)📝
etc/inc/disable-programs.inc(+174 -176)📝
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/anki.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/authenticator-rs.profile(+1 -1)📝
etc/profile-a-l/balsa.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
First three commits fix things so CI can pass:
23c4234d70: Add alteratives and ld.so.cache to all private-etc linesd43904edbc: Sort disaple-programs.incac0f95aabb: Sort src/firecfg/firecfg.configThe last commit (225909d4eb2d40425d4e1590f100d35180d2780f) adds Profile Checks. For now I added four check but once we have this infrastructure for profile checks it is easier to add more in follow-up PRs.
private-etc(ATOW that arealternatives ld.so.cache ld.so.preload). It can not check redirect profiles, therefore some files are double allowed if both profile (redirect profile and redirected profile) contain aprivate-etcline. Anyway nothing bad will happen.~/.cacheas this complicates sorting without advantages.Possible follow-up PRs:
whitelist ${HOME}/...without wcprivate-etccontaining every necessary network files (for networking progrms)machine-idbut nonosoundcc @jose1711
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.