[dracut/f16] mount securitfs with the correct source Resolves: rhbz#737140

Harald Hoyer harald at fedoraproject.org
Tue Sep 20 08:51:53 UTC 2011


commit 7685521ecbd24e6e6a08f540b5235cf2cdc6549b
Author: Harald Hoyer <harald at redhat.com>
Date:   Tue Sep 20 10:51:40 2011 +0200

    mount securitfs with the correct source
    Resolves: rhbz#737140

 ...-mount-securityfs-with-source-securityfs-.patch |   23 ++++++++++++++++++++
 1 files changed, 23 insertions(+), 0 deletions(-)
---
diff --git a/0042-99base-init-mount-securityfs-with-source-securityfs-.patch b/0042-99base-init-mount-securityfs-with-source-securityfs-.patch
new file mode 100644
index 0000000..6b2d9a8
--- /dev/null
+++ b/0042-99base-init-mount-securityfs-with-source-securityfs-.patch
@@ -0,0 +1,23 @@
+From d63fdc1198cd13ed68e7f08acd7ca164c9f35262 Mon Sep 17 00:00:00 2001
+From: Harald Hoyer <harald at 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


More information about the scm-commits mailing list