From: Marcin Krol Date: Tue, 14 Jul 2015 13:14:38 +0000 (+0000) Subject: - merged /selinux mounting fix X-Git-Tag: 0.4.14~6 X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=bae490230fe06fe970c542247a499926c51d2b1f;p=rc-scripts.git - merged /selinux mounting fix --- 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