]> TLD Linux GIT Repositories - packages/rc-scripts.git/blob - rc-scripts-selinuxfs_mount.patch
f447db005a1aedc715ad8598dce63e0624c8e040
[packages/rc-scripts.git] / rc-scripts-selinuxfs_mount.patch
1 diff -urNp rc-scripts-0.4.13.orig/rc.d/rc.sysinit rc-scripts-0.4.13/rc.d/rc.sysinit
2 --- rc-scripts-0.4.13.orig/rc.d/rc.sysinit      2015-02-06 13:39:53.000000000 +0000
3 +++ rc-scripts-0.4.13/rc.d/rc.sysinit   2015-02-06 13:40:47.644314244 +0000
4 @@ -127,9 +127,7 @@ init_selinux() {
5         if ! grep -Fq selinuxfs /proc/filesystems; then
6                 # no support in kernel, no chance
7                 SELINUX=no
8 -       fi
9 -
10 -       if ! is_fsmounted selinuxfs /selinux; then
11 +       elif ! is_fsmounted selinuxfs /selinux; then
12                 mount -n -o gid=17 -t selinuxfs selinuxfs /selinux
13         fi
14