From 3bfc1704af29e1de66003ec11b7fc9a1ab87abc0 Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Mon, 4 Feb 2013 08:56:44 -0600 Subject: bcfg2-web: Fix wsgi configuration for SELinux This creates the wsgi socket in a location where httpd is allowed to write by default (at least on RHEL). Creating the socket in /etc/httpd/run will not work without allowing httpd_t to write to httpd_config_t:dir. Signed-off-by: Sol Jerome --- misc/apache/bcfg2.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') diff --git a/misc/apache/bcfg2.conf b/misc/apache/bcfg2.conf index b9b4b0452..6cd5addf5 100644 --- a/misc/apache/bcfg2.conf +++ b/misc/apache/bcfg2.conf @@ -4,7 +4,7 @@ # WSGIScriptAlias /bcfg2 "/usr/share/bcfg2/reports.wsgi" - WSGISocketPrefix run + WSGISocketPrefix /var/run/httpd/wsgi WSGIDaemonProcess Bcfg2.Server.Reports processes=1 threads=10 WSGIProcessGroup Bcfg2.Server.Reports -- cgit v1.2.3-1-g7c22