mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #2153] noinclude directive #1460
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#1460
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 @chiraag-nataraj on GitHub (Oct 9, 2018).
Original GitHub issue: https://github.com/netblue30/firejail/issues/2153
Originally assigned to: @startx2017 on GitHub.
So in light of discussions like #2147, we should probably introduce a
noincludeoption that prevents loading of anincludespecified in another included file. Yes, I realize that's confusing, so let me illustrate scenarios in which this may be useful.noinclude whitelist-appimage.inc).firefox.profileincludesfirefox-common.profilewhich includes${CFG}/disable-common.inc. This directive would be useful to disable theinclude ${CFG}/disable-common.incinfirefox.profile.What do people think? Should we do this?
@chiraag-nataraj commented on GitHub (Oct 9, 2018):
Alternatively, conditional commands:
if(appimage) include whitelist-appimage.inc(for example). The syntax is up for debate, of course.@startx2017 commented on GitHub (Oct 9, 2018):
--noinclude=file is easier to implement for now.
I'll also look into if(condition) ...
@chiraag-nataraj commented on GitHub (May 19, 2019):
Is there a specific barrier to using the conditional support to allow conditional includes?
@Vincent43 commented on GitHub (May 20, 2019):
What about
ignore include xxx.inc?@chiraag-nataraj commented on GitHub (May 20, 2019):
It doesn't work.
where
~/.config/firejail/x-terminal-emulatoris:@Vincent43 commented on GitHub (May 20, 2019):
I meant making
ignore include xxx.incwork instead of introducingnoinclude.@rusty-snake commented on GitHub (Apr 4, 2020):
I'm not a C developer so no idea what I am doing, but this works.
@smitsohu commented on GitHub (Aug 4, 2020):
@rusty-snake can you send a pull request (or commit right away?)
@rusty-snake commented on GitHub (Aug 4, 2020):
102f8d1fdc