From 053dafe6dee084d0caf5cf49836263c00166066c Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Fri, 3 May 2013 13:08:52 +1000 Subject: [PATCH] Disable selinux for RHEL6 selinux locks down httpd which causes various issues for Horizon working from git checkouts. Dealing with selinux is more a deployment than a development issue, so we just disable it for devstack. Change-Id: I1e61f34e812360dafacd3b3288e66bc9cc5f1648 Fixes: 1175444 --- stack.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/stack.sh b/stack.sh index 5a6945df90..e5b2b2703d 100755 --- a/stack.sh +++ b/stack.sh @@ -560,6 +560,10 @@ fi # ============================ if [[ is_fedora && $DISTRO =~ (rhel6) ]]; then + # Avoid having to configure selinux to allow things like httpd to + # access horizion files or run binaries like nodejs (LP#1175444) + sudo setenforce 0 + # An old version (2.0.1) of python-crypto is probably installed on # a fresh system, via the dependency chain # cas->python-paramiko->python-crypto (related to anaconda).