Hello community,
here is the log from the commit of package kdump
checked in at Thu Jan 10 01:55:41 CET 2008.
--------
--- kdump/kdump.changes 2007-12-12 16:24:27.000000000 +0100
+++ /mounts/work_src_done/STABLE/kdump/kdump.changes 2008-01-08 13:47:31.342108000 +0100
@@ -1,0 +2,9 @@
+Tue Jan 8 13:15:03 CET 2008 - bwalle@suse.de
+
+- log the result of kexec call to avoid the impression that loading
+ kdump kernel succeeded even if kexec terminated non-zero (350289)
+- don't set kernel.panic_on_oops to 1 if kexec failed (350289)
+- updated version to 0.3.2
+- require kexec-tools
+
+-------------------------------------------------------------------
Old:
----
kdump-0.3.1.tar.bz2
New:
----
kdump-0.3.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdump.spec ++++++
--- /var/tmp/diff_new_pack.J10258/_old 2008-01-10 01:54:40.000000000 +0100
+++ /var/tmp/diff_new_pack.J10258/_new 2008-01-10 01:54:40.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package kdump (Version 0.3.1)
+# spec file for package kdump (Version 0.3.2)
#
-# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
@@ -13,7 +13,7 @@
Name: kdump
License: GPL v2 or later
BuildRequires: libelf0-devel zlib-devel
-Version: 0.3.1
+Version: 0.3.2
Release: 1
Requires: curl openssh
Recommends: makedumpfile
@@ -31,6 +31,7 @@
Obsoletes: kdump-helpers <= 0.2.4
# update should detect the split-off from kexec-tools
Provides: kexec-tools:/etc/init.d/kdump
+Requires: kexec-tools
PreReq: coreutils sed
%description
@@ -132,6 +133,12 @@
/var/adm/fillup-templates/sysconfig.kdump
%changelog
+* Tue Jan 08 2008 - bwalle@suse.de
+- log the result of kexec call to avoid the impression that loading
+ kdump kernel succeeded even if kexec terminated non-zero (350289)
+- don't set kernel.panic_on_oops to 1 if kexec failed (350289)
+- updated version to 0.3.2
+- require kexec-tools
* Wed Dec 12 2007 - bwalle@suse.de
- check the disk space afterwards if makedumpfile is used since
it's not possible to know the dump image size in advance
++++++ kdump-0.3.1.tar.bz2 -> kdump-0.3.2.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.3.1/ChangeLog new/kdump-0.3.2/ChangeLog
--- old/kdump-0.3.1/ChangeLog 2007-12-12 16:19:17.000000000 +0100
+++ new/kdump-0.3.2/ChangeLog 2008-01-08 13:04:07.000000000 +0100
@@ -1,3 +1,12 @@
+2008-01-08 Bernhard Walle
+
+ * log the result of kexec call to avoid the impression that loading
+ kdump kernel succeeded even if kexec terminated non-zero
+ (Novell Bugzilla #350289)
+ * don't set kernel.panic_on_oops to 1 if kexec failed
+ (Novell Bugzilla #350289)
+ * updated version to 0.3.2
+
2007-12-12 Bernhard Walle
* check the disk space afterwards if makedumpfile is used since it's
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.3.1/init/kdump new/kdump-0.3.2/init/kdump
--- old/kdump-0.3.1/init/kdump 2007-10-12 21:26:29.000000000 +0200
+++ new/kdump-0.3.2/init/kdump 2008-01-08 13:20:36.000000000 +0100
@@ -199,8 +199,6 @@
KDUMP_COMMANDLINE="dumpdev=$KDUMP_DUMPDEV $KDUMP_COMMANDLINE"
fi
- echo 1 > /proc/sys/kernel/panic_on_oops
-
# remove `--args-linux' for x86 type kernel files here
if [ "$($KDUMP_IDENTIFY_KERNEL -t $kdump_kernel)" = "x86" ] ; then
KEXEC_OPTIONS=$(echo $KEXEC_OPTIONS | sed -e 's/--args-linux//g')
@@ -209,14 +207,27 @@
KEXEC_CALL="$KEXEC -p $kdump_kernel --append=\"$KDUMP_COMMANDLINE\""
KEXEC_CALL="$KEXEC_CALL --initrd=$kdump_initrd $KEXEC_OPTIONS"
- if [ $(($KDUMP_VERBOSE & 1)) -gt 0 ] ; then
- logger -i -t kdump "Loading kdump kernel: $KEXEC_CALL"
+ result=$(eval "$KEXEC_CALL" 2>&1)
+ rc_check
+
+ if rc_status ; then
+ result="Success"
+ echo 1 > /proc/sys/kernel/panic_on_oops
+ else
+ echo $result
fi
+
if [ $(($KDUMP_VERBOSE & 4)) -gt 0 ] ; then
echo "Loading kdump kernel: $KEXEC_CALL"
fi
-
- eval "$KEXEC_CALL"
+ if [ $(($KDUMP_VERBOSE & 1)) -gt 0 ] ; then
+ if rc_status ; then
+ logger -i -t kdump "Loaded kdump kernel: $KEXEC_CALL"
+ else
+ logger -i -t kdump \
+ "FAILED to load kdump kernel: $KEXEC_CALL, Result: $result"
+ fi
+ fi
rc_status -v
}
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.3.1/scripts/kdump-cat_progress new/kdump-0.3.2/scripts/kdump-cat_progress
--- old/kdump-0.3.1/scripts/kdump-cat_progress 2007-10-11 14:57:46.000000000 +0200
+++ new/kdump-0.3.2/scripts/kdump-cat_progress 2008-01-08 13:00:43.000000000 +0100
@@ -19,7 +19,7 @@
use Getopt::Long;
-my $VERSION = "0.3.0";
+my $VERSION = "0.3.2";
my $BLOCKSIZE = 1024;
my $PROGRESS_INTERVAL = 1; # seconds
my $PROGRESS_LOOPS = 50;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.3.1/scripts/kdump-copy_progress new/kdump-0.3.2/scripts/kdump-copy_progress
--- old/kdump-0.3.1/scripts/kdump-copy_progress 2007-10-11 14:57:46.000000000 +0200
+++ new/kdump-0.3.2/scripts/kdump-copy_progress 2008-01-08 13:00:56.000000000 +0100
@@ -20,7 +20,7 @@
use POSIX ":sys_wait_h";
use Getopt::Long;
-my $VERSION = "0.3.0";
+my $VERSION = "0.3.2";
###############################################################################
# Outputs usage information
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.3.1/scripts/kdump-url_parser new/kdump-0.3.2/scripts/kdump-url_parser
--- old/kdump-0.3.1/scripts/kdump-url_parser 2007-10-11 14:57:46.000000000 +0200
+++ new/kdump-0.3.2/scripts/kdump-url_parser 2008-01-08 13:01:02.000000000 +0100
@@ -19,7 +19,7 @@
use Getopt::Long;
-my $VERSION = "0.3.0";
+my $VERSION = "0.3.2";
my %ALIASES = (
'smb' => 'cifs',
'scp' => 'ssh'
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.3.1/.version new/kdump-0.3.2/.version
--- old/kdump-0.3.1/.version 2007-10-12 21:27:05.000000000 +0200
+++ new/kdump-0.3.2/.version 2008-01-08 12:56:06.000000000 +0100
@@ -1 +1 @@
-0.3.1
\ No newline at end of file
+0.3.2
\ No newline at end of file
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org