BelledonneCommunications / flexisip

Linphone.org mirror for flexisip (git://git.linphone.org/flexisip.git)
http://flexisip.org
GNU Affero General Public License v3.0
144 stars 69 forks source link

No need to package into /var/opt on EL7; it just causes selinux violations #60

Open brianjmurrell opened 5 years ago

brianjmurrell commented 5 years ago

/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.