mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3503] "ignore quiet" does not work in override (.local) files #2205
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#2205
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 @NetSysFire on GitHub (Jul 8, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3503
Steps to reproduce:
quietdirective, for exampleyoutube-dl~/.config/firejail/youtube-dl.localignore quietto the overridefirejail youtube-dl. The addedignore quietgets silently ignored--ignore=quietworks though.Relates to:
@ghost commented on GitHub (Jul 8, 2020):
I can reproduce and confirm this is an issue in git master as well.
@rusty-snake commented on GitHub (Jul 9, 2020):
The reason is that we put the
quietabove theinclude foo.local.We can not fix this by changing this order, because we break
quietif it is not the first command.IMHO this is expected behaviour.
@ghost commented on GitHub (Jul 9, 2020):
That's correct.
I thought so too. But it is NOT what I'm seeing. And according to my observations changing the order CAN fix it, but it's unreliable and inconsistent.
Example A: unchanged profiles --> 'quiet' works as expected (no firejail output)
Example B: 'quiet' placed below 'include foo.local' in foo.profile + foo.local contains 'ignore quiet' as first option --> works as expected (firejail output is shown)
Example C: 'quiet' placed below 'include foo.local' in foo.profile + foo.local does NOT contain 'ignore quiet' --> broken (firejail output is partly shown)
I'm not saying this is easy to fix. But can we really expect users having to go through CLI hoops to override a firejail option, whether it be 'quiet' or any other?
@rusty-snake commented on GitHub (Jul 9, 2020):
Alternative they need to edit foo.profile after every update, or better copy foo.profile to their home. We have no full override support (yet). Disabling whitelisting meany add a
ignore whitelist foobarfor every whitelist (and a update which adds one lin to wc, enables it again). Include can not be ignored.The best workaround ATM would be
~/.config/firejail/youtube-dl.profile: