Introduction of nagios_run_sudo boolean causes nrpe to fail

Solution Verified - Updated -

Issue

  • With the recent introduction of the per default disabled nagios_run_sudo SELinux policy several of our nagios nrpe checks stopped working until we turned the policy on with:
setsebool -P nagios_run_sudo on
  • It is clear to us on how to fix but this is clearly a POLA (Principle Of Least Astonishment) violation. I'd like to suggest to turn the policy on by default.

Environment

  • Red Hat Enterprise Linux 6 (RHEL)
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.