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.
Description of problem:
Raw Audit Messages
type=AVC msg=audit(1380800743.117:542452): avc: denied { sigkill } for pid=5139 comm="check_ping" scontext=unconfined_u:system_r:nagios_services_plugin_t:s0 tcontext=unconfined_u:system_r:nagios_t:s0 tclass=process
type=SYSCALL msg=audit(1380800743.117:542452): arch=x86_64 syscall=kill success=yes exit=0 a0=0 a1=9 a2=1bf6500 a3=a392d393538382d items=0 ppid=5133 pid=5139 auid=0 uid=495 gid=495 euid=495 suid=495 fsuid=495 egid=495 sgid=495 fsgid=495 tty=(none) ses=21329 comm=check_ping exe=/usr/lib64/nagios/plugins/check_ping subj=unconfined_u:system_r:nagios_services_plugin_t:s0 key=(null)
Version-Release number of selected component (if applicable):
nagios-plugins-ping-1.4.16-5.el6.x86_64
selinux-policy-targeted-3.7.19-195.el6_4.12.noarch
How reproducible:
Everytime if you force DNS and network timeouts (e.g. by killing the default
route or the DNS server thus it causes a timeout as in drop, not a reject).
Nagios seems to kill its not responding child somewhen - and this fails due
to the SELinux policy.
Actual results:
SELinux is preventing /usr/lib64/nagios/plugins/check_ping from using the
sigkill access on a process
Expected results:
Personal expection would be that Nagios is allowed to kill its child process.
Simon, since which version should this be fixed? Having here the latest RPM
(selinux-policy-targeted-3.7.19-231.el6_5.3.noarch), but nothing is mentioned
in changelog at all if I am not completely mistaken...
(In reply to Robert Scheck from comment #5)
> Simon, since which version should this be fixed? Having here the latest RPM
> (selinux-policy-targeted-3.7.19-231.el6_5.3.noarch), but nothing is mentioned
> in changelog at all if I am not completely mistaken...
selinux-policy-3.7.19-231.el6.noarch
Fixes are in the "policy-RHEL6.5.patch" file from the source RPM
257745 +allow nrpe_t nagios_plugin_domain:process { signal sigkill };
Description of problem: Raw Audit Messages type=AVC msg=audit(1380800743.117:542452): avc: denied { sigkill } for pid=5139 comm="check_ping" scontext=unconfined_u:system_r:nagios_services_plugin_t:s0 tcontext=unconfined_u:system_r:nagios_t:s0 tclass=process type=SYSCALL msg=audit(1380800743.117:542452): arch=x86_64 syscall=kill success=yes exit=0 a0=0 a1=9 a2=1bf6500 a3=a392d393538382d items=0 ppid=5133 pid=5139 auid=0 uid=495 gid=495 euid=495 suid=495 fsuid=495 egid=495 sgid=495 fsgid=495 tty=(none) ses=21329 comm=check_ping exe=/usr/lib64/nagios/plugins/check_ping subj=unconfined_u:system_r:nagios_services_plugin_t:s0 key=(null) Version-Release number of selected component (if applicable): nagios-plugins-ping-1.4.16-5.el6.x86_64 selinux-policy-targeted-3.7.19-195.el6_4.12.noarch How reproducible: Everytime if you force DNS and network timeouts (e.g. by killing the default route or the DNS server thus it causes a timeout as in drop, not a reject). Nagios seems to kill its not responding child somewhen - and this fails due to the SELinux policy. Actual results: SELinux is preventing /usr/lib64/nagios/plugins/check_ping from using the sigkill access on a process Expected results: Personal expection would be that Nagios is allowed to kill its child process.