diff --git a/kdump b/kdump index 8ac1c3c..e7b95ec 100644 --- a/kdump +++ b/kdump @@ -283,9 +283,14 @@ case "$1" in ;; stop) if [ ! -f /proc/vmcore ]; then - echo -n "Unloading kdump" - $KEXEC -p -u - rc_status -v + if [ "$RUNLEVEL" != "" ]; then + echo -n "Not unloading kdump during runlevel changes" + rc_status -s + else + echo -n "Unloading kdump" + $KEXEC -p -u + rc_status -v + fi fi ;; status) diff --git a/kexec-tools.changes b/kexec-tools.changes index a4c8d05..ca4d34d 100644 --- a/kexec-tools.changes +++ b/kexec-tools.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jan 29 15:41:43 CET 2007 - olh@suse.de + +- do not unload kdump kernel during runlevel changes (#238733) + ------------------------------------------------------------------- Thu Jan 25 19:28:57 CET 2007 - bwalle@suse.de diff --git a/kexec-tools.spec b/kexec-tools.spec index 4d18795..a595965 100644 --- a/kexec-tools.spec +++ b/kexec-tools.spec @@ -19,7 +19,7 @@ Requires: %insserv_prereq %fillup_prereq Autoreqprov: on Summary: Tools for fast kernel loading Version: 1.101 -Release: 66 +Release: 67 Source: %{name}-%{package_version}.tar.bz2 Source1: kdump Source2: sysconfig.kdump @@ -120,6 +120,8 @@ cd - %{_sbindir}/kdump-helper %changelog -n kexec-tools +* Mon Jan 29 2007 - olh@suse.de +- do not unload kdump kernel during runlevel changes (#238733) * Thu Jan 25 2007 - bwalle@suse.de - added documentation for initrd-based kdump saving - fixed description of KDUMP_IMMEDIATE_REBOOT