Bug 2225526

Summary: Make insights_client_t an unconfined domain
Product: Red Hat Enterprise Linux 9 Reporter: Zdenek Pytela <zpytela>
Component: selinux-policyAssignee: Zdenek Pytela <zpytela>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: high Docs Contact:
Priority: high    
Version: 9.2CC: lvrabec, mmalik, zpytela
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: selinux-policy-38.1.21-1.el9 Doc Type: Bug Fix
Doc Text:
Cause: The insights-client service requires to access all executables and resources on the system. This list is different in different environments. Consequence: The service reports errors when it tries to access resources which the policy does not explicitly allow. Fix: The insights-client service now runs in SELinux unconfined domain. Result: The service can execute all commands and access most of resources. See also: BZ#2225527
Story Points: ---
Clone Of:
: 2225527 (view as bug list) Environment:
Last Closed: 2023-11-07 08:52:40 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:    
Bug Blocks: 2225527    

Description Zdenek Pytela 2023-07-25 13:27:33 UTC
Description of problem:
Currently, the insights_client_t is made a permissive domain in the insights-client package %post script. This needs to be changed so that the insights_client_t is an unconfined domain in selinux-policy.

Version-Release number of selected component (if applicable):
selinux-policy-38.1.17-1.el9.noarch
insights-client-3.2.0-1.el9.noarch

Comment 3 Zdenek Pytela 2023-08-11 16:25:31 UTC
Commit to backport:
897144d75 (HEAD -> rawhide, upstream/rawhide) Make insights_client_t an unconfined domain

Comment 13 errata-xmlrpc 2023-11-07 08:52:40 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 (selinux-policy 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-2023:6617