Skip to content
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.

Commit

Permalink
<openshift-console> Bug 961888 - Fix SELinux context for httpd run dir
Browse files Browse the repository at this point in the history
https://bugzilla.redhat.com/show_bug.cgi?id=961888

Sets the proper SELinux context on /var/www/openshift/console/httpd/run
(httpd_var_run_t)
  • Loading branch information
detiber committed May 10, 2013
1 parent 4d19330 commit 2ecc9d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openshift-console/openshift-origin-console.spec
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ fi
/usr/sbin/semanage -i - <<_EOF
fcontext -a -t httpd_log_t '%{_var}/log/openshift/console(/.*)?'
fcontext -a -t httpd_log_t '%{_var}/log/openshift/console/httpd(/.*)?'
fcontext -a -t httpd_var_run_t '%{consoledir}/httpd/run(/.*)?'
_EOF
/sbin/restorecon -R %{_var}/log/openshift/console
Expand Down

0 comments on commit 2ecc9d9

Please sign in to comment.