mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #2156] [MERGED] Improve include handling #4186
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#4186
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/2156
Author: @crass
Created: 10/9/2018
Status: ✅ Merged
Merged: 10/17/2018
Merged by: @crass
Base:
master← Head:improve-include-handling📝 Commits (3)
07a01b1Allow include to search userdir then systemdir for "bare" profile file names.b343481Update profile manpage to detail added "include" functionality.7c533c9Remove "/etc/firejail/" from all include paths, now that profile_read will search for the file.📊 Changes
608 files changed (+3424 additions, -3415 deletions)
View changed files
📝
etc/0ad.profile(+8 -8)📝
etc/2048-qt.profile(+9 -9)📝
etc/7z.profile(+3 -3)📝
etc/7za.profile(+3 -3)📝
etc/7zr.profile(+3 -3)📝
etc/Cryptocat.profile(+7 -7)📝
etc/Cyberfox.profile(+1 -1)📝
etc/Discord.profile(+3 -3)📝
etc/DiscordCanary.profile(+3 -3)📝
etc/FossaMail.profile(+1 -1)📝
etc/Fritzing.profile(+9 -9)📝
etc/Gitter.profile(+1 -1)📝
etc/JDownloader.profile(+10 -10)📝
etc/Mathematica.profile(+8 -8)📝
etc/Natron.profile(+1 -1)📝
etc/QMediathekView.profile(+8 -8)📝
etc/Telegram.profile(+1 -1)📝
etc/Thunar.profile(+7 -7)📝
etc/Viber.profile(+8 -8)📝
etc/VirtualBox.profile(+1 -1)...and 80 more files
📄 Description
This relies on pull #2152. It should be referenced for the initial commentary on these commits. So the last two pertain to this pull request.
The third commit enhances the
includedirective to allow specifying just the filename component of a profile path and searching the userdir and then system config dir for the file to include.And the fourth commit did
sed -i 's#include /etc/firejail/#include #' etc/*to use the behavior of the third commit. This makes it simple to "hook" various include directives without needing write access toSYSCONFDIR, which is especially useful forglobals.local.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.