From f2b43d21cfb2696df8047604e447b5c9826ff9fd Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Tue, 3 Nov 2009 23:11:19 +0000 Subject: User Manual: Warn readers about mmap and SELinux issue. 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 Signed-off-by: Holger Hans Peter Freyther --- docs/usermanual/chapters/getting_oe.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/usermanual/chapters/getting_oe.xml b/docs/usermanual/chapters/getting_oe.xml index 8d9c5b7a0a..4ec5fecb1f 100644 --- a/docs/usermanual/chapters/getting_oe.xml +++ b/docs/usermanual/chapters/getting_oe.xml @@ -257,7 +257,13 @@ MACHINE = "om-gta01" If your system does not provide the /etc/sysctl.conf mechanism, you can try adding the above echo command line to - your /etc/rc.local. + your /etc/rc.local. 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: + + $ setsebool -P allow_unconfirmed_mmap_low 1 -- cgit v1.2.3