summaryrefslogtreecommitdiff
path: root/units/sys-kernel-security.mount
diff options
context:
space:
mode:
Diffstat (limited to 'units/sys-kernel-security.mount')
-rw-r--r--units/sys-kernel-security.mount3
1 files changed, 3 insertions, 0 deletions
diff --git a/units/sys-kernel-security.mount b/units/sys-kernel-security.mount
index 770207f004..f5d84a6fe2 100644
--- a/units/sys-kernel-security.mount
+++ b/units/sys-kernel-security.mount
@@ -8,6 +8,9 @@
[Unit]
Description=Security File System
DefaultDependencies=no
+ConditionPathExists=/sys/kernel/security
+ConditionPathIsMountPoint=!/sys/kernel/security
+Before=sysinit.target
[Mount]
What=securityfs