diff --git a/apparmor.d/groups/systemd/localectl b/apparmor.d/groups/systemd/localectl new file mode 100644 index 00000000..68171dd8 --- /dev/null +++ b/apparmor.d/groups/systemd/localectl @@ -0,0 +1,23 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2021 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /{usr/,}bin/localectl +profile localectl @{exec_path} { + include + include + + @{exec_path} mr, + + /{usr/,}bin/pager rPx -> child-pager, + /{usr/,}bin/less rPx -> child-pager, + /{usr/,}bin/more rPx -> child-pager, + + /usr/share/kbd/keymaps/{,**} r, + + include if exists +} \ No newline at end of file diff --git a/dists/flags/main.flags b/dists/flags/main.flags index 2b95c34b..d05d2282 100644 --- a/dists/flags/main.flags +++ b/dists/flags/main.flags @@ -94,6 +94,7 @@ lastlog complain libvirt-dbus complain libvirtd attach_disconnected,complain locale-gen complain +localectl complain login complain lvm complain lvmconfig complain