feat(profiles): add some missing dbus rules.
This commit is contained in:
parent
6898bac12f
commit
7b0ef88358
10 changed files with 79 additions and 5 deletions
|
|
@ -15,6 +15,14 @@ profile systemd-oomd @{exec_path} flags=(attach_disconnected) {
|
|||
capability dac_override,
|
||||
capability kill,
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/DBus
|
||||
interface=org.freedesktop.DBus
|
||||
member=RequestName
|
||||
peer=(name=org.freedesktop.DBus),
|
||||
|
||||
dbus bind bus=system
|
||||
name=org.freedesktop.oom[0-9],
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/systemd/oomd.conf r,
|
||||
|
|
|
|||
|
|
@ -28,6 +28,17 @@ profile systemd-resolved @{exec_path} flags=(attach_disconnected) {
|
|||
network inet6 stream,
|
||||
network netlink raw,
|
||||
|
||||
dbus send bus=system path=/org/freedesktop/DBus
|
||||
interface=org.freedesktop.DBus
|
||||
member={RequestName,GetConnectionUnixUser}
|
||||
peer=(name=org.freedesktop.DBus),
|
||||
|
||||
dbus receive bus=system path=/org/freedesktop/resolve[0-9]
|
||||
interface=org.freedesktop.resolve[0-9].Manager,
|
||||
|
||||
dbus bind bus=system
|
||||
name=org.freedesktop.resolve[0-9],
|
||||
|
||||
@{exec_path} mr,
|
||||
|
||||
/etc/systemd/resolved.conf r,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue