User Manual: Warn readers about mmap and SELinux issue.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Tue, 3 Nov 2009 23:11:19 +0000 (23:11 +0000)
committerHolger Hans Peter Freyther <zecke@selfish.org>
Thu, 5 Nov 2009 09:27:09 +0000 (10:27 +0100)
On some Linux distros, if you set the kernel /proc file
/proc/sys/vm/mmap_min_addr to zero, you will probably get an SELinux
violation if you're running SELinux in enforcing mode.  Explain to the
reader how to get around that.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org>
docs/usermanual/chapters/getting_oe.xml

index 8d9c5b7..4ec5fec 100644 (file)
@@ -257,7 +257,13 @@ MACHINE = "om-gta01"</screen>
         If your system does not provide
         the <filename>/etc/sysctl.conf</filename> mechanism, you can try adding
         the above <command>echo</command> command line to
-        your <filename>/etc/rc.local</filename>.
+        your <filename>/etc/rc.local</filename>.  But that's not all.
+
+        On some systems (such as Fedora 11), changing that kernel setting
+        will cause an SELinux violation if you're running SELinux in enforcing
+        mode. If that's the case, you can either disable SELinux or run:
+
+        <screen>$ setsebool -P allow_unconfirmed_mmap_low 1</screen>
       </para>
     </note>