mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2025-06-10 23:30:03 +02:00
Closes: https://bugs.gentoo.org/895302 Signed-off-by: Ao Luo <myloveyuxuan@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35698 Signed-off-by: Sam James <sam@gentoo.org>
34 lines
913 B
Diff
34 lines
913 B
Diff
https://bugs.gentoo.org/895302
|
|
--- a/apparmor.systemd
|
|
+++ b/apparmor.systemd
|
|
@@ -15,7 +15,7 @@
|
|
# along with this program; if not, contact Novell, Inc.
|
|
# ----------------------------------------------------------------------
|
|
|
|
-APPARMOR_FUNCTIONS=/lib/apparmor/rc.apparmor.functions
|
|
+APPARMOR_FUNCTIONS=/usr/libexec/rc.apparmor.functions
|
|
|
|
aa_action()
|
|
{
|
|
--- a/profile-load
|
|
+++ b/profile-load
|
|
@@ -21,7 +21,7 @@
|
|
|
|
[ -z "$1" ] && exit 1 # require a profile name
|
|
|
|
-. /lib/apparmor/rc.apparmor.functions
|
|
+. /usr/libexec/rc.apparmor.functions
|
|
|
|
# do not load in a container
|
|
if [ -x /usr/bin/systemd-detect-virt ] && \
|
|
--- a/rc.apparmor.slackware
|
|
+++ b/rc.apparmor.slackware
|
|
@@ -18,7 +18,7 @@
|
|
# rc.apparmor by Steve Beattie
|
|
#
|
|
# /etc/rc.d/rc.apparmor
|
|
-APPARMOR_FUNCTIONS=/lib/apparmor/rc.apparmor.functions
|
|
+APPARMOR_FUNCTIONS=/usr/libexec/rc.apparmor.functions
|
|
|
|
aa_action() {
|
|
STRING=$1
|