Description of problem: When I install proxy using either configure_proxy or web proxy works fine. Then when I upgrade/downgrade using classic rpm -Uvh to version 0.5.7.-12/0.5.7-13 record in /var/cache/rhn/proxy-auth is removed and therefor communication from client thru this proxy is not possible. SE Linux in Enforcing mode Version-Release number of selected component (if applicable): RHN-Proxy 5.3 RHEL5 U5 How reproducible: always Steps to Reproduce: 1. Activate proxy thru web or configure-proxy 2. setenforce 1 3. rpm -Uvh <spacewalk-proxy rpms> 4. Try to register client thru proxy/do rhn_check Actual results: On client: Error code: -1000 Error Message: RHN Proxy error (auth caching issue). Please contact your system administra. Error Class Code: 1000 Error Class Info: RHN Proxy error. ... On Proxy: Exception type exceptions.OSError Exception while handling function ProxyAuth.set_cached_token Extra information about this error: Caching of authentication token for proxy id <xyz> failed! ... Exception Handler Information Traceback (most recent call last): File "/usr/share/rhn/proxy/rhnProxyAuth.py", line 145, in set_cached_token shelf[self.__cache_proxy_key()] = token File "/usr/share/rhn/proxy/rhnProxyAuth.py", line 391, in __setitem__ return rhnCache.set(rkey, val) File "/usr/share/rhn/common/rhnCache.py", line 84, in set cache.set(name, value, modified, user, group, mode) File "/usr/share/rhn/common/rhnCache.py", line 363, in set self.cache.set(name, pickled, modified, user, group, mode) File "/usr/share/rhn/common/rhnCache.py", line 253, in set fd = self.set_file(name, modified, user, group, mode) File "/usr/share/rhn/common/rhnCache.py", line 286, in set_file fd = WriteLockedFile(name, modified, user, group, mode) File "/usr/share/rhn/common/rhnCache.py", line 181, in __init__ self.fd = self.get_fd(name, user, group, mode) File "/usr/share/rhn/common/rhnCache.py", line 224, in get_fd fd = _safe_create(self.fname, user, group, mode) File "/usr/share/rhn/common/rhnCache.py", line 133, in _safe_create makedirs(dirname, mode, user, group) File "/usr/share/rhn/common/rhnLib.py", line 609, in makedirs os.mkdir(dirname, mode) OSError: [Errno 13] Permission denied: '/var/cache/rhn/proxy-auth' ... Expected results: Registration/rhn_check Additional info: There is bug 627168 that also reports "rpm -V spacewalk-proxy-common.noarch" is returning error - missing proxy-auth file.
*** This bug has been marked as a duplicate of bug 627168 ***