SELinux configuration
Posted: Thu Aug 23, 2018 6:18 am
Hi,
Regarding my last message (treated by scottwilkerson) concerning nagvis, I can't let permissive enforce selinux (not authorized in my society for security reasons).
I saw that the context of the .../tmpl/compile seems to be wrong:
ls -lZ /usr/local/nagvis/var/tmpl/compile/
-rw-r--r--. apache apache system_u:object_r:usr_t:s0 classpath.cache.d16.php
drwxr-x---. apache apache system_u:object_r:usr_t:s0 usr
temporarily I have corrected this problem by :
chcon -t httpd_sys_rw_content_t -R /usr/local/nagvis/
But, maybe there are some other wrong contexts in others objects. I saw some other strange comportment, and, to be sure that it is not linked, I want to corrects selinux question before asking you about that.
Is there a selinux policy package I can apply to be able to use NagiosXI with selinux enforcing ? Or how can I correct all not compliant selinux's configurations for NagiosXI ?
Regards.
Regarding my last message (treated by scottwilkerson) concerning nagvis, I can't let permissive enforce selinux (not authorized in my society for security reasons).
I saw that the context of the .../tmpl/compile seems to be wrong:
ls -lZ /usr/local/nagvis/var/tmpl/compile/
-rw-r--r--. apache apache system_u:object_r:usr_t:s0 classpath.cache.d16.php
drwxr-x---. apache apache system_u:object_r:usr_t:s0 usr
temporarily I have corrected this problem by :
chcon -t httpd_sys_rw_content_t -R /usr/local/nagvis/
But, maybe there are some other wrong contexts in others objects. I saw some other strange comportment, and, to be sure that it is not linked, I want to corrects selinux question before asking you about that.
Is there a selinux policy package I can apply to be able to use NagiosXI with selinux enforcing ? Or how can I correct all not compliant selinux's configurations for NagiosXI ?
Regards.