mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-12-25 06:27:49 +01:00
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:
parent
6a41184a0e
commit
d41f289e2a
5 changed files with 9 additions and 2 deletions
2
systemd/default/system/dbus-broker.service
Normal file
2
systemd/default/system/dbus-broker.service
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[Service]
|
||||||
|
AppArmorProfile=dbus-system
|
2
systemd/default/system/dbus.service
Normal file
2
systemd/default/system/dbus.service
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[Service]
|
||||||
|
AppArmorProfile=dbus-system
|
|
@ -1,3 +1,2 @@
|
||||||
[Service]
|
[Service]
|
||||||
AppArmorProfile=at-spi-bus
|
AppArmorProfile=dbus-accessibility
|
||||||
|
|
||||||
|
|
2
systemd/default/user/dbus-broker.service
Normal file
2
systemd/default/user/dbus-broker.service
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[Service]
|
||||||
|
AppArmorProfile=dbus-session
|
2
systemd/default/user/dbus.service
Normal file
2
systemd/default/user/dbus.service
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
[Service]
|
||||||
|
AppArmorProfile=dbus-session
|
Loading…
Reference in a new issue