init.sh: apply SELinux label for /run early in boot
Some initramfs mount /run which then ends up with the wrong labels. Force relabel all of /run right after its mounted to fix.
This commit is contained in:
parent
1ab8541a6c
commit
5bb6f9aa31
@ -83,6 +83,7 @@ elif ! mountinfo -q /run; then
|
||||
fi
|
||||
fi
|
||||
|
||||
[ -x /sbin/restorecon ] && /sbin/restorecon -rF /run
|
||||
checkpath -d $RC_SVCDIR
|
||||
checkpath -d -m 0775 -o root:uucp /run/lock
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user