From bae490230fe06fe970c542247a499926c51d2b1f Mon Sep 17 00:00:00 2001 From: Marcin Krol Date: Tue, 14 Jul 2015 13:14:38 +0000 Subject: [PATCH] - merged /selinux mounting fix --- rc.d/rc.sysinit | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index dc3475b..50ca08a 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -123,9 +123,7 @@ init_selinux() { if ! grep -Fq selinuxfs /proc/filesystems; then # no support in kernel, no chance SELINUX=no - fi - - if ! is_fsmounted selinuxfs /selinux; then + elif ! is_fsmounted selinuxfs /selinux; then mount -n -o gid=17 -t selinuxfs selinuxfs /selinux fi -- 2.44.0