X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=rc.d%2Frc.sysinit;fp=rc.d%2Frc.sysinit;h=524fe973224954df24c2e4934c5eb36a14e44fb6;hb=007473280f09c23aeba773bafc133456d11e7b2f;hp=b6bfb29827db80c7d8a9951c8de9964161673f3f;hpb=9bd3fb3ab4feccd2936438b56b996dcd75e2e687;p=rc-scripts.git diff --git a/rc.d/rc.sysinit b/rc.d/rc.sysinit index b6bfb29..524fe97 100755 --- a/rc.d/rc.sysinit +++ b/rc.d/rc.sysinit @@ -124,7 +124,7 @@ init_selinux() { # no support in kernel, no chance SELINUX=no elif ! is_fsmounted selinuxfs /selinux; then - mount -n -o gid=17 -t selinuxfs selinuxfs /selinux + mount -n -t selinuxfs selinuxfs /selinux fi # Check SELinux status @@ -369,7 +369,7 @@ if [[ "$container" != lxc* ]]; then # sysfs is also needed before any other things (under kernel > 2.5) if ! is_fsmounted sysfs /sys; then - grep -Fq sysfs /proc/filesystems && mount -n -o gid=17 -t sysfs sysfs /sys + grep -Fq sysfs /proc/filesystems && mount -n -t sysfs sysfs /sys fi if grep -Fq securityfs /proc/filesystems; then mount -n -t securityfs securityfs /sys/kernel/security