Red Hat Satellite engineering is moving the tracking of its product development work on Satellite 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 "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. 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 "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-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 2218932 - SELinux is preventing pulpcore-worker from read access on the key labeled pulpcore_server_t
Summary: SELinux is preventing pulpcore-worker from read access on the key labeled pul...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: 6.13.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: 6.14.0
Assignee: satellite6-bugs
QA Contact: Shweta Singh
URL:
Whiteboard:
: selinux (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-30 15:53 UTC by Ganesh Payelkar
Modified: 2024-03-14 14:38 UTC (History)
8 users (show)

Fixed In Version: pulpcore-selinux-1.3.3
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2238371 (view as bug list)
Environment:
Last Closed: 2023-11-08 14:19:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-18752 0 None None None 2023-07-03 12:10:00 UTC
Red Hat Knowledge Base (Solution) 7024612 0 None None None 2023-07-14 07:00:10 UTC
Red Hat Product Errata RHSA-2023:6818 0 None None None 2023-11-08 14:20:08 UTC

Description Ganesh Payelkar 2023-06-30 15:53:10 UTC
Description of problem:

SELinux is preventing pulpcore-worker from read access on the key labeled pulpcore_server_t

Version-Release number of selected component (if applicable):
satellite-6.13.1-1

How reproducible:
New installation of 6.13

Steps to Reproduce:

 • synchronize the RPM-package repositories
 • publish and promote the CVs and CCVs

Actual results: 

SELinux is preventing pulpcore-worker from read access on the key labeled pulpcore_server_t.#012#012*****  Plugin catchall (100. confidence) suggests   **************************#012#012If you believe that pulpcore-worker should be allowed read access on key labeled pulpcore_server_t by default.#012Then you should report this as a bug.#012You can generate a local policy module to allow this access.#012Do#012allow this access for now by executing:#012# ausearch -c 'pulpcore-worker' --raw | audit2allow -M my-pulpcoreworker#012# semodule -X 300 -i my-pulpcoreworker.pp#012

SELinux is preventing /usr/bin/python3.9 from view access on the key labeled pulpcore_server_t.#012#012*****  Plugin catchall (100. confidence) suggests   **************************#012#012If you believe that python3.9 should be allowed view access on key labeled pulpcore_server_t by default.#012Then you should report this as a bug.#012You can generate a local policy module to allow this access.#012Do#012allow this access for now by executing:#012# ausearch -c 'pulpcore-worker' --raw | audit2allow -M my-pulpcoreworker#012# semodule -X 300 -i my-pulpcoreworker.pp#012


Expected results:

Proper Functioning of Satellite 6 Components with SELinux Context

Additional info:

 - SELinux is preventing pulpcore-worker from read access on the key labeled pulpcore_server_t.
 - SELinux is preventing /usr/bin/python3.9 from view access on the key labeled pulpcore_server_t.

Comment 3 Mike DePaulo 2023-06-30 20:44:18 UTC
I released 1.3.3 with the fix:
https://github.com/pulp/pulpcore-selinux/releases/tag/1.3.3

Comment 7 Adam Ruzicka 2023-07-18 17:16:47 UTC
*** Bug 2151664 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2023-11-08 14:19:54 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 (Important: Satellite 6.14 security and bug fix 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/RHSA-2023:6818


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