[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Errors when retrieving mirrorlist for updates repository



On Sat, May 12, 2007 at 08:58:24PM -1000, Julian Yap wrote:
>  Hi,
> 
>  I get this error when running 'yum update'.
[...]
>  Is it a larger issue?

It looks like mod_python was to blame.


[Sun May 13 01:24:03 2007] [error] [client 10.8.32.55] PythonHandler return_mirrorlist: Traceback (most recent call last):
[Sun May 13 01:24:03 2007] [error] [client 10.8.32.55] PythonHandler return_mirrorlist:   File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch\n    log=debug)
[Sun May 13 01:24:03 2007] [error] [client 10.8.32.55] PythonHandler return_mirrorlist:   File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 461, in import_module\n    f, p, d = imp.find_module(parts[i], path)
[Sun May 13 01:24:03 2007] [error] [client 10.8.32.55] PythonHandler return_mirrorlist: ImportError: No module named return_mirrorlist


Restarting httpd seemed to have fixed it.

I also noticed this SELinux audit message:

audit(1179014650.637:1171): avc:  denied  { getattr } for  pid=21393 comm="httpd" name="mirrorlist_cache.pkl" dev=xvda3 ino=129681 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:tmp_t:s0 tclass=file

I wonder if SELinux is to blame for some of the erratic TurboGears behavior
that we have been experiencing?

luke



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]