From 8d8abc19b0500b725f92164c096b64b3c37cd6b0 Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Thu, 19 Jun 2014 16:51:57 +0530 Subject: 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 Reviewed-on: http://review.gluster.org/8116 Reviewed-by: Niels de Vos Reviewed-by: Lalatendu Mohanty Tested-by: Gluster Build System --- glusterfs.spec.in | 8 ++++++++ 1 file changed, 8 insertions(+) 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 +- Added dynamic loading of fuse module with glusterfs-fuse package installation in el5. + * Fri Jun 27 2014 Kaleb S. KEITHLEY - killall --wait in %%post server, (#1113543) -- cgit