From b7abc06e11d00c6e4e548837d1a14ffba1495cb90db372ba3b30aff1dd422eb1 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 29 Jan 2007 16:02:38 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kexec-tools?expand=0&rev=6 --- kdump | 11 ++++++++--- kexec-tools.changes | 5 +++++ kexec-tools.spec | 4 +++- 3 files changed, 16 insertions(+), 4 deletions(-) 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