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 1158114

Summary: Create /usr/libexec/keepalived for scripts
Product: Red Hat Enterprise Linux 7 Reporter: Ryan O'Hara <rohara>
Component: keepalivedAssignee: Ryan O'Hara <rohara>
Status: CLOSED ERRATA QA Contact: Brandon Perkins <bperkins>
Severity: high Docs Contact:
Priority: high    
Version: 7.1CC: cluster-maint, fdinitto, john.horne, rohara
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: keepalived-1.2.13-5.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1158113 Environment:
Last Closed: 2015-03-05 13:20:06 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:
Bug Depends On:    
Bug Blocks: 1145886    

Description Ryan O'Hara 2014-10-28 15:29:25 UTC
+++ This bug was initially created as a clone of Bug #1158113 +++

The keepalived service lacks SELinux privleges to exec scripts, including tracking cripts and notification scripts. Proposed solution is to create a directory (/usr/libexec/keepalived) where scripts can be stored. This directory will then be labelled such that scipts installed here will have sufficient SELinux privileges.

Note that we will not be installing any scripts in this directory as part of keepalived package itself. User will need to create desired scripts in this directory to avoid AVCs.

Comment 1 Ryan O'Hara 2014-11-06 12:06:36 UTC
This needs to go out on z-stream in my opinion.

Comment 2 Fabio Massimo Di Nitto 2014-11-13 14:30:14 UTC
This bug is critical for OpenStack and needs backporting to RHEL7.0.z.

Comment 3 John Horne 2014-12-04 13:26:33 UTC
+1 for backporting to RHEL 7.0.

Comment 9 errata-xmlrpc 2015-03-05 13:20:06 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://rhn.redhat.com/errata/RHBA-2015-0542.html