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 1531125

Summary: Policy files can not be easily recognized in an alternative location on AH
Product: Red Hat Enterprise Linux 7 Reporter: Ruixin Bao <rubao>
Component: polkitAssignee: Polkit Maintainers <polkit-devel>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.5CC: fsumsal
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: 2021-02-15 07:34:24 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:

Description Ruixin Bao 2018-01-04 16:01:34 UTC
Description of problem:

On atomic host (fedora AH 27), we are trying to create a firewalld system container, which involves authentication from policy kit. For visibility of the policy related files from firewalld, we need to copy those from the container onto the host. 

However, the action above can not be done easily as '/usr' directory is a read only fs on Atomic Host. As a result, the policy files will not be recognized, leading to authentication failure when running firewalld container commands. 

The issue has been discussed in the polkit mailing list:
https://lists.freedesktop.org/archives/polkit-devel/2017-December/000566.html

Giuseppe also suggested a work around for the above issue. One way to make policy files recognized would be to allow policy kit to read policy files from an alternative location: '/etc/polkit-1/actions'

Additional info:
The attached link is the patch Giuseppe proposed. https://github.com/giuseppe/polkit/commit/d69e133dcda0d75fae2c00efa2c15a8cb97b4e85

Note: This bugzilla is more like a tracking for the problem/process of work around for the problem mentioned earlier.

Comment 5 RHEL Program Management 2021-02-15 07:34:24 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.