Bug 1170220

Summary: Apache startup fails with misleading error if DocumentRoot has context type user_home_t
Product: Red Hat Enterprise Linux 7 Reporter: Jan Kaluža <jkaluza>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: Martin Frodl <mfrodl>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.2CC: dkutalek, gcheng, isenfeld, jkaluza, jorton, qe-baseos-apps
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: httpd-2.4.6-32.el7 Doc Type: Bug Fix
Doc Text:
If "DocumentRoot" was a directory with the context type of "user_home_t", the httpd service failed to start with an incorrect error message "DocumentRoot must be a directory". As a consequence, the error message was misleading because the "DocumentRoot" was a directory but not readable because of SELinux context. The misleading error message has been altered, and httpd now shows a more informative error message "DocumentRoot is not a directory, or is not readable" in this scenario.
Story Points: ---
Clone Of: 987590 Environment:
Last Closed: 2015-11-19 04:36:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 987590, 1207093, 1209547    
Bug Blocks:    

Comment 8 errata-xmlrpc 2015-11-19 04:36:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2194.html