Description of problem: oo-diagnostics throws a warning for incorrect SELinux context on /var/www/openshift/console/httpd/run/httpd.pid. The context should be httpd_var_run_t and not httpd_sys_rw_content_t Version-Release number of selected component (if applicable): 1.5.18-1 How reproducible: Everytime Steps to Reproduce: 1. Do a new install 2. Run oo-diagnostics 3. Actual results: Warning for incorrect SELinux context on /var/www/openshift/console/httpd/run/httpd.pid Expected results: No warning for SELinux contexts Additional info:
https://github.com/openshift/origin-server/pull/2425
Since oo-diagnostics is from openshift-extras and mostly enterprise only, here is a better way to reproduce: Steps to Reproduce: 1. Do a new install 2. ls -Zd /var/www/openshift/console/httpd/run Actual results: system_u:object_r:httpd_sys_content_t:s0 Expected results: system_u:object_r:httpd_var_run_t:s0
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/2ecc9d9c15c6509bb58b352c6b5d991e3c0762cd <openshift-console> Bug 961888 - Fix SELinux context for httpd run dir 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)
Since Jason tested this issue on latest Enterprise Puddle and latest Origin Devenv (RHEL), it is fixed now, so move it to verify, thanks.