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