Bug 2107363
Summary: | [RHEL9] insights-client raises SELinux issues | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | mabezerr |
Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 9.0 | CC: | ahitacat, cmarinea, gchamoul, lvrabec, mmalik, nknazeko, ssekidde, zpytela |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 9.1 | Flags: | mabezerr:
needinfo-
|
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | selinux-policy-34.1.42-1.el9 | Doc Type: | Bug Fix |
Doc Text: |
Cause:
selinux-policy does not support insights-client execute additional services
Consequence:
Some services may fail when started from insights
Fix:
Support for services execution was added to selinux-policy
Result:
Services started from insights run successfully
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2022-11-15 11:13:54 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
mabezerr
2022-07-14 19:49:13 UTC
I see two issues there: 1. insights-client cannot create /root/.gnupg - fixed in selinux-policy-34.1.33 and will be in selinux-policy-34.1.29-1.el9_0.1 (z-stream) 447ff42dc (tag: v34.1.33) Allow insights-client manage gpg admin home content 2. missing file transition for .insights-core-gpg-sig.etag needs to be doublechecked, pair .fc file with named transition in .te workaround: run # restorecon -Rv /etc/insights-client Thanks for your comments, @zpytela ! I will check with selinux-policy-34.1.33 version and let you know about the result. Also, I will check again the .insights-core-gpg-sig.etag case. I will be back with updates in few hours. 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-2022:8283 |