From: Lennart Poettering Date: Tue, 20 Sep 2011 22:45:22 +0000 (+0200) Subject: units: don't initialize automount point for securityfs if the initrd already mounted... X-Git-Tag: v36~47 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=b1db68fa60d4257d5cc84b512719dd99e856d82f;hp=ab7f148f81723ef18402b78ea34fb5e1bbe85ff0 units: don't initialize automount point for securityfs if the initrd already mounted the directory --- diff --git a/units/sys-kernel-security.automount b/units/sys-kernel-security.automount index b7b16e19a..b0fc4618e 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