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 1445059

Summary: SELinux is preventing /usr/bin/python2.7 (rhsmcertd) from execute access on the file /usr/bin/hostname
Product: Red Hat Enterprise Linux 7 Reporter: Jan Stavel <jstavel>
Component: subscription-managerAssignee: candlepin-bugs
Status: CLOSED DUPLICATE QA Contact: John Sefler <jsefler>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.4CC: jhnidek, redakkan, skallesh
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-26 18:37:04 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:
Attachments:
Description Flags
SELinux report detail none

Description Jan Stavel 2017-04-24 20:05:18 UTC
Created attachment 1273692 [details]
SELinux report detail

Description of problem:

SELinux send an warning message that it prevents rhsmcertd to run 
/usr/bin/hostname.


Version-Release number of selected component (if applicable):

  Red Hat Enterprise Linux Workstation release 7.4 Beta (Maipo)
  ----------------------------     ----------------------------
  arch                             x86_64
  kernel version                   3.10.0-655.el7.x86_64
  ----------------------------     ----------------------------
  server type                      Red Hat Subscription Management
  subscription management server   0.9.51.21-1
  subscription management rules    5.15.1
  subscription-manager             1.19.9-1.el7
  python-rhsm                      1.19.5-1.el7
  ----------------------------     ----------------------------
  Product                          71.pem
  ----------------------------     ----------------------------
  Entitlement                      8568009289474716233.pem
  ----------------------------     ----------------------------

How reproducible:

  I have subscribed my RHEL7.4 Alpha compose against stage candlepin server.
  After a while an error message appeared on my desktop.
  Full detail is in attachement of this issue.


Actual results:

  An error message risen.

Expected results:

  No error more.

Comment 2 Jan Stavel 2017-04-25 19:54:29 UTC
selinux related packages that were installed:


rpm -qa | grep selinux

: selinux-policy-targeted-3.13.1-144.el7.noarch
: libselinux-utils-2.5-11.el7.x86_64

Comment 3 Jiri Hnidek 2017-04-26 18:37:04 UTC

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