From 6a2a1ea75f97da0c223be5d4916fdd08a42f97aa Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 17 Jun 2011 13:49:57 +0200 Subject: [PATCH] base/init: do not mount devtmpfs with "noexec" https://bugzilla.redhat.com/show_bug.cgi?id=710711 mmap /dev/zero: Operation not permitted --- modules.d/99base/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules.d/99base/init b/modules.d/99base/init index d7eb9c55..5975b25a 100755 --- a/modules.d/99base/init +++ b/modules.d/99base/init @@ -101,7 +101,7 @@ fi if ! ismounted /dev; then # try to mount devtmpfs - if ! mount -t devtmpfs -o mode=0755,nosuid,noexec devtmpfs /dev >/dev/null 2>&1; then + if ! mount -t devtmpfs -o mode=0755,nosuid devtmpfs /dev >/dev/null 2>&1; then # if it failed fall back to normal tmpfs mount -t tmpfs -o mode=0755,nosuid tmpfs /dev >/dev/null 2>&1 # Make some basic devices first, let udev handle the rest