diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2013-02-04 08:56:44 -0600 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2013-02-04 08:59:08 -0600 |
commit | 3bfc1704af29e1de66003ec11b7fc9a1ab87abc0 (patch) | |
tree | 588535d11249732183c4d62343bbd6bc38984e3e | |
parent | d746166a7a984fc549f2c863020625f4c89ab5b3 (diff) | |
download | bcfg2-3bfc1704af29e1de66003ec11b7fc9a1ab87abc0.tar.gz bcfg2-3bfc1704af29e1de66003ec11b7fc9a1ab87abc0.tar.bz2 bcfg2-3bfc1704af29e1de66003ec11b7fc9a1ab87abc0.zip |
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 <sol.jerome@gmail.com>
-rw-r--r-- | misc/apache/bcfg2.conf | 2 |
1 files changed, 1 insertions, 1 deletions
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 |