[Xymon] error running report.sh

Francois Claire fclaire at free.fr
Wed Mar 16 13:51:31 CET 2016


Le 16/03/2016 04:38, J.C. Cleaver a écrit :
> Hi, This appears, from my testing, to be an SELinux issue -- although 
> I'm still trying to debug precisely what is happening here on the EL7 
> side.


Hi JC,



Here's what I do on my Centos 7 box to keep xymon working with selinux 
enabled:

semanage fcontext -a -t httpd_sys_rw_content_t "/var/cache/xymon(/.*)?"
restorecon -Rv /var/cache/xymon
semanage fcontext -a -t httpd_sys_script_exec_t 
"/usr/libexec/xymon/showgraph.cgi"
restorecon -Rv /usr/share/xymon/cgi-bin/showgraph.sh
semanage fcontext -a -t httpd_sys_rw_content_t "/etc/xymon(/.*)?"
restorecon -Rv /etc/xymon


I hope this helps...


Cheers,
Francois.



More information about the Xymon mailing list