Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1209495

Summary: avc denials related to qpidd on rhel6 external capsule node
Product: Red Hat Satellite Reporter: Sachin Ghai <sghai>
Component: Foreman ProxyAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Sachin Ghai <sghai>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: mcressma
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-23 18:58:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sachin Ghai 2015-04-07 13:38:01 UTC
Description of problem:
Installed latest beta snap10 rc4 (Satellite-6.1.0-RHEL-6-20150406.0) with external capsule on rhel6. I don't see any weird issue though I see some avc denials related to qpidd under /var/log/agent/agent.log

--

[root@dhcp207-71 ~]# cat /var/log/audit/audit.log | grep avc
type=AVC msg=audit(1428401073.728:120): avc:  denied  { read } for  pid=8407 comm="qpidd" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428401074.466:123): avc:  denied  { read } for  pid=8424 comm="restorecon" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:setfiles_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428401074.824:126): avc:  denied  { read } for  pid=8442 comm="qpidd" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428401475.548:178): avc:  denied  { read } for  pid=11106 comm="restorecon" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:setfiles_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428401475.872:181): avc:  denied  { read } for  pid=11124 comm="qpidd" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428401882.174:338): avc:  denied  { read } for  pid=14173 comm="restorecon" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:setfiles_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428401882.535:341): avc:  denied  { read } for  pid=14191 comm="qpidd" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428406815.251:454): avc:  denied  { read } for  pid=4800 comm="qpidd" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428406815.830:457): avc:  denied  { read } for  pid=4817 comm="restorecon" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:setfiles_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428406816.183:460): avc:  denied  { read } for  pid=4835 comm="qpidd" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428407096.592:469): avc:  denied  { read } for  pid=5014 comm="qpidd" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428407097.013:472): avc:  denied  { read } for  pid=5031 comm="restorecon" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:setfiles_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428407097.336:475): avc:  denied  { read } for  pid=5049 comm="qpidd" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428410607.759:527): avc:  denied  { read } for  pid=6990 comm="qpidd" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428410608.232:530): avc:  denied  { read } for  pid=7007 comm="restorecon" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:setfiles_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428410608.576:533): avc:  denied  { read } for  pid=7025 comm="qpidd" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428411130.816:550): avc:  denied  { read } for  pid=8559 comm="restorecon" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:setfiles_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428411131.196:553): avc:  denied  { read } for  pid=8577 comm="qpidd" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428411572.870:564): avc:  denied  { read } for  pid=9158 comm="qpidd" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428411573.343:567): avc:  denied  { read } for  pid=9175 comm="restorecon" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:setfiles_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file
type=AVC msg=audit(1428411573.729:570): avc:  denied  { read } for  pid=9193 comm="qpidd" path="/etc/rc.d/init.d/qpidd" dev=dm-1 ino=917119 scontext=unconfined_u:system_r:qpidd_t:s0 tcontext=system_u:object_r:qpidd_initrc_exec_t:s0 tclass=file

Version-Release number of selected component (if applicable):
snap10 rc4 (Satellite-6.1.0-RHEL-6-20150406.0)

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:
avc denials related to qpidd 

Expected results:
no avc denials in agent.log

Additional info:

Comment 2 Mike Cressman 2016-03-23 18:58:08 UTC
RHEL-6 selinux-policy updated for this issue via Bug 1171275

*** This bug has been marked as a duplicate of bug 1171275 ***