flexisip
flexisip copied to clipboard
No need to package into /var/opt on EL7; it just causes selinux violations
/var/opt/*/log is not recognized a _log_t selinux type dir and so the logrotate file you include in the EL7 package ends up causing selinux violations when it tries to rotate the logs.
There is really no need to try to put logs into your private /var/opt space. /var/log is perfectly suitable and plays well with selinux.