2 ms·
I once spent several days trying to troubleshoot why the public_html module on my web server was working for all except one user's home directory. It turned ou
by alyandon 11y ago
I once spent several days trying to troubleshoot why the public_html module on my web server was working for all except one user's home directory.
It turned out at some point in the past that particular user's home directory had been evacuated off /home in order to free up some space and then was copied back. That process stripped out all the SELinux context information and there was an SELinux policy in place that basically prevented the public_html module from accessing a directory that did not contain whatever the hell SELinux was looking for.
This is not the only example of my problems with SELinux in the past but it was the straw that broke the camel's back. SELinux has been persona non grata on my systems for years now and I still get angry thinking about the time I spent troubling SELinux issues in the past. :-/