Bug 484653 - AVC denials upon osa-dispatcher start
Summary: AVC denials upon osa-dispatcher start
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 530
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks: 457079
TreeView+ depends on / blocked
 
Reported: 2009-02-09 10:10 UTC by Jan Pazdziora
Modified: 2009-09-10 19:11 UTC (History)
2 users (show)

Fixed In Version: sat530
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 19:11:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jan Pazdziora 2009-02-09 10:10:24 UTC
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:

Comment 1 Jan Pazdziora 2009-02-09 11:51:05 UTC
I've now seen the same issue on RHEL 4, with Satellite-5.3.0-RHEL4-re20090206.1 (i386).

Comment 2 Jan Pazdziora 2009-02-11 08:50:44 UTC
Addressed in Spacewalk, commits a9be07b51b0cd2546e84f7816c4d431d09328024, 732ef53481b549e066fc8f81cd25164ac4057459, and eb4002c6afb3d77ac1a33e22310825f57e6c866d.

Available in osad-5.9.5-1.

Comment 3 wes hayutin 2009-02-21 16:37:30 UTC
*** Bug 486742 has been marked as a duplicate of this bug. ***

Comment 4 Jan Pazdziora 2009-02-24 12:30:47 UTC
With compose Satellite-5.3.0-RHEL5-re20090220.1 available, moving ON_QA.

Comment 5 wes hayutin 2009-03-09 20:11:08 UTC
verified

Comment 6 Miroslav Suchý 2009-08-26 11:29:32 UTC
[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

Comment 7 Brandon Perkins 2009-09-10 19:11:30 UTC
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


Note You need to log in before you can comment on or make changes to this bug.