summaryrefslogtreecommitdiffstats
path: root/units/sys-kernel-security.automount
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-09-21 00:45:22 +0200
committerLennart Poettering <lennart@poettering.net>2011-09-21 00:50:41 +0200
commitb1db68fa60d4257d5cc84b512719dd99e856d82f (patch)
tree6b80a84564818f6fcab1d6f5996afa4e2f20150e /units/sys-kernel-security.automount
parentunit: introduce ConditionPathIsMountPoint= (diff)
downloadsystemd-b1db68fa60d4257d5cc84b512719dd99e856d82f.tar.xz
systemd-b1db68fa60d4257d5cc84b512719dd99e856d82f.zip
units: don't initialize automount point for securityfs if the initrd already mounted the directory
Diffstat (limited to '')
-rw-r--r--units/sys-kernel-security.automount1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/sys-kernel-security.automount b/units/sys-kernel-security.automount
index b7b16e19aa..b0fc4618ec 100644
--- a/units/sys-kernel-security.automount
+++ b/units/sys-kernel-security.automount
@@ -10,6 +10,7 @@ Description=Security File System Automount Point
DefaultDependencies=no
Before=sysinit.target
ConditionPathExists=/sys/kernel/security
+ConditionPathIsMountPoint=!/sys/kernel/security
[Automount]
Where=/sys/kernel/security