Bug 2029385
Summary: | selinux denials when accessing /etc/pulp/certs/database_fields.symmetric.key | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Evgeni Golov <egolov> |
Component: | Pulp | Assignee: | satellite6-bugs <satellite6-bugs> |
Status: | CLOSED ERRATA | QA Contact: | Lai <ltran> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.11.0 | CC: | dkliban, ggainey, lzap, mdepaulo, mmalik, rchan, swadeley |
Target Milestone: | 6.11.0 | Keywords: | SELinux, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pulpcore-selinux-1.3.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-07-05 14:30:51 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
Evgeni Golov
2021-12-06 11:25:30 UTC
I believe that various *.key files are mislabeled. Directories which contain certificates and key files usually have the cert_t label. Does the scenario work when you label the /etc/pulp/certs directory and its content as cert_t? # chcon -R -t cert_t /etc/pulp/certs I don't have the machine at hand, so can't check right now, but I think there are no other files in that directory? (In reply to Evgeni Golov from comment #3) > I don't have the machine at hand, so can't check right now, but I think > there are no other files in that directory? Yes, no other files. [root@xxxx ~]# ls -laZ /etc/pulp/certs total 4 drwxr-xr-x. 2 root root system_u:object_r:httpd_config_t:s0 43 Feb 17 13:20 . drwxr-xr-x. 3 root root system_u:object_r:etc_t:s0 38 Feb 21 04:58 .. -rw-r-----. 1 root pulp system_u:object_r:httpd_config_t:s0 45 Feb 17 13:20 database_fields.symmetric.key [root@xxxx ~]# The upstream issue has no one assigned, lets ask @mdepaulo if this is on his list Thank you This is fixed in pulpcore-selinux 1.3.0. Steps to retest: 1. spin up fresh 6.11 2. import manifest 3. sync a few rhel repos 4. create cv and add repos to it 5. publish cv 6. check log for denial for database_fields.symmetric.key Expected: There shouldn't be any denials from database_fields.symmetric.key Actual: There is no denial for database_fields.symmetric.key Verified on 6.11_017 with pulpcore-selinux-1.3.0-1.el8pc.x86_64 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 (Moderate: Satellite 6.11 Release), 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-2022:5498 |