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
This commit is contained in:
4
stack.sh
4
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).
|
||||
|
||||
Reference in New Issue
Block a user