feat(tunable): add p_dbus_* variables.

This allow for better integration for system when dbus is not confined.
This commit is contained in:
Alexandre Pujol 2024-11-13 12:23:36 +00:00
parent 7c148fca95
commit 24ea5f0a3a
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
33 changed files with 47 additions and 42 deletions

View file

@ -42,7 +42,7 @@ profile fwupd @{exec_path} flags=(attach_disconnected,complain) {
dbus send bus=system path=/org/freedesktop/DBus
interface=org.freedesktop.DBus
member={GetConnectionUnixUser,GetConnectionUnixProcessID}
peer=(name=org.freedesktop.DBus, label=dbus-system),
peer=(name=org.freedesktop.DBus, label="@{p_dbus_system}"),
dbus send bus=system path=/org/freedesktop/UDisks2/Manager
interface=org.freedesktop.UDisks2.Manager