feat: profiles and integration tests improvments.

Add the udbus variable to be used in `unix bind` rule for dbus.
This commit is contained in:
Alexandre Pujol 2024-11-19 19:04:27 +00:00
parent b4bcb2f16e
commit 4e5f4cb06a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
43 changed files with 81 additions and 47 deletions

View file

@ -140,7 +140,7 @@ The `exec` directive is useful to allow executing transitions to a profile witho
include <abstractions/common/systemd>
capability dac_override,
capability kill,
unix (bind) type=stream addr=@@{hex16}/bus/systemd-oomd/bus-api-oom,
unix (bind) type=stream addr=@@{udbus}/bus/systemd-oomd/bus-api-oom,
#aa:dbus own bus=system name=org.freedesktop.oom1
/etc/systemd/oomd.conf r,
/etc/systemd/oomd.conf.d/{,**} r,