mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2025-02-07 10:45:09 +01:00
feat(profile): bwrap always need userns.
This commit is contained in:
parent
dee02b8698
commit
928f27dbf5
2 changed files with 3 additions and 3 deletions
|
@ -4,10 +4,12 @@
|
||||||
|
|
||||||
# Minimal set of rules for bwrap
|
# Minimal set of rules for bwrap
|
||||||
|
|
||||||
# A profile using this abstaction still needs to set:
|
# A profile using this abstraction still needs to set:
|
||||||
# - the attach_disconnected flag
|
# - the attach_disconnected flag
|
||||||
# - bwrap execution: '@{bin}/bwrap rix,'
|
# - bwrap execution: '@{bin}/bwrap rix,'
|
||||||
|
|
||||||
|
# userns,
|
||||||
|
|
||||||
capability net_admin,
|
capability net_admin,
|
||||||
capability setpcap,
|
capability setpcap,
|
||||||
capability sys_admin,
|
capability sys_admin,
|
||||||
|
|
|
@ -26,8 +26,6 @@ profile nautilus @{exec_path} flags=(attach_disconnected) {
|
||||||
include <abstractions/nameservice-strict>
|
include <abstractions/nameservice-strict>
|
||||||
include <abstractions/trash>
|
include <abstractions/trash>
|
||||||
|
|
||||||
# userns,
|
|
||||||
|
|
||||||
# mqueue r type=posix /,
|
# mqueue r type=posix /,
|
||||||
|
|
||||||
dbus bind bus=session name=org.gnome.Nautilus,
|
dbus bind bus=session name=org.gnome.Nautilus,
|
||||||
|
|
Loading…
Reference in a new issue