From 22710a8dce6700cfd3c991d9c0e5425fc7bdea5e Mon Sep 17 00:00:00 2001 From: Karl MacMillan Date: Fri, 28 Sep 2007 16:45:57 -0400 Subject: 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. --- ipa-server/ipa-install/ipa-server-install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ipa-server/ipa-install/ipa-server-install b/ipa-server/ipa-install/ipa-server-install index 439a8b3fe..d4e55302b 100644 --- a/ipa-server/ipa-install/ipa-server-install +++ b/ipa-server/ipa-install/ipa-server-install @@ -369,6 +369,9 @@ def main(): ds.restart() krb.restart() + # Allow apache to connect to the turbogears web gui + run(["/usr/sbin/setsebool", "httpd_can_network", "true"]) + # Restart apache run(["/sbin/service", "httpd", "restart"]) -- cgit