All sites are down after changing virtual hosts' location with SELinux enforce mode

Created:

2017-06-20 12:02:42 UTC

Modified:

2017-08-08 13:18:47 UTC

0

Was this article helpful?


Have more questions?

Submit a request

All sites are down after changing virtual hosts' location with SELinux enforce mode

Symptoms

All sites are down after changing virtual hosts' location with SELinux enforce mode with the following errors in /var/log/audit/audit.log:

 type=AVC msg=audit(1497589270.824:43672): avc:  denied 
{ read } for  pid=24968 comm="/usr/sbin/httpd" name=".htaccess" dev="vda1" ino=26584342 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=file

Cause

This is an internal issue with ID #PPPM-6521, which is planned to be fixed in future product updates.

Resolution

As a workaround, set selinux to Permissive mode prior to changing vhosts' location

Have more questions? Submit a request
Please sign in to leave a comment.