Resolves: bz 246967

This commit is contained in:
Neil Horman 2007-07-05 16:46:27 +00:00
parent d60d8254be
commit 61dae49873
2 changed files with 15 additions and 9 deletions

View File

@ -1,12 +1,13 @@
#! /bin/sh #! /bin/sh
### BEGIN INIT INFO
# # Provides: kdump
# kdump # Default-Start: 3 4 5
# # Default-Stop: 0 1 6
# Description: The kdump init script provides the support necessary for # Short-Description: start and stop kdump crash recovery service
# loading a kdump kernel into memory at system bootup time, # Description: The kdump init script provides the support necessary for
# and for copying away a vmcore at system panic time. # 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. # Copyright 2005 Red Hat, Inc.
# #
# chkconfig: - 20 80 # chkconfig: - 20 80
@ -316,10 +317,12 @@ function stop()
$LOGGER "kexec: unloaded kdump kernel" $LOGGER "kexec: unloaded kdump kernel"
echo -n "Stopping kdump:"; success; echo echo -n "Stopping kdump:"; success; echo
$LOGGER "stopped" $LOGGER "stopped"
return 0
else else
$LOGGER "kexec: failed to unload kdump kernel" $LOGGER "kexec: failed to unload kdump kernel"
echo -n "Stopping kdump:"; failure; echo echo -n "Stopping kdump:"; failure; echo
$LOGGER "failed to stop" $LOGGER "failed to stop"
return 1
fi fi
} }

View File

@ -1,6 +1,6 @@
Name: kexec-tools Name: kexec-tools
Version: 1.101 Version: 1.101
Release: 71%{?dist} Release: 72%{?dist}
License: GPL License: GPL
Group: Applications/System Group: Applications/System
Summary: The kexec/kdump userspace component. Summary: The kexec/kdump userspace component.
@ -251,6 +251,9 @@ rm -f %{_datadir}/firstboot/modules/firstboot_kdump.py
%doc kexec-kdump-howto.txt %doc kexec-kdump-howto.txt
%changelog %changelog
* Thu Jul 05 2007 Neil Horman <nhorman@redhat.com> - 1.101-72%{dist}
- Fixing up initscript for LSB (bz 246967)
* Tue Jun 19 2007 Neil Horman <nhorman@redhat.com> - 1.101-71%{dist} * Tue Jun 19 2007 Neil Horman <nhorman@redhat.com> - 1.101-71%{dist}
- Fixed conflict in mkdumprd in use of /mnt (bz 222911) - Fixed conflict in mkdumprd in use of /mnt (bz 222911)