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

@ -13,6 +13,8 @@ profile needrestart-apt-pinvoke @{exec_path} {
include <abstractions/bus/org.freedesktop.login1>
include <abstractions/consoles>
capability dac_read_search,
@{exec_path} mr,
@{sh_path} rix,

View file

@ -21,7 +21,7 @@ profile qemu-ga @{exec_path} {
ptrace (read) peer=@{p_systemd},
unix type=stream addr=@@{hex16}/bus/shutdown/system,
unix type=stream addr=@@{udbus}/bus/shutdown/system,
#aa:dbus talk bus=system name=org.freedesktop.login1 label=systemd-logind