Hide Forgot
Description of problem: When kickstarting RHEL 6 guest via RHN Proxy 5.4.1 on RHEL 6 from RHN Satellite 5.4.1 on RHEL 6, I get the following error in /var/log/httpd/error_log: [Tue Jun 21 07:54:26 2011] [error] RHN 15434 2011/06/21 07:54:26 -04:00: ERROR LOG FILE: Couldn't open log file /var/log/rhn/rhn_proxy_redirect.log [Tue Jun 21 07:54:26 2011] [error] RHN 15434 2011/06/21 07:54:26 -04:00: (<type 'exceptions.OSError'>, OSError(13, 'Permission denied')) In the audit.log, I find type=AVC msg=audit(1308650223.639:112601): avc: denied { setattr } for pid=15436 comm="httpd" name="rhn_proxy_broker.log" dev=dm-0 ino=2230288 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:spacewalk_proxy_httpd_log_t:s0 tclass=file type=AVC msg=audit(1308657266.509:112686): avc: denied { setattr } for pid=15434 comm="httpd" name="rhn_proxy_redirect.log" dev=dm-0 ino=2230307 scontext=unconfined_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:spacewalk_proxy_httpd_log_t:s0 tclass=file Version-Release number of selected component (if applicable): # rpm -qf /usr/share/rhn/wsgi/xmlrpc.py spacewalk-proxy-common-1.2.2-11.el6sat.noarch How reproducible: Seen once. Steps to Reproduce: 1. Have Satellite, RHN Proxy, and guest on RHEL 6. 2. Sync RHEL 6 channel, register that proxy machine, install proxy, register the guest machine via proxy, create kickstart, schedule kickstart of that guest via that proxy. 3. Do tail -f /var/log/httpd/error_log. Actual results: [Tue Jun 21 07:54:26 2011] [error] RHN 15434 2011/06/21 07:54:26 -04:00: ERROR LOG FILE: Couldn't open log file /var/log/rhn/rhn_proxy_redirect.log [Tue Jun 21 07:54:26 2011] [error] RHN 15434 2011/06/21 07:54:26 -04:00: (<type 'exceptions.OSError'>, OSError(13, 'Permission denied')) in the log and some AVC denials in the audit.log. Expected results: No such errors. Additional info: