Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 1447611

Summary: avc: denied { execute } for pid=76364 comm="rhsmcertd-worke"
Product: Red Hat Enterprise Linux 7 Reporter: Pavel Studeník <pstudeni>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Milos Malik <mmalik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: lvrabec, mgrepl, mmalik, plautrba, pvrabec, ssekidde
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-09 14:54:17 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 Pavel Studeník 2017-05-03 10:14:58 UTC
Description of problem:
I found following avc message on new release RHEL 7.4

type=AVC msg=audit(1493776266.556:328): avc:  denied  { execute } for  pid=74311 comm="rhsmcertd-worke" name="hostname" dev="dm-0" ino=25593 scontext=system_u:system_r:rhsmcertd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file
type=SYSCALL msg=audit(1493776266.556:328): arch=c000003e syscall=59 success=no exit=-13 a0=2b72310 a1=2b83a90 a2=7fff490c4308 a3=7fff490c16b0 items=0 ppid=74300 pid=74311 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="rhsmcertd-worke" exe="/usr/bin/python2.7" subj=system_u:system_r:rhsmcertd_t:s0 key=(null)
type=PROCTITLE msg=audit(1493776266.556:328): proctitle=2F7573722F62696E2F707974686F6E002D4573002F7573722F6C6962657865632F7268736D63657274642D776F726B6572
type=AVC msg=audit(1493776266.733:329): avc:  denied  { execute } for  pid=74351 comm="rhsmcertd-worke" name="hostname" dev="dm-0" ino=25593 scontext=system_u:system_r:rhsmcertd_t:s0 tcontext=system_u:object_r:hostname_exec_t:s0 tclass=file


Version-Release number of selected component (if applicable):
redhat-release-server-7.4-11.el7.x86_64
selinux-policy-3.13.1-145.el7.noarch

How reproducible:
RHEL 7.4

Steps to Reproduce:
1. Our automation

Comment 2 Milos Malik 2017-05-03 10:24:34 UTC
I believe this bug is a duplicate of BZ#1445494.

Comment 3 Lukas Vrabec 2017-05-09 14:54:17 UTC

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