Bug 501337 - RFE: Provide configurable uid based aisexec access
Summary: RFE: Provide configurable uid based aisexec access
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: openais
Version: 5.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jan Friesse
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On: 484047
Blocks: 5.4, TechnicalNotes
TreeView+ depends on / blocked
 
Reported: 2009-05-18 15:54 UTC by Justin Ross
Modified: 2016-04-26 14:37 UTC (History)
8 users (show)

Fixed In Version: openais-0.80.6-2.e5_4
Doc Type: Bug Fix
Doc Text:
Cause: Users want to have more then one user, which can do IPC connection with OpenAIS Consequence: Users couldn't have more then one user, which can do IPC connection with OpenAIS Fix: Implement support for multiple uid/gid permissions Result: Users now can have more then one user, which can do IPC connection with OpenAIS
Clone Of: 484047
Environment:
Last Closed: 2009-09-02 11:30:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Backport of corosync trunk patch (10.21 KB, patch)
2009-05-20 13:18 UTC, Jan Friesse
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2009:1366 0 normal SHIPPED_LIVE openais bug-fix and enhancement update 2009-09-01 11:00:17 UTC

Description Justin Ross 2009-05-18 15:54:07 UTC
Requesting this feature for inclusion in 5.4.  It simplifies the configuration of clustered qpid.

+++ This bug was initially created as a clone of Bug #484047 +++

At present, the qpid project sets the primary group of the qpidd daemon to openais in order to enable communication with aisexec.

We'd prefer to have some other means of doing this, because changing the group has implications for any system admin based on groups.

An alternative, where specific uids are granted access, was discussed in irc:

<sdake_> jross can i aks some questions about your requirements
<jross> sdake_, certainly
<sdake_> would putting a uid name in /etc/openais.conf be a suitable solution for you?
<jross> sdake_, yes, but it would be a little suboptimal from a packaging standpoint.  we'd prefer a way to dump some openais conf in something like /etc/openais.d/
<sdake_> so /etc/openais/security
<sdake_> and in that dir would contain a file qpid-uid
<jross> that would be great
<sdake_> and in qpid-uid would contain a uid for qpid?
<jross> yeah
<sdake_> ok

--- Additional comment from sdake on 2009-05-12 04:26:32 EDT ---

Honzaf is going to work on this feature for corosync trunk.  Need by May 15-20th.

--- Additional comment from sdake on 2009-05-18 09:17:09 EDT ---

ping if you want this RFE feature for rhel5.4 deadline is rapidly approaching to create a 5.4 rfe bugzilla and get it in the appropriate states.b

Regards
-steve

--- Additional comment from jfriesse on 2009-05-18 09:52:34 EDT ---

Created an attachment (id=344438)
Patch fixing this problem

Section is named uidgid and can contains only uid and gid keys. Files should be placed in /etc/ais/uidgid.d/ (separate patch solves this, so every configuration is in /etc/corosync/uidgid.d)

--- Additional comment from sdake on 2009-05-18 11:50:32 EDT ---

This patch looks good for corosync commit along with your seperate patch for /etc/corosync directory changes.

Keep in mind this is not a RHEL5.4 backport.

Comment 1 Jan Friesse 2009-05-20 13:18:31 UTC
Created attachment 344796 [details]
Backport of corosync trunk patch

Attached is proposed patch

Comment 2 Jan Friesse 2009-05-20 13:41:21 UTC
Release note added. If any revisions are required, please set the 
"requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly.
All revisions will be proofread by the Engineering Content Services team.

New Contents:
Cause: Users want to have more then one user, which can do IPC connection with OpenAIS
Consequence: Users couldn't have more then one user, which can do IPC connection with OpenAIS
Fix: Implement support for multiple uid/gid permissions
Result: Users now can have more then one user, which can do IPC connection with OpenAIS

Comment 7 errata-xmlrpc 2009-09-02 11:30:24 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2009-1366.html


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