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
| ... | ... |
@@ -560,6 +560,10 @@ fi |
| 560 | 560 |
# ============================ |
| 561 | 561 |
|
| 562 | 562 |
if [[ is_fedora && $DISTRO =~ (rhel6) ]]; then |
| 563 |
+ # Avoid having to configure selinux to allow things like httpd to |
|
| 564 |
+ # access horizion files or run binaries like nodejs (LP#1175444) |
|
| 565 |
+ sudo setenforce 0 |
|
| 566 |
+ |
|
| 563 | 567 |
# An old version (2.0.1) of python-crypto is probably installed on |
| 564 | 568 |
# a fresh system, via the dependency chain |
| 565 | 569 |
# cas->python-paramiko->python-crypto (related to anaconda). |