Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
I believe all the reported issues have been addressed on current systems:
rhel91# rpm -q selinux-policy
selinux-policy-34.1.43-1.el9.noarch
with the exception of writing to /var.
These commits need to be backported:
20b305bc3 (HEAD -> rawhide, upstream/rawhide) Allow insights client communicate with cupsd, mysqld, openvswitch, redis
d8f2ebfd3 Allow insights client read raw memory devices
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:2483
# insights-client --version Client: 3.1.7 Core: 3.0.292-1 # rpmquery selinux-policy-targeted selinux-policy-targeted-34.1.42-1.el9.noarch Description of problem: audit: type=1400 audit(1662419602.268:5): avc: denied { read } for pid=22327 comm="gpg" name="last_stable.egg.asc" dev="vda4" ino=25176989 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(1662419602.268:6): avc: denied { open } for pid=22327 comm="gpg" path="/var/lib/insights/last_stable.egg.asc" dev="vda4" ino=25176989 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(1662419603.324:7): avc: denied { read } for pid=22362 comm="gpg" name="last_stable.egg.asc" dev="vda4" ino=25176989 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(1662419603.352:8): avc: denied { open } for pid=22362 comm="gpg" path="/var/lib/insights/last_stable.egg.asc" dev="vda4" ino=25176989 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(1662419642.140:9): avc: denied { write } for pid=22853 comm="virsh" name="virtqemud-sock-ro" dev="tmpfs" ino=1002 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(1662419642.153:10): avc: denied { connectto } for pid=22853 comm="virsh" path="/run/libvirt/virtqemud-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(1662419658.331:13): avc: denied { write } for pid=23097 comm="multipath" name="multipath" dev="vda4" ino=41972252 scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:lvm_metadata_t:s0 tclass=dir permissive=1 audit: type=1400 audit(1662419658.345:14): avc: denied { add_name } for pid=23097 comm="multipath" name="bindings" scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:lvm_metadata_t:s0 tclass=dir permissive=1 audit: type=1400 audit(1662419658.345:15): avc: denied { create } for pid=23097 comm="multipath" name="bindings" scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:object_r:lvm_metadata_t:s0 tclass=file permissive=1 audit: type=1400 audit(1662419658.345:16): avc: denied { write } for pid=23097 comm="multipath" name="bindings" dev="vda4" ino=42089166 scontext=system_u:system_r:insights_client_t:s0 tcontext=unconfined_u:object_r:lvm_metadata_t:s0 tclass=file permissive=1 audit: type=1400 audit(1662419658.378:17): avc: denied { setrlimit } for pid=23097 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(1662419658.445:18): avc: denied { read write } for pid=23097 comm="multipath" name="control" dev="devtmpfs" ino=130 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(1662419658.446:19): avc: denied { open } for pid=23097 comm="multipath" path="/dev/mapper/control" dev="devtmpfs" ino=130 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(1662419658.446:20): avc: denied { ioctl } for pid=23097 comm="multipath" path="/dev/mapper/control" dev="devtmpfs" ino=130 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(1662419658.446:21): avc: denied { ipc_info } for pid=23097 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(1662419673.609:22): avc: denied { connectto } for pid=22470 comm="platform-python" path="/run/systemd/userdb/io.systemd.Machine" scontext=system_u:system_r:insights_client_t:s0 tcontext=system_u:system_r:systemd_machined_t:s0 tclass=unix_stream_socket permissive=1 audit: type=1400 audit(1662419705.020:23): avc: denied { map } for pid=23244 comm="journalctl" path="/var/log/journal/227513444fff487885ec02c30b0bf18e/system.journal" dev="vda4" ino=1718552 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(1662419708.164:24): avc: denied { setrlimit } for pid=23336 comm="podman" 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(1662419708.262:25): avc: denied { write } for pid=23336 comm="podman" name="bolt_state.db" dev="vda4" ino=1663668 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(1662419708.273:26): avc: denied { map } for pid=23336 comm="podman" path="/var/lib/containers/storage/libpod/bolt_state.db" dev="vda4" ino=1663668 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(1662419708.273:27): avc: denied { mounton } for pid=23336 comm="podman" path="/var/lib/containers/storage/overlay" dev="vda4" ino=26193460 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(1662419708.288:28): avc: denied { write } for pid=23336 comm="podman" name="overlay" dev="vda4" ino=26193460 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(1662419708.288:29): avc: denied { mknod } for pid=23336 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(1662419708.288:30): avc: denied { add_name } for pid=23336 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(1662419708.288:31): avc: denied { create } for pid=23336 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(1662419708.288:32): avc: denied { remove_name } for pid=23336 comm="podman" name="backingFsBlockDev.tmp" dev="vda4" ino=26553595 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(1662419714.463:43): avc: denied { write } for pid=23458 comm="sealert" name="setroubleshoot_server" dev="tmpfs" ino=1378 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(1662419714.525:44): avc: denied { connectto } for pid=23458 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(1662419725.304:45): avc: denied { read } for pid=23930 comm="gpg" name="last_stable.egg.asc" dev="vda4" ino=25176989 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(1662419725.371:46): avc: denied { open } for pid=23930 comm="gpg" path="/var/lib/insights/last_stable.egg.asc" dev="vda4" ino=25176989 scontext=system_u:system_r:gpg_t:s0 tcontext=unconfined_u:object_r:insights_client_var_lib_t:s0 tclass=file permissive=1