]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
base/init: drop "noexec" from /dev/shm
authorHarald Hoyer <harald@redhat.com>
Tue, 25 Jan 2011 09:35:20 +0000 (10:35 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 25 Jan 2011 09:35:20 +0000 (10:35 +0100)
modules.d/99base/init

index 22cb39a8fbebc30b0ef61bac612de45108c67949..8116a4d614d00c0773a547f45df4e3ed7e61e4cb 100755 (executable)
@@ -104,7 +104,7 @@ ln -s /proc/self/fd/1 /dev/stdout >/dev/null 2>&1
 ln -s /proc/self/fd/2 /dev/stderr >/dev/null 2>&1
 mkdir -m 0755 /dev/shm /dev/pts /dev/.udev /dev/.udev/rules.d /dev/.initramfs
 mount -t devpts -o gid=5,mode=620,noexec,nosuid devpts /dev/pts >/dev/null 2>&1
-mount -t tmpfs -o mode=1777,noexec,nosuid,nodev  tmpfs /dev/shm >/dev/null 2>&1
+mount -t tmpfs -o mode=1777,nosuid,nodev  tmpfs /dev/shm >/dev/null 2>&1
 
 if getargbool 0 rd.debug -y rdinitdebug -y rdnetdebug; then
     getarg quiet && DRACUT_QUIET="yes"