summaryrefslogtreecommitdiffstats
path: root/glusterfs.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r--glusterfs.spec.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index fdaf5ffbb01..3b391368f4e 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -379,6 +379,10 @@ Requires: pcs, dbus
%if ( 0%{?rhel} && 0%{?rhel} == 6 )
Requires: cman, pacemaker, corosync
%endif
+%if ( 0%{?fedora} && 0%{?fedora} > 25 )
+Requires(post): policycoreutils-python-utils
+Requires(postun): policycoreutils-python-utils
+%endif
%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} > 5 )
# we need portblock resource-agent in 3.9.5 and later.
Requires: resource-agents >= 3.9.5
@@ -808,6 +812,12 @@ modprobe fuse
exit 0
%endif
+%if ( 0%{?fedora} && 0%{?fedora} > 25 )
+%post ganesha
+semanage boolean -m ganesha_use_fusefs --on
+exit 0
+%endif
+
%if ( 0%{!?_without_georeplication:1} )
%post geo-replication
if [ $1 -ge 1 ]; then
@@ -938,6 +948,12 @@ exit 0
%postun api
/sbin/ldconfig
+%if ( 0%{?fedora} && 0%{?fedora} > 25 )
+%postun ganesha
+semanage boolean -m ganesha_use_fusefs --off
+exit 0
+%endif
+
%postun libs
/sbin/ldconfig
@@ -1271,6 +1287,9 @@ exit 0
%endif
%changelog
+* Wed Jun 21 2017 Kaleb S. KEITHLEY <kkeithle@redhat.com>
+- selinux enable, disable ganesha_access_fuse on install, remove
+
* Tue Feb 21 2017 Niels de Vos <ndevos@redhat.com>
- Obsolete and Provide python-gluster for upgrading from glusterfs < 3.10