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 1836146

Summary: Set correct ownership if qb_ipcs_connection_auth_set() has been used
Product: Red Hat Enterprise Linux 8 Reporter: Attila Lakatos <alakatos>
Component: libqbAssignee: Christine Caulfield <ccaulfie>
Status: CLOSED ERRATA QA Contact: cluster-qe <cluster-qe>
Severity: high Docs Contact:
Priority: high    
Version: 8.3CC: alakatos, andrew, ccaulfie, cluster-maint, dvossel, extras-qa, jfriesse, kgaillot, phagara, rsroka
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libqb-1.0.3-12.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1802211 Environment:
Last Closed: 2020-11-04 01:55:17 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: 1802211    
Bug Blocks:    

Description Attila Lakatos 2020-05-15 09:13:05 UTC
+++ This bug was initially created as a clone of Bug #1802211 +++

Please back-port following fix to fedora.

https://github.com/ClusterLabs/libqb/pull/381

Otherwise, all IPC communication with non-root users is broken.

--- Additional comment from Fedora Admin XMLRPC Client on 2020-03-27 16:44:50 UTC ---

This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

--- Additional comment from Attila Lakatos on 2020-03-27 16:56:54 UTC ---

The new upstream release contains the bugfix needed to close this bugzilla.
Source: https://github.com/ClusterLabs/libqb/releases/tag/v1.9.1

Can you do a rebase to 1.9.1?

Comment 1 Christine Caulfield 2020-05-15 13:15:55 UTC
This really needs to be in the unit tests for IPC

Comment 2 Christine Caulfield 2020-05-20 08:30:59 UTC
Unit tests for this bug:

https://github.com/ClusterLabs/libqb/pull/397

Comment 3 Patrik Hagara 2020-05-20 08:44:47 UTC
qa_ack+, verify by checking the new unit test was executed in CI gating

Comment 6 Patrik Hagara 2020-09-16 11:53:50 UTC
new unit test "test_ipc_server_perms" was added in https://github.com/ClusterLabs/libqb/pull/397

this test is executed as part of CI gating for libqb component:
https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/28715475?focus=id:osci-rhel-pipeline-functional-28715475
http://artifacts.osci.redhat.com/rhel-8.3.0-packages/rhel-build-pipeline/libqb/28715475/package-tests/libqb/logs/PASS-str_check.log

the test passes:
> check_ipc.c:529:P:ipc_server_perms:test_ipc_server_perms:0: Passed

marking verified in libqb-1.0.3-12.el8

Comment 9 errata-xmlrpc 2020-11-04 01:55:17 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 (libqb bug fix and enhancement update), 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-2020:4522