99base/init: mount securityfs with source "securityfs" instead of dest
authorHarald Hoyer <harald@redhat.com>
Tue, 20 Sep 2011 08:10:29 +0000 (10:10 +0200)
committerHarald Hoyer <harald@redhat.com>
Tue, 20 Sep 2011 08:10:29 +0000 (10:10 +0200)
modules.d/99base/init

index 4f59818..fa808ca 100755 (executable)
@@ -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