mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[GH-ISSUE #3408] Allow --dbus-user=none on the command line for profiles with dbus-user filter #2140
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#2140
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 @rusty-snake on GitHub (May 7, 2020).
Original GitHub issue: https://github.com/netblue30/firejail/issues/3408
Originally assigned to: @kris7t on GitHub.
I just tried to start firefox with
--privateand--dbus-user=noneand it failed because firefox.profile setsdbus-user filterand firejail does not allow relaxing the policy.Error: Cannot relax dbus-user policy, it is already set to block. IMHO the must common case is that a user wants to deny dbus access per run or default and adddbus-user noneto xxx.local or the command line and shouldn't need to also addignore dbus-user filter.@kris7t commented on GitHub (May 8, 2020):
The idea was to prevent setting a weaker DBus policy without explicitly authorizing the weakening with
--ignore. But it seems I was a bit overzealous, as this effectively prevents strengthening the policy (if the (--dbus-user=options are not in the right order) also.I think it would be safe to downgrade this to a warning, and keep the stricter policy of the two specified. I'll add this to #3406.