[Spacewalk-list] failing yum update through 1.8 proxy

Michael Mraka michael.mraka at redhat.com
Fri Dec 14 09:47:59 UTC 2012


Maria Iano wrote:
% I have just activated a 1.8 spacewalk proxy server on CentOS 5 i386.
% I am able to register a new system to it, and I am able to list
% updates, but if I try to install them they fail to download. If I
% edit up2date to point to the spacewalk server itself the update
% downloads successfully and installs. This only happens when I point
% to the proxy server.
% 
% It looked like this was
% https://bugzilla.redhat.com/show_bug.cgi?id=872721 but I implemented
% the fix at http://git.fedorahosted.org/cgit/spacewalk.git/commit/?id=5f00038675c58c5a401d0c4a5cbfa332c28a4405
% and it has not fixed this for me.
...
% [Wed Dec 12 16:30:22 2012] [error]   File "/usr/lib/python2.4/site-packages/spacewalk/common/rhnCache.py",
% line 156, in _safe_create
% [Wed Dec 12 16:30:22 2012] [error]     fd = os.open(fname,
% os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0644)
% [Wed Dec 12 16:30:22 2012] [error] OSError: [Errno 13] Permission
% denied: '/var/cache/rhn/list_all_packages-rpmforge-el5-i386'

Hi Maria,

Why httpd can't access /var/cache/rhn/list_all_packages-rpmforge-el5-i386?
Are there correct permissions on /var/cache/rhn and
/var/cache/rhn/list_all_packages-rpmforge-el5-i386?

Regards,

--
Michael Mráka
Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list