init-Linux.sh: do not mount /run with nosuid
This is so that we will be consistent with the systemd spec forr the /run directory mentioned in this wiki article: http://www.freedesktop.org/wiki/Software/systemd/InitrdInterface/
This commit is contained in:
parent
561b53ef09
commit
cdc0dd061b
@ -57,7 +57,7 @@ elif ! mountinfo -q /run; then
|
|||||||
ebegin "Mounting /run"
|
ebegin "Mounting /run"
|
||||||
rc=0
|
rc=0
|
||||||
if ! fstabinfo --mount /run; then
|
if ! fstabinfo --mount /run; then
|
||||||
mount -t tmpfs -o mode=0755,nosuid,nodev,size=10% tmpfs /run
|
mount -t tmpfs -o mode=0755,nodev,size=10% tmpfs /run
|
||||||
rc=$?
|
rc=$?
|
||||||
fi
|
fi
|
||||||
if [ $rc != 0 ]; then
|
if [ $rc != 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user