mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-09-03 07:45:50 +00:00
openSUSE patch to add systemd support to rc.apparmor.functions
Acked-By: Steve Beattie <sbeattie@ubuntu.com>
This commit is contained in:
@@ -296,7 +296,7 @@ is_apparmor_loaded() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
is_securityfs_mounted() {
|
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 $?
|
return $?
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user