SELinux 阻止 Nagios 插件在 RHEL6 上运行

ale*_*xus 5 linux selinux nagios nrpe

安装 Nagios NRPE 和 Nagios 插件后,我在 rsyslog 中收到以下条目:

May 13 14:01:30 wcmisdlin02 kernel: type=1400 audit(1305309690.482:2334): avc:  denied  { getattr } for  pid=3835 comm="sh" path="/usr/bin/sudo" dev=dm-0 ino=7355981 scontext=unconfined_u:system_r:nrpe_t:s0 tcontext=system_u:object_r:sudo_exec_t:s0 tclass=file
Run Code Online (Sandbox Code Playgroud)

我试图通过 NRPE 执行的 Nagios 插件似乎被 SELinux 阻止了。我该怎么办?

小智 1

这应该通过此勘误表修复:http://rhn.redhat.com/errata/RHBA-2012-0780.html