From 4c087bec4ae1effb071e676f56f79b3bb628046c Mon Sep 17 00:00:00 2001 From: Besanon Date: Fri, 7 Jun 2024 09:10:41 +0200 Subject: [PATCH] Update lxqt-config-locale --- apparmor.d/groups/lxqt/lxqt-config-locale | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/apparmor.d/groups/lxqt/lxqt-config-locale b/apparmor.d/groups/lxqt/lxqt-config-locale index 5b74e0eec..5a9c34645 100644 --- a/apparmor.d/groups/lxqt/lxqt-config-locale +++ b/apparmor.d/groups/lxqt/lxqt-config-locale @@ -3,10 +3,12 @@ # Copyright (C) 2024 Besanon # SPDX-License-Identifier: GPL-2.0-only -#include +abi , + +include @{exec_path} = @{bin}/lxqt-config-locale -profile lxqt-config-locale @{exec_path} { +profile lxqt-config-locale @{exec_path} flags=(complain) { include include include @@ -19,16 +21,13 @@ profile lxqt-config-locale @{exec_path} { @{exec_path} mr, owner @{user_config_dirs}/lxqt/* r, - owner @{user_config_dirs}/lxqt/lxqt-config-locale.conf.lock rwk, owner @{user_config_dirs}/lxqt/** rwkl -> @{user_config_dirs}/lxqt/#@{int}, owner /tmp/@{int} r, - @{sys}/devices/@{pci_bus}/{,**} r, - @{sys}/devices/@{pci_bus}/**/**/** r, - @{PROC}/sys/kernel/random/boot_id r, /dev/tty rw, + include if exists }