-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
rhel-9.2.0.z, rhel-9.4.z
-
None
-
Low
-
rhel-sst-security-selinux
-
ssg_security
-
None
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
Description of problem:
When a process generates a coredump,systemd-coredump is denied by SElinux to access the process data.
Version-Release number of selected component (if applicable):
sh-5.1# rpm -qa|grep selinux-policy selinux-policy-38.1.11-2.el9_2.7.noarch selinux-policy-targeted-38.1.11-2.el9_2.7.noarch sh-5.1# rpm -qa|grep systemd-2 systemd-252-14.el9_2.8.x86_64
How reproducible:
always
Steps to Reproduce:
1. oc exec 2. sleep 99999 & 3. kill the process
Actual results:
No stack in journal
Expected results:
Stack and data from systemd-coredump
Additional info:
This has been addressed here: https://github.com/openshift/os/issues/1652 But the SElinux policy does not include the rule in RHEL9.2 The systemd-container-coredump modules is still needed, which is installed, but not correctly loaded because there is a missing dependency on policycoreutils-python-utils SElinux issue (fixed in newer version): https://issues.redhat.com/browse/RHEL-70380