Issue #1352

Updated by bmbouter over 8 years ago

When installing Pulp, sometimes the I did a Pulp SELinux policies will fail to 2.7.0 rc install due on a clean Fedora 22 machine and got the following when attempting to the selinux-policy package not being as current as the one the package was built against. This fails silently at install time and later causes issues like these: run "pulp-admin login -u admin -p admin": 

 There was an internal server error while trying to access the Pulp application. 
 One possible cause is that the database needs to be migrated to the latest 
 version. If this is the case, run pulp-manage-db and restart the services. More 
 information may be found in Apache's log. 

 This appears to be caused by an selinux denial: 

 type=AVC msg=audit(1446667384.635:236): avc:    denied    { getattr } for    pid=1485 comm="httpd" path="/ 
 srv/pulp/webservices.wsgi" dev="vda1" ino=387475 scontext=system_u:system_r:httpd_t:s0 tcontext=syst 
 em_u:object_r:var_t:s0 tclass=file permissive=0 

 I was able to log in after running "setenforce 0".