mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #6458] Add a directive like "include" that will fail if profile cannot be found #3280
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#3280
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 @ghost on GitHub (Sep 1, 2024).
Original GitHub issue: https://github.com/netblue30/firejail/issues/6458
Is your feature request related to a problem? Please describe.
Currently "include" will ignore when it cannot find a profile. I have a situation where I want to guarantee custom profiles have been created and if the included file was not created, then it will fail to launch.
Describe the solution you'd like
A new directive such as "require" that will include a profile if it exists and trigger an error if it does not exist.
@rusty-snake commented on GitHub (Sep 1, 2024):
897f12dd88/src/firejail/profile.c (L1801-L1811)Can you give details of your installation, firejail version etc.
@ghost commented on GitHub (Sep 1, 2024):
Thanks, I was not aware that the suffix changed the behavior. When I use non .local suffixes the behavior works.
@rusty-snake commented on GitHub (Sep 1, 2024):
It's one of the few (maybe the only one?) cases where the suffix is more than convention.