https://bugzilla.redhat.com/show_bug.cgi?id=2121585 --- Comment #75 from Benson Muite <benson_muite@xxxxxxxxxxxxx> --- For selinux permissions see: https://fedoraproject.org/wiki/PackagingDrafts/SELinux Probably does not make sense to create a new policy, since if one wants to run demos, they are read by a web server. Thus add: Requires(post): policycoreutils-python Requires(postun): policycoreutils-python ... %post semanage fcontext -a -t httpd_sys_content_t '%{_datadir}/%{name}/demos(/.*)?' 2>/dev/null || : restorecon -R %{_datadir}/awstats/wwwroot/cgi-bin || : %postun if [ $1 -eq 0 ] ; then # final removal semanage fcontext -d -t httpd_sys_content_t '%{_datadir}/%{name}/demos(/.*)?' 2>/dev/null || : fi -- You are receiving this mail because: You are always notified about changes to this product and component You are on the CC list for the bug. https://bugzilla.redhat.com/show_bug.cgi?id=2121585 Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202121585%23c75 _______________________________________________ package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue