Xymon Mailing List Archive search

error running report.sh

list Francois Claire
Wed, 16 Mar 2016 13:51:31 +0100
Message-Id: <user-1c6dc379dae0@xymon.invalid>

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.