From b1db68fa60d4257d5cc84b512719dd99e856d82f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 21 Sep 2011 00:45:22 +0200 Subject: [PATCH] units: don't initialize automount point for securityfs if the initrd already mounted the directory --- units/sys-kernel-security.automount | 1 + 1 file changed, 1 insertion(+) diff --git a/units/sys-kernel-security.automount b/units/sys-kernel-security.automount index b7b16e19..b0fc4618 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 -- 2.39.5