diff --git a/apparmor.d/groups/lxqt/lxqt-config-powermanagement b/apparmor.d/groups/lxqt/lxqt-config-powermanagement index 848cf2e04..517ea5c70 100644 --- a/apparmor.d/groups/lxqt/lxqt-config-powermanagement +++ b/apparmor.d/groups/lxqt/lxqt-config-powermanagement @@ -3,10 +3,12 @@ # Copyright (C) 2024 Besanon # SPDX-License-Identifier: GPL-2.0-only -#include +abi , + +include @{exec_path} = @{bin}/lxqt-config-powermanagement -profile lxqt-config-powermanagement @{exec_path} { +profile lxqt-config-powermanagement @{exec_path} flags=(complain) { include include include @@ -22,12 +24,11 @@ profile lxqt-config-powermanagement @{exec_path} { owner /tmp/@{int} r, - @{sys}/devices/@{pci_bus}/{,**} r, - @{sys}/devices/@{pci_bus}/**/**/** r, @{sys}/class/backlight/ r, @{PROC}/sys/kernel/random/boot_id r, /dev/tty rw, + include if exists }