Description of problem: When Satellite is finished installing and installer says * Restarting services. Installation complete. AVC denials related to osa-dispatcher appear in audit.log. Version-Release number of selected component (if applicable): Satellite-5.3.0-RHEL5-re20090206.1 osa-dispatcher-5.9.4-1.el5sat osa-dispatcher-selinux-5.9.4-1.el5sat How reproducible: Seen once. Steps to Reproduce: 1. Run installer, with something like ./install.pl --disconnected --run-updater 2. Run tail -f /var/log/audit/audit.log | grep AVC Actual results: type=AVC msg=audit(1233931612.812:279): avc: denied { getsched } for pid=24065 comm="osa-dispatcher" scontext=root:system_r:osa_dispatcher_t:s0 tcontext=root:system_r:osa_dispatcher_t:s0 tclass=process type=AVC msg=audit(1233931612.815:280): avc: denied { sys_nice } for pid=24065 comm="osa-dispatcher" capability=23 scontext=root:system_r:osa_dispatcher_t:s0 tcontext=root:system_r:osa_dispatcher_t:s0 tclass=capability type=AVC msg=audit(1233931612.815:280): avc: denied { setsched } for pid=24065 comm="osa-dispatcher" scontext=root:system_r:osa_dispatcher_t:s0 tcontext=root:system_r:osa_dispatcher_t:s0 tclass=process type=AVC msg=audit(1233931612.824:281): avc: denied { getattr } for pid=24065 comm="osa-dispatcher" path="/tmp" dev=dm-0 ino=1502913 scontext=root:system_r:osa_dispatcher_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir type=AVC msg=audit(1233931612.824:282): avc: denied { read } for pid=24065 comm="osa-dispatcher" name="tmp" dev=dm-0 ino=1502913 scontext=root:system_r:osa_dispatcher_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir type=AVC msg=audit(1233931613.695:283): avc: denied { chown } for pid=24065 comm="osa-dispatcher" capability=0 scontext=root:system_r:osa_dispatcher_t:s0 tcontext=root:system_r:osa_dispatcher_t:s0 tclass=capability type=AVC msg=audit(1233931613.697:284): avc: denied { fowner } for pid=24065 comm="osa-dispatcher" capability=3 scontext=root:system_r:osa_dispatcher_t:s0 tcontext=root:system_r:osa_dispatcher_t:s0 tclass=capability type=AVC msg=audit(1233931614.101:285): avc: denied { node_bind } for pid=24065 comm="osa-dispatcher" saddr=127.0.0.1 scontext=root:system_r:osa_dispatcher_t:s0 tcontext=system_u:object_r:node_t:s0 tclass=udp_socket Expected results: No osa-dispatcher-related ABC denials. Additional info:
I've now seen the same issue on RHEL 4, with Satellite-5.3.0-RHEL4-re20090206.1 (i386).
Addressed in Spacewalk, commits a9be07b51b0cd2546e84f7816c4d431d09328024, 732ef53481b549e066fc8f81cd25164ac4057459, and eb4002c6afb3d77ac1a33e22310825f57e6c866d. Available in osad-5.9.5-1.
*** Bug 486742 has been marked as a duplicate of this bug. ***
With compose Satellite-5.3.0-RHEL5-re20090220.1 available, moving ON_QA.
verified
[root@xen5 ~]# getenforce; echo EEEEEEEEE >>/var/log/audit/audit.log; /etc/init.d/osa-dispatcher restart ; grep -A 999999999 EEEEEEEEE /var/log/audit/audit.log |grep denied Enforcing Shutting down osa-dispatcher: [ OK ] Starting osa-dispatcher: [ OK ] verified in stage on xen5
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2009-1434.html