Linux – SELinux prevents Nagios plugins from running on RHEL6

linuxnagiosnrpeselinux

After installing Nagios NRPE & Nagios Plugins, I'm getting the following entry in my 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

It seems like my Nagios plugins that I'm trying to execute through NRPE are being blocked by SELinux. What should I do?

Best Answer

This should be fixed by this errata: http://rhn.redhat.com/errata/RHBA-2012-0780.html

Related Topic