apparmor.d/apparmor.d/groups/ubuntu/notify-reboot-required
Jeroen Rijken 40b171ee94 Replace shells with new sh_path variable
Signed-off-by: Jeroen Rijken <jeroen.rijken@xs4all.nl>
2024-02-21 13:56:40 +00:00

26 lines
No EOL
639 B
Text

# apparmor.d - Full set of apparmor profiles
# Copyright (C) 2022-2024 Alexandre Pujol <alexandre@pujol.io>
# SPDX-License-Identifier: GPL-2.0-only
abi <abi/3.0>,
include <tunables/global>
@{exec_path} = /usr/share/update-notifier/notify-reboot-required
profile notify-reboot-required @{exec_path} {
include <abstractions/base>
include <abstractions/consoles>
@{exec_path} mr,
@{sh_path} rix,
@{bin}/gettext rix,
@{bin}/snap rPUx,
/usr/share/update-notifier/notify-reboot-required r,
@{run}/reboot-required rw,
@{run}/reboot-required.pkgs rw,
include if exists <local/notify-reboot-required>
}