SELinux and HTTP Error

Daniel J Walsh dwalsh at redhat.com
Tue Sep 14 16:03:43 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/14/2010 11:53 AM, Daniel J Walsh wrote:
> On 09/14/2010 08:19 AM, Richard Heck wrote:
>> On 09/13/2010 11:49 AM, Daniel J Walsh wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA1
>>>
>>> On 09/12/2010 08:05 AM, Richard Heck wrote:
>>>    
>>>> Anyone help me with this? I get this error every time httpd starts. This
>>>> is still F12, but up to date.
>>>>
>>>> The info isn't that helpful, as I don't have user directories enabled in
>>>> httpd.conf anyway.
>>>>
>>>> Thanks,
>>>> Richard
>>>>
>>>>
>>>> Summary:
>>>>
>>>> SELinux is preventing /usr/sbin/httpd "search" access on /root/.local.
>>>>
>>>> [snip]
>>> Looks like your apache program is trying to search content in
>>> /root.local? You could remove this directory.  Could you be using a
>>> python or gnome based application?
>>>
>>>    
>> Removing python.conf from /etc/httpd/conf.d/ stops the error, so it has 
>> something to do with loading mod_python. Puzzling.
> 
>> rh
> 
> python searches  HOMEDIR/.local/usr/lib64/site-packages/
> hes
> 
> For local modifications.
> 
>        -s     Don't add user site directory to sys.path.
> 
> On the python command stops this behavior.  We should probably make that
> the default for mod_python.
> 
> 
I opened a bugzilla on this.
https://bugzilla.redhat.com/show_bug.cgi?id=633905
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkyPnN8ACgkQrlYvE4MpobPArgCgygQ4ncbflpmQy0Imi9qizSyO
f0gAoMPy1bAFtyewwfbcyBDuzYyc6nLy
=Epx0
-----END PGP SIGNATURE-----


More information about the users mailing list