RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 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 "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". 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 "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-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 2124550 - insights-client triggers SELinux denials after selinux-policy update
Summary: insights-client triggers SELinux denials after selinux-policy update
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.7
Hardware: Unspecified
OS: Linux
high
medium
Target Milestone: rc
: 8.8
Assignee: Zdenek Pytela
QA Contact: Milos Malik
URL:
Whiteboard: CockpitTest
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-06 13:21 UTC by Milos Malik
Modified: 2023-05-16 11:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-16 09:04:16 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-133312 0 None None None 2022-09-06 13:36:51 UTC
Red Hat Product Errata RHBA-2023:2965 0 None None None 2023-05-16 09:04:37 UTC

Description Milos Malik 2022-09-06 13:21:14 UTC
# insights-client --version
Client: 3.1.7
Core: 3.0.292-1

# rpmquery selinux-policy-targeted
selinux-policy-targeted-3.14.3-107.el8.noarch

Description of problem:

audit: type=1400 audit(1662161037.179:6): avc:  denied  { read } for  pid=23710 comm="gpg" name="redhattools.pub.gpg" dev="vda3" ino=16797881 scontext=system_u:system_r:gpg_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161037.179:7): avc:  denied  { open } for  pid=23710 comm="gpg" path="/etc/insights-client/redhattools.pub.gpg" dev="vda3" ino=16797881 scontext=system_u:system_r:gpg_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161037.179:8): avc:  denied  { getattr } for  pid=23710 comm="gpg" path="/etc/insights-client/redhattools.pub.gpg" dev="vda3" ino=16797881 scontext=system_u:system_r:gpg_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161037.191:9): avc:  denied  { read } for  pid=23710 comm="gpg" name="last_stable.egg.asc" dev="vda3" ino=16915715 scontext=system_u:system_r:gpg_t:s0 tcontext=unconfined_u:object_r:insights_client_var_lib_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161037.191:10): avc:  denied  { open } for  pid=23710 comm="gpg" path="/var/lib/insights/last_stable.egg.asc" dev="vda3" ino=16915715 scontext=system_u:system_r:gpg_t:s0 tcontext=unconfined_u:object_r:insights_client_var_lib_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161044.234:11): avc:  denied  { read } for  pid=23799 comm="gpg" name="redhattools.pub.gpg" dev="vda3" ino=16797881 scontext=system_u:system_r:gpg_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161044.234:12): avc:  denied  { open } for  pid=23799 comm="gpg" path="/etc/insights-client/redhattools.pub.gpg" dev="vda3" ino=16797881 scontext=system_u:system_r:gpg_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161044.234:13): avc:  denied  { getattr } for  pid=23799 comm="gpg" path="/etc/insights-client/redhattools.pub.gpg" dev="vda3" ino=16797881 scontext=system_u:system_r:gpg_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161072.521:14): avc:  denied  { read } for  pid=23923 comm="gpg" name=".cache.json.asc" dev="vda3" ino=16802000 scontext=system_u:system_r:gpg_t:s0 tcontext=unconfined_u:object_r:insights_client_etc_rw_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161072.521:15): avc:  denied  { open } for  pid=23923 comm="gpg" path="/etc/insights-client/.cache.json.asc" dev="vda3" ino=16802000 scontext=system_u:system_r:gpg_t:s0 tcontext=unconfined_u:object_r:insights_client_etc_rw_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161119.928:16): avc:  denied  { write } for  pid=24381 comm="vdo" name="_etc_vdoconf.yml.lock" dev="tmpfs" ino=26272 scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161120.731:17): avc:  denied  { write } for  pid=24403 comm="virsh" name="libvirt-sock-ro" dev="tmpfs" ino=24246 scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:virt_var_run_t:s0 tclass=sock_file permissive=1
audit: type=1400 audit(1662161120.731:18): avc:  denied  { connectto } for  pid=24403 comm="virsh" path="/run/libvirt/libvirt-sock-ro" scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:system_r:virtd_t:s0-s0:c0.c1023 tclass=unix_stream_socket permissive=1
audit: type=1400 audit(1662161150.816:19): avc:  denied  { write } for  pid=24594 comm="sealert" name="setroubleshoot_server" dev="tmpfs" ino=95842 scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:setroubleshoot_var_run_t:s0 tclass=sock_file permissive=1
audit: type=1400 audit(1662161150.816:20): avc:  denied  { connectto } for  pid=24594 comm="sealert" path="/run/setroubleshoot/setroubleshoot_server" scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:system_r:setroubleshootd_t:s0 tclass=unix_stream_socket permissive=1
audit: type=1400 audit(1662161174.240:21): avc:  denied  { setrlimit } for  pid=24771 comm="multipath" scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:system_r:insights_client_t:s0 tclass=process permissive=1
audit: type=1400 audit(1662161174.301:22): avc:  denied  { read write } for  pid=24771 comm="multipath" name="control" dev="devtmpfs" ino=13255 scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:lvm_control_t:s0 tclass=chr_file permissive=1
audit: type=1400 audit(1662161174.301:23): avc:  denied  { open } for  pid=24771 comm="multipath" path="/dev/mapper/control" dev="devtmpfs" ino=13255 scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:lvm_control_t:s0 tclass=chr_file permissive=1
audit: type=1400 audit(1662161174.301:24): avc:  denied  { ioctl } for  pid=24771 comm="multipath" path="/dev/mapper/control" dev="devtmpfs" ino=13255 ioctlcmd=0xfd00 scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:lvm_control_t:s0 tclass=chr_file permissive=1
audit: type=1400 audit(1662161174.302:25): avc:  denied  { ipc_info } for  pid=24771 comm="multipath" scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=system permissive=1
audit: type=1400 audit(1662161180.733:30): avc:  denied  { read } for  pid=24910 comm="gluster" name="random" dev="devtmpfs" ino=9424 scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:random_device_t:s0 tclass=chr_file permissive=1
audit: type=1400 audit(1662161180.734:31): avc:  denied  { create } for  pid=24910 comm="gluster" name="cli.log" scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161232.626:32): avc:  denied  { setrlimit } for  pid=25306 comm="journalctl" scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:system_r:insights_client_t:s0 tclass=process permissive=1
audit: type=1400 audit(1662161232.627:33): avc:  denied  { map } for  pid=25306 comm="journalctl" path="/var/log/journal/344419c3fa2b4fa3b5afb245cc7f9981/system.journal" dev="vda3" ino=9164828 scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161234.316:34): avc:  denied  { write } for  pid=25353 comm="podman" name="bolt_state.db" dev="vda3" ino=1012468 scontext=system_u:system_r:insights_client_t:s0 tcontext=unconfined_u:object_r:container_var_lib_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161234.316:35): avc:  denied  { map } for  pid=25353 comm="podman" path="/var/lib/containers/storage/libpod/bolt_state.db" dev="vda3" ino=1012468 scontext=system_u:system_r:insights_client_t:s0 tcontext=unconfined_u:object_r:container_var_lib_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161234.338:36): avc:  denied  { mounton } for  pid=25353 comm="podman" path="/var/lib/containers/storage/overlay" dev="vda3" ino=27252250 scontext=system_u:system_r:insights_client_t:s0 tcontext=unconfined_u:object_r:container_ro_file_t:s0 tclass=dir permissive=1
audit: type=1400 audit(1662161234.338:37): avc:  denied  { write } for  pid=25353 comm="podman" name="overlay" dev="vda3" ino=27252250 scontext=system_u:system_r:insights_client_t:s0 tcontext=unconfined_u:object_r:container_ro_file_t:s0 tclass=dir permissive=1
audit: type=1400 audit(1662161234.338:38): avc:  denied  { mknod } for  pid=25353 comm="podman" capability=27  scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:system_r:insights_client_t:s0 tclass=capability permissive=1
audit: type=1400 audit(1662161234.338:39): avc:  denied  { add_name } for  pid=25353 comm="podman" name="backingFsBlockDev.tmp" scontext=system_u:system_r:insights_client_t:s0 tcontext=unconfined_u:object_r:container_ro_file_t:s0 tclass=dir permissive=1
audit: type=1400 audit(1662161234.338:40): avc:  denied  { create } for  pid=25353 comm="podman" name="backingFsBlockDev.tmp" scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:container_ro_file_t:s0 tclass=blk_file permissive=1
audit: type=1400 audit(1662161234.338:41): avc:  denied  { remove_name } for  pid=25353 comm="podman" name="backingFsBlockDev.tmp" dev="vda3" ino=27294791 scontext=system_u:system_r:insights_client_t:s0 tcontext=unconfined_u:object_r:container_ro_file_t:s0 tclass=dir permissive=1
audit: type=1400 audit(1662161248.331:52): avc:  denied  { read } for  pid=25785 comm="gpg" name="redhattools.pub.gpg" dev="vda3" ino=16797881 scontext=system_u:system_r:gpg_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161248.331:53): avc:  denied  { open } for  pid=25785 comm="gpg" path="/etc/insights-client/redhattools.pub.gpg" dev="vda3" ino=16797881 scontext=system_u:system_r:gpg_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161248.331:54): avc:  denied  { getattr } for  pid=25785 comm="gpg" path="/etc/insights-client/redhattools.pub.gpg" dev="vda3" ino=16797881 scontext=system_u:system_r:gpg_t:s0 tcontext=system_u:object_r:insights_client_etc_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161248.331:55): avc:  denied  { read } for  pid=25785 comm="gpg" name="last_stable.egg.asc" dev="vda3" ino=16915715 scontext=system_u:system_r:gpg_t:s0 tcontext=unconfined_u:object_r:insights_client_var_lib_t:s0 tclass=file permissive=1
audit: type=1400 audit(1662161248.331:56): avc:  denied  { open } for  pid=25785 comm="gpg" path="/var/lib/insights/last_stable.egg.asc" dev="vda3" ino=16915715 scontext=system_u:system_r:gpg_t:s0 tcontext=unconfined_u:object_r:insights_client_var_lib_t:s0 tclass=file permissive=1

Comment 1 Pino Toscano 2022-09-21 05:15:47 UTC
Appearing in 8.7 and 8.8:

audit: type=1400 audit(1663686867.674:6): avc:  denied  { write } for  pid=24343 comm="vdo" name="_etc_vdoconf.yml.lock" dev="tmpfs" ino=26372 scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:var_lock_t:s0 tclass=file permissive=1
audit: type=1400 audit(1663686928.363:7): avc:  denied  { read } for  pid=24980 comm="gluster" name="random" dev="devtmpfs" ino=9424 scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:random_device_t:s0 tclass=chr_file permissive=1
audit: type=1400 audit(1663686928.363:8): avc:  denied  { create } for  pid=24980 comm="gluster" name="cli.log" scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:var_log_t:s0 tclass=file permissive=1

Comment 11 errata-xmlrpc 2023-05-16 09:04:16 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:2965


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