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 ***