summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHumble Chirammal <hchiramm@redhat.com>2014-06-19 16:51:57 +0530
committerVijay Bellur <vbellur@redhat.com>2014-07-14 07:12:13 -0700
commit8d8abc19b0500b725f92164c096b64b3c37cd6b0 (patch)
treedef121f346417d019d68e126f0fca1dd31cca1b4
parent25ceba47ffefa8cf9639c4f7ef907d0f2974f7d3 (diff)
Autoload fuse module in centos5/el5 versions.
This patch dynamically load 'fuse' module with the installation of glusterfs-fuse package in centos/el5 distributions. Change-Id: I4988a025bd18716fd6d355431196540e140224b3 BUG: 1108669 Signed-off-by: Humble Chirammal <hchiramm@redhat.com> Reviewed-on: http://review.gluster.org/8116 Reviewed-by: Niels de Vos <ndevos@redhat.com> Reviewed-by: Lalatendu Mohanty <lmohanty@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rw-r--r--glusterfs.spec.in8
1 files changed, 8 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in
index 2511fdca5e6..6c3ff402735 100644
--- a/glusterfs.spec.in
+++ b/glusterfs.spec.in
@@ -729,6 +729,11 @@ rm -rf %{buildroot}
%post api -p /sbin/ldconfig
+%post fuse
+%if ( 0%{?rhel} == 5 )
+modprobe fuse
+%endif
+
%if ( 0%{!?_without_georeplication:1} )
%post geo-replication
#restart glusterd.
@@ -1035,6 +1040,9 @@ fi
%ghost %attr(0600,-,-) %{_sharedstatedir}/glusterd/nfs/run/nfs.pid
%changelog
+* Thu Jun 29 2014 Humble Chirammal <hchiramm@redhat.com>
+- Added dynamic loading of fuse module with glusterfs-fuse package installation in el5.
+
* Fri Jun 27 2014 Kaleb S. KEITHLEY <kkeithle@redhat.com>
- killall --wait in %%post server, (#1113543)