Last active
May 8, 2016 08:41
-
-
Save carlbennett/6b24f6b5e18029c46d54 to your computer and use it in GitHub Desktop.
New Relic PHP Agent SELinux Policy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module newrelic.te 1.0.0; | |
require { | |
type httpd_t; | |
type user_home_t; | |
type var_log_t; | |
class file { open write read }; | |
} | |
#============= httpd_t ============== | |
allow httpd_t user_home_t:file write; | |
allow httpd_t var_log_t:file open; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://discuss.newrelic.com/t/php-agent-cant-connect-to-tmp-newrelic-sock/1218/3
^ relevant for how to build and install this SELinux module