X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=rc.d%2Frc.sysinit;h=524fe973224954df24c2e4934c5eb36a14e44fb6;hb=20920d818d785137888facc07b84771ded2a70c2;hp=b6bfb29827db80c7d8a9951c8de9964161673f3f;hpb=4404a269deb7ef3202edfe76ce89af0fb81c5bf2;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