mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-31 06:16:03 +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() {
|
||||
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 $?
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user