From 8bde72d99c7f067e975adaac2409721ac153fb11 Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 17 Jul 2012 02:44:03 +0300 Subject: [PATCH] Mount securityfs needed for AppArmor and some TPM drivers. Should be harmless. --- modules/system/boot/stage-1-init.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/system/boot/stage-1-init.sh b/modules/system/boot/stage-1-init.sh index cc12ccaa738..175b58a3719 100644 --- a/modules/system/boot/stage-1-init.sh +++ b/modules/system/boot/stage-1-init.sh @@ -70,6 +70,7 @@ mount -t sysfs none /sys mount -t tmpfs -o "mode=0755,size=@devSize@" none /dev mkdir -p /run mount -t tmpfs -o "mode=0755,size=@runSize@" none /run +mount -t securityfs none /sys/kernel/security # Some console devices, for the interactivity mknod /dev/console c 5 1