Blame 0042-99base-init-mount-securityfs-with-source-securityfs-.patch

Harald Hoyer 55891e
From d63fdc1198cd13ed68e7f08acd7ca164c9f35262 Mon Sep 17 00:00:00 2001
Harald Hoyer 55891e
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 55891e
Date: Tue, 20 Sep 2011 10:10:29 +0200
Harald Hoyer 55891e
Subject: [PATCH] 99base/init: mount securityfs with source "securityfs"
Harald Hoyer 55891e
 instead of dest
Harald Hoyer 55891e
Harald Hoyer 55891e
---
Harald Hoyer 55891e
 modules.d/99base/init |    2 +-
Harald Hoyer 55891e
 1 files changed, 1 insertions(+), 1 deletions(-)
Harald Hoyer 55891e
Harald Hoyer 55891e
diff --git a/modules.d/99base/init b/modules.d/99base/init
Harald Hoyer 55891e
index 4f59818..fa808ca 100755
Harald Hoyer 55891e
--- a/modules.d/99base/init
Harald Hoyer 55891e
+++ b/modules.d/99base/init
Harald Hoyer 55891e
@@ -89,7 +89,7 @@ RD_DEBUG=""
Harald Hoyer 55891e
 SECURITYFSDIR="/sys/kernel/security"
Harald Hoyer 55891e
 export SECURITYFSDIR
Harald Hoyer 55891e
 if ! ismounted "${SECURITYFSDIR}"; then
Harald Hoyer 55891e
-    mount -t securityfs -o nosuid,noexec,nodev ${SECURITYFSDIR} ${SECURITYFSDIR} >/dev/null 2>&1
Harald Hoyer 55891e
+    mount -t securityfs -o nosuid,noexec,nodev securityfs ${SECURITYFSDIR} >/dev/null 2>&1
Harald Hoyer 55891e
 fi
Harald Hoyer 55891e
 
Harald Hoyer 55891e
 if [ -x /lib/systemd/systemd-timestamp ]; then