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 1427986 - Problem with fence agents - selinux denial
Summary: Problem with fence agents - selinux denial
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: fence-agents
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Marek Grac
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On: 1261711
Blocks: 1392968
TreeView+ depends on / blocked
 
Reported: 2017-03-01 16:17 UTC by Marek Grac
Modified: 2017-08-01 16:10 UTC (History)
11 users (show)

Fixed In Version: fence-agents-4.0.11-63.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1261711
Environment:
Last Closed: 2017-08-01 16:10:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:1874 0 normal SHIPPED_LIVE fence-agents bug fix and enhancement update 2017-08-01 17:53:05 UTC

Comment 2 Marek Grac 2017-03-01 16:22:13 UTC
SELinux team advises that we should set SELinux booleans in the post-install script. 

We did not discuss which package should do it. So we will do it in each individual subpackage for RHEL7.

Comment 3 Marek Grac 2017-03-22 18:46:07 UTC
Finally, implementation is part of the fence-agents-common that is required in all of the cases.

Comment 5 Jan Pokorný [poki] 2017-05-11 11:23:03 UTC
re [comment 3]:

No, it's currently not, try this ;)

diff --git a/fence-agents.spec b/fence-agents.spec
index fcf2b39..f80601e 100644
--- a/fence-agents.spec
+++ b/fence-agents.spec
@@ -308,7 +308,7 @@ Summary: Common utilities for fence agents
 Requires: python pexpect python-pycurl
 %description common
 Red Hat Fence Agents is a collection of scripts and libraries to handle remote power management for various devices.
-%post
+%post comon
 /sbin/setsebool -P fenced_can_ssh=1 fenced_can_network_connect=1
 %files common
 %defattr(-,root,root,-)

Comment 6 Jan Pokorný [poki] 2017-05-11 11:26:48 UTC
s/comon/common/ (indeed)

Comment 13 errata-xmlrpc 2017-08-01 16:10:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1874


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