feat: ensure the dbus services start with the good profile.

As the entrypoin is the same for system & session bus, it is required to use
systemd to select the profile.
This commit is contained in:
Alexandre Pujol 2024-03-16 21:52:38 +00:00
parent 6a41184a0e
commit d41f289e2a
Failed to generate hash of commit
5 changed files with 9 additions and 2 deletions

View file

@ -0,0 +1,2 @@
[Service]
AppArmorProfile=dbus-system

View file

@ -0,0 +1,2 @@
[Service]
AppArmorProfile=dbus-system

View file

@ -1,3 +1,2 @@
[Service]
AppArmorProfile=at-spi-bus
AppArmorProfile=dbus-accessibility

View file

@ -0,0 +1,2 @@
[Service]
AppArmorProfile=dbus-session

View file

@ -0,0 +1,2 @@
[Service]
AppArmorProfile=dbus-session