rpms/kexec-tools/devel kdump.init, 1.15, 1.16 kexec-tools.spec, 1.86, 1.87

Neil Horman (nhorman) fedora-extras-commits at redhat.com
Thu Jul 5 16:47:03 UTC 2007


Author: nhorman

Update of /cvs/extras/rpms/kexec-tools/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12685

Modified Files:
	kdump.init kexec-tools.spec 
Log Message:
Resolves: bz 246967


Index: kdump.init
===================================================================
RCS file: /cvs/extras/rpms/kexec-tools/devel/kdump.init,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- kdump.init	18 Jun 2007 19:04:08 -0000	1.15
+++ kdump.init	5 Jul 2007 16:46:27 -0000	1.16
@@ -1,12 +1,13 @@
 #! /bin/sh
-
-#
-#  kdump
-#
-#  Description:  The kdump init script provides the support necessary for
-#  		 loading a kdump kernel into memory at system bootup time,
-#		 and for copying away a vmcore at system panic time.
-#
+### BEGIN INIT INFO
+# Provides: kdump 
+# Default-Start:  3 4 5
+# Default-Stop: 0 1 6
+# Short-Description: start and stop kdump crash recovery service 
+# Description:  The kdump init script provides the support necessary for
+#		loading a kdump kernel into memory at system bootup time,
+#		and for copying away a vmcore at system panic time. 
+### END INIT INFO
 #  Copyright 2005 Red Hat, Inc.
 #
 #  chkconfig: - 20 80
@@ -316,10 +317,12 @@
 		$LOGGER "kexec: unloaded kdump kernel"
 		echo -n "Stopping kdump:"; success; echo
 		$LOGGER "stopped"
+		return 0
 	else
 		$LOGGER "kexec: failed to unload kdump kernel"
 		echo -n "Stopping kdump:"; failure; echo
 		$LOGGER "failed to stop"
+		return 1
 	fi
 }
 


Index: kexec-tools.spec
===================================================================
RCS file: /cvs/extras/rpms/kexec-tools/devel/kexec-tools.spec,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -r1.86 -r1.87
--- kexec-tools.spec	19 Jun 2007 11:05:47 -0000	1.86
+++ kexec-tools.spec	5 Jul 2007 16:46:27 -0000	1.87
@@ -1,6 +1,6 @@
 Name: kexec-tools
 Version: 1.101
-Release: 71%{?dist}
+Release: 72%{?dist}
 License: GPL
 Group: Applications/System
 Summary: The kexec/kdump userspace component.
@@ -251,6 +251,9 @@
 %doc kexec-kdump-howto.txt
 
 %changelog
+* Thu Jul 05 2007 Neil Horman <nhorman at redhat.com> - 1.101-72%{dist}
+- Fixing up initscript for LSB (bz 246967)
+
 * Tue Jun 19 2007 Neil Horman <nhorman at redhat.com> - 1.101-71%{dist}
 - Fixed conflict in mkdumprd in use of /mnt (bz 222911)
 




More information about the scm-commits mailing list