feat(profiles): add some missing dbus, MOUNTS and dconf rules.

This commit is contained in:
Alexandre Pujol 2022-06-13 21:38:14 +01:00
parent 50a18aac08
commit 6898bac12f
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
14 changed files with 20 additions and 26 deletions

View file

@ -9,6 +9,7 @@ include <tunables/global>
@{exec_path} = /{usr/,}bin/light-locker
profile light-locker @{exec_path} {
include <abstractions/base>
include <abstractions/dconf-write>
include <abstractions/X>
include <abstractions/gtk>
include <abstractions/fonts>
@ -27,10 +28,6 @@ profile light-locker @{exec_path} {
# when locking the screen and switching/closing sessions
@{run}/systemd/sessions/* r,
include <abstractions/dconf>
owner @{run}/user/@{uid}/dconf/ rw,
owner @{run}/user/@{uid}/dconf/user rw,
@{sys}/devices/pci[0-9]*/**/uevent r,
@{sys}/devices/pci[0-9]*/**/vendor r,
@{sys}/devices/pci[0-9]*/**/device r,