[Pkg-samba-maint] r1808 - trunk/ctdb/debian/patches

mparent-guest at alioth.debian.org mparent-guest at alioth.debian.org
Sat Mar 29 12:19:53 UTC 2008


Author: mparent-guest
Date: 2008-03-29 12:19:52 +0000 (Sat, 29 Mar 2008)
New Revision: 1808

Removed:
   trunk/ctdb/debian/patches/05_nice_service.diff
Log:
Remove patch applied upstream


Deleted: trunk/ctdb/debian/patches/05_nice_service.diff
===================================================================
--- trunk/ctdb/debian/patches/05_nice_service.diff	2008-03-26 18:31:18 UTC (rev 1807)
+++ trunk/ctdb/debian/patches/05_nice_service.diff	2008-03-29 12:19:52 UTC (rev 1808)
@@ -1,45 +0,0 @@
-Goal: create a nice_service function
-
-/sbin/service is not in debian. So ''nice service'' fails
-
-Author: Mathieu Parent <math.parent at gmail.com>
-
-Upstream status: reported as bugzilla bug #5258
-
-Index: ctdb-1.0.28+git200802081512/config/events.d/50.samba
-===================================================================
---- ctdb-1.0.28+git200802081512.orig/config/events.d/50.samba	2008-02-12 19:17:25.000000000 +0100
-+++ ctdb-1.0.28+git200802081512/config/events.d/50.samba	2008-02-12 19:17:49.000000000 +0100
-@@ -66,7 +66,7 @@
- 	# start Samba service. Start it reniced, as under very heavy load 
- 	# the number of smbd processes will mean that it leaves few cycles for
- 	# anything else
--	nice service smb start
-+	nice_service smb start
- 	;;
- 	
-      takeip)
-Index: ctdb-1.0.28+git200802081512/config/functions
-===================================================================
---- ctdb-1.0.28+git200802081512.orig/config/functions	2008-02-12 19:17:16.000000000 +0100
-+++ ctdb-1.0.28+git200802081512/config/functions	2008-02-12 19:18:52.000000000 +0100
-@@ -29,6 +29,19 @@
-   fi
- }
- 
-+######################################################
-+# simulate /sbin/service (niced) on platforms that don't have it
-+nice_service() { 
-+  service_name="$1"
-+  op="$2"
-+  if [ -x /sbin/service ]; then
-+      nice /sbin/service "$service_name" "$op"
-+  elif [ -x /etc/init.d/$service_name ]; then
-+      nice /etc/init.d/$service_name "$op"
-+  elif [ -x /etc/rc.d/init.d/$service_name ]; then
-+      nice /etc/rc.d/init.d/$service_name "$op"
-+  fi
-+}
- 
- ######################################################
- # wait for a command to return a zero exit status




More information about the Pkg-samba-maint mailing list