c36abb7d55
- install SubDomain.pm compat module (bnc#713408) - Update to 2.6.1. - One patch eliminated - Lots of minor fixes - Split out more common abstractions - Add check_for_apparmor() helper. - dhcpd: Fix apparmor profile (bnc#692428) - Fixed typos in descriptions and summaries of apparmor.spec - move the requires and prerequires to the right package OBS-URL: https://build.opensuse.org/request/show/81356 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apparmor?expand=0&rev=20
23 lines
680 B
Diff
23 lines
680 B
Diff
From: Federic Crozat <fcrozat@suse.com>
|
|
Subkect: apparmor: Let systemd automount securityfs
|
|
References: bnc#704460
|
|
|
|
Do not mount securityfs when running under systemd, just access
|
|
the directory, systemd will automount it
|
|
|
|
---
|
|
parser/rc.apparmor.functions | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/parser/rc.apparmor.functions
|
|
+++ b/parser/rc.apparmor.functions
|
|
@@ -295,7 +295,7 @@ is_apparmor_loaded() {
|
|
}
|
|
|
|
is_securityfs_mounted() {
|
|
- grep -q securityfs /proc/filesystems && grep -q securityfs /proc/mounts
|
|
+ test -d ${SECURITYFS} -a -d /sys/fs/cgroup/systemd || grep -q securityfs /proc/filesystems && grep -q securityfs /proc/mounts
|
|
return $?
|
|
}
|
|
|