Add SELinux policy for Horizon
httpd, due to Horizon, needs SELinux policy to allow it to connect to the various ports for the OpenStack services. We can add this policy by setting the SELinux boolean httpd_can_network_connect. Change-Id: I663e543ddb1738c5e2de40b37d5a0e697762feb4 Closes-Bug: 1361630
This commit is contained in:
parent
636a04dd5b
commit
4faeb9570f
10
elements/horizon/os-refresh-config/configure.d/20-horizon-selinux
Executable file
10
elements/horizon/os-refresh-config/configure.d/20-horizon-selinux
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
[ -x /usr/sbin/semanage ] || exit 0
|
||||
|
||||
# https://bugs.launchpad.net/tripleo/+bug/1361630
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1133904
|
||||
setsebool -P httpd_can_network_connect 1
|
Loading…
Reference in New Issue
Block a user