The graphite-web package builds a graphite-web-selinux subpackage that runs this in %post: semanage fcontext -a -t httpd_sys_rw_content_t \ '%{_localstatedir}/lib/graphite-web(/.*)?' restorecon -R %{_localstatedir}/lib/graphite-web Obviously this is less than ideal. Could we please have this committed to selinux policy on all branches (f22, f21, f20, f19, epel7, el6, el5)? We can then get rid of this subpackage (and the dependency on policycoreutils-python).
commit edc52a9173f3fea2568095e847535db97111cb55 Author: Miroslav Grepl <mgrepl> Date: Fri Oct 3 14:23:38 2014 +0200 Add support for /var/lib/graphite-web