From 77f81d8b3012c9b8dbfea89d6b54917d3e72a9a7 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 21 Sep 2011 03:26:37 +0200 Subject: units: drop automount unit for /sys/kernel/security Since securityfs cannot be build as module there's little value in having an on-demand autofs mount point for it. --- units/sys-kernel-security.automount | 16 ---------------- units/sys-kernel-security.mount | 3 +++ 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 units/sys-kernel-security.automount (limited to 'units') diff --git a/units/sys-kernel-security.automount b/units/sys-kernel-security.automount deleted file mode 100644 index b0fc4618ec..0000000000 --- a/units/sys-kernel-security.automount +++ /dev/null @@ -1,16 +0,0 @@ -# This file is part of systemd. -# -# systemd is free software; you can redistribute it and/or modify it -# under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version. - -[Unit] -Description=Security File System Automount Point -DefaultDependencies=no -Before=sysinit.target -ConditionPathExists=/sys/kernel/security -ConditionPathIsMountPoint=!/sys/kernel/security - -[Automount] -Where=/sys/kernel/security 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 -- cgit v1.2.3-54-g00ecf