rpms/zfs-fuse/F-10 zfs-fuse.spec,1.5,1.6 zfs-fuse.init,1.3,1.4

Uwe Kubosch donv at fedoraproject.org
Fri Jan 23 23:48:54 UTC 2009


Author: donv

Update of /cvs/pkgs/rpms/zfs-fuse/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25093/F-10

Modified Files:
	zfs-fuse.spec zfs-fuse.init 
Log Message:
* Sat Jan 24 2009 Uwe Kubosh <uwe at kubosch.no> - 0.5.0-7.20081221
- Updated etc/init.d/zfs-fuse init script after feedback from Rudd-O
  Removed limits for the fuse process which could lead to a hung system
  or use lots of memory.



Index: zfs-fuse.spec
===================================================================
RCS file: /cvs/pkgs/rpms/zfs-fuse/F-10/zfs-fuse.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- zfs-fuse.spec	8 Jan 2009 23:02:09 -0000	1.5
+++ zfs-fuse.spec	23 Jan 2009 23:48:24 -0000	1.6
@@ -1,7 +1,7 @@
 Summary:          ZFS ported to Linux FUSE
 Name:             zfs-fuse
 Version:          0.5.0
-Release:          6.20081221%{?dist}
+Release:          7.20081221%{?dist}
 Group:            System Environment/Base
 License:          CDDL
 URL:              http://www.wizy.org/wiki/ZFS_on_FUSE
@@ -87,6 +87,11 @@
 %{_sysconfdir}/sysconfig/%{name}
 
 %changelog
+* Sat Jan 24 2009 Uwe Kubosh <uwe at kubosch.no> - 0.5.0-7.20081221
+- Updated etc/init.d/zfs-fuse init script after feedback from Rudd-O
+  Removed limits for the fuse process which could lead to a hung system
+  or use lots of memory.
+
 * Sun Dec 28 2008 Uwe Kubosh <uwe at kubosch.no> - 0.5.0-6.20081221
 - Updated etc/init.d/zfs-fuse init script after feedback from Rudd-O at
   http://groups.google.com/group/zfs-fuse/browse_thread/thread/da94aa803bceef52


Index: zfs-fuse.init
===================================================================
RCS file: /cvs/pkgs/rpms/zfs-fuse/F-10/zfs-fuse.init,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- zfs-fuse.init	1 Jan 2009 12:33:09 -0000	1.3
+++ zfs-fuse.init	23 Jan 2009 23:48:24 -0000	1.4
@@ -29,6 +29,10 @@
 PIDFILE=/var/run/$prog.pid
 
 unset LANG
+ulimit -v unlimited
+ulimit -c 512000
+ulimit -l unlimited
+ulimit -s unlimited
 
 start() {
     [ -x $exec ] || (echo "$prog binary not present or executable" && exit 5)
@@ -67,7 +71,7 @@
     if [ "$PID" = "" ] ; then
         echo "ZFS-FUSE did not start or create $PIDFILE"
         exit 3
-    fi 
+    fi
 
     echo -n "Immunizing $prog against OOM kills"
     echo -17 > "/proc/$PID/oom_adj"




More information about the fedora-extras-commits mailing list