Bug 2158605
Summary: | [RHEL8.6/Insights/SELinux/Bug] SELinux AVC insights-client with selinux-policy-3.14.3-95.el8_6.5 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Rajesh Dulhani <rdulhani> |
Component: | selinux-policy | Assignee: | Zdenek Pytela <zpytela> |
Status: | CLOSED ERRATA | QA Contact: | Milos Malik <mmalik> |
Severity: | medium | Docs Contact: | Mirek Jahoda <mjahoda> |
Priority: | high | ||
Version: | 8.6 | CC: | jafiala, lvrabec, mmalik, nknazeko, peter.vreman, thomas.rumbaut |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 8.8 | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-05-16 09:04:49 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
Rajesh Dulhani
2023-01-05 19:49:03 UTC
Most of the permissions are in the current policy. What is still missing is: type=PROCTITLE msg=audit(12/30/2022 09:59:36.139:7052) : proctitle=python3 /usr/bin/pmrep -t 1s -T 1s network.interface.out.packets network.interface.collisions swap.pagesout mssql.memory_manager type=PATH msg=audit(12/30/2022 09:59:36.139:7052) : item=0 name=/run/pcp/pmcd.socket inode=30825 dev=00:18 mode=socket,666 ouid=root ogid=root rdev=00:00 obj=system_u:object_r:pcp_var_run_t:s0 nametype=NORMAL cap_fp=none cap_fi=none cap_fe=0 cap_fver=0 cap_frootid=0 type=CWD msg=audit(12/30/2022 09:59:36.139:7052) : cwd=/ type=SOCKADDR msg=audit(12/30/2022 09:59:36.139:7052) : saddr={ saddr_fam=local path=/run/pcp/pmcd.socket } type=SYSCALL msg=audit(12/30/2022 09:59:36.139:7052) : arch=x86_64 syscall=connect success=yes exit=0 a0=0x5 a1=0x7ffe2498d840 a2=0x6e a3=0x7ffe2498d8a8 items=1 ppid=11385 pid=11386 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=python3 exe=/usr/libexec/platform-python3.6 subj=system_u:system_r:insights_client_t:s0 key=(null) type=AVC msg=audit(12/30/2022 09:59:36.139:7052) : avc: denied { connectto } for pid=11386 comm=python3 path=/run/pcp/pmcd.socket scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:system_r:pcp_pmcd_t:s0 tclass=unix_stream_socket permissive=1 pmrep is not confined, so this requires a new pcp interface or even a more general solution journalctl one is not related, it would require explicit usage of init_read_state(), a solution different to upstream policy 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:2965 |