mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Make apache work with selinux
The default configuration of the apache selinux policy doesn't allow apache to connect to the turbogears gui. This sets the correct boolean to allow that connection.
This commit is contained in:
@@ -369,6 +369,9 @@ def main():
|
|||||||
ds.restart()
|
ds.restart()
|
||||||
krb.restart()
|
krb.restart()
|
||||||
|
|
||||||
|
# Allow apache to connect to the turbogears web gui
|
||||||
|
run(["/usr/sbin/setsebool", "httpd_can_network", "true"])
|
||||||
|
|
||||||
# Restart apache
|
# Restart apache
|
||||||
run(["/sbin/service", "httpd", "restart"])
|
run(["/sbin/service", "httpd", "restart"])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user