diff --git a/apparmor.d/groups/ubuntu/notify-reboot-required b/apparmor.d/groups/ubuntu/notify-reboot-required new file mode 100644 index 00000000..91fd3a8a --- /dev/null +++ b/apparmor.d/groups/ubuntu/notify-reboot-required @@ -0,0 +1,23 @@ +# apparmor.d - Full set of apparmor profiles +# Copyright (C) 2022 Alexandre Pujol +# SPDX-License-Identifier: GPL-2.0-only + +abi , + +include + +@{exec_path} = /usr/share/update-notifier/notify-reboot-required +profile notify-reboot-required @{exec_path} { + include + + @{exec_path} mr, + + /{usr/,}bin/gettext rix, + + /usr/share/update-notifier/notify-reboot-required r, + + @{run}/reboot-required rw, + @{run}/reboot-required.pkgs rw, + + include if exists +} \ No newline at end of file