Hello community,
here is the log from the commit of package kdump
checked in at Fri Nov 21 16:05:57 CET 2008.
--------
--- kdump/kdump.changes 2008-11-20 15:16:52.000000000 +0100
+++ /mounts/work_src_done/STABLE/kdump/kdump.changes 2008-11-21 14:33:19.000000000 +0100
@@ -1,0 +2,13 @@
+Fri Nov 21 13:46:57 CET 2008 - bwalle@suse.de
+
+- Update to 0.7.2
+ o Don't use the FQDN but only the hostname to avoid DNS lookups
+ and errors on wrongly configured systems (bnc#442830).
+ o Fix empty KDUMP_SAVEDIR line when replacing the symbolic link
+ with the absolute path.
+ o Don't set sysctl kernel.unknown_nmi_panic=1 by default
+ (bnc#388736).
+ o Mention kernel.panic_on_unrecovered_nmi in the kdump(7)
+ manpage.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
kdump-0.7.1-rpmlintrc
kdump-0.7.1.tar.bz2
New:
----
kdump-0.7.2-rpmlintrc
kdump-0.7.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kdump.spec ++++++
--- /var/tmp/diff_new_pack.h17674/_old 2008-11-21 16:05:33.000000000 +0100
+++ /var/tmp/diff_new_pack.h17674/_new 2008-11-21 16:05:33.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package kdump (Version 0.7.1)
+# spec file for package kdump (Version 0.7.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -21,7 +21,7 @@
Name: kdump
License: GPL v2 or later
-Version: 0.7.1
+Version: 0.7.2
Release: 1
Requires: curl openssh makedumpfile
Summary: Script for kdump
@@ -126,6 +126,16 @@
%config %{_sysconfdir}/udev/rules.d/70-kdump.rules
%changelog
+* Fri Nov 21 2008 bwalle@suse.de
+- Update to 0.7.2
+ o Don't use the FQDN but only the hostname to avoid DNS lookups
+ and errors on wrongly configured systems (bnc#442830).
+ o Fix empty KDUMP_SAVEDIR line when replacing the symbolic link
+ with the absolute path.
+ o Don't set sysctl kernel.unknown_nmi_panic=1 by default
+ (bnc#388736).
+ o Mention kernel.panic_on_unrecovered_nmi in the kdump(7)
+ manpage.
* Thu Nov 20 2008 bwalle@suse.de
- Update to 0.7.1
o Document 256M limit on ppc64 for large machines in kdump(7).
++++++ kdump-0.7.1-rpmlintrc -> kdump-0.7.2-rpmlintrc ++++++
++++++ kdump-0.7.1.tar.bz2 -> kdump-0.7.2.tar.bz2 ++++++
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.7.1/ChangeLog new/kdump-0.7.2/ChangeLog
--- old/kdump-0.7.1/ChangeLog 2008-11-20 15:07:54.000000000 +0100
+++ new/kdump-0.7.2/ChangeLog 2008-11-21 14:28:57.000000000 +0100
@@ -1,3 +1,13 @@
+2008-11-21 Bernhard Walle
+
+ * Don't use the FQDN but only the hostname to avoid DNS lookups
+ and errors on wrongly configured systems.
+ * Fix empty KDUMP_SAVEDIR line when replacing the symbolic link with the
+ absolute path.
+ * Don't set sysctl kernel.unknown_nmi_panic=1 by default.
+ * Mention kernel.panic_on_unrecovered_nmi (yes, that's a different
+ sysctl) in the kdump(7) manpage.
+
2008-11-20 Bernhard Walle
* Document 256M limit on ppc64 for large machines in kdump(7).
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.7.1/CMakeLists.txt new/kdump-0.7.2/CMakeLists.txt
--- old/kdump-0.7.1/CMakeLists.txt 2008-11-20 15:07:54.000000000 +0100
+++ new/kdump-0.7.2/CMakeLists.txt 2008-11-21 14:28:57.000000000 +0100
@@ -26,7 +26,7 @@
cmake_minimum_required(VERSION 2.4)
set (PACKAGE_STRING "kdump")
-set (PACKAGE_VERSION "0.7.1")
+set (PACKAGE_VERSION "0.7.2")
include_directories("${PROJECT_BINARY_DIR}")
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.7.1/doc/man/kdump.7.txt.in new/kdump-0.7.2/doc/man/kdump.7.txt.in
--- old/kdump-0.7.1/doc/man/kdump.7.txt.in 2008-11-20 15:07:54.000000000 +0100
+++ new/kdump-0.7.2/doc/man/kdump.7.txt.in 2008-11-21 14:28:57.000000000 +0100
@@ -360,6 +360,24 @@
Advanced Configuration
----------------------
+Trigger Kdump on NMI (i386/x86_64 only)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Some systems (mostly "Enterprise" servers) have a so-called NMI button
+(physically or via the remote management consoles) that triggers an NMI
+manually if the system hangs completely and even SysRQ does not work any more.
+
+If you want to trigger a kdump in that case, you have to execute
+
+ # sysctl kernel.panic_on_unrecovered_nmi=1
+
+manually or (if you want to make that a permanent setting) add
+
+ kernel.panic_on_unrecovered_nmi=1
+
+in _/etc/sysctl.conf_.
+
+
[[crashkernel_exteded]]
Extended crashkernel commandline
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.7.1/doc/man/kdumptool.8.txt.in new/kdump-0.7.2/doc/man/kdumptool.8.txt.in
--- old/kdump-0.7.1/doc/man/kdumptool.8.txt.in 2008-11-20 15:07:54.000000000 +0100
+++ new/kdump-0.7.2/doc/man/kdumptool.8.txt.in 2008-11-21 14:28:57.000000000 +0100
@@ -180,11 +180,11 @@
also copies the kernel binary) instead of the auto-detected one via
VMCOREINFO.
-*-q* _fqdn_ | *--fqdn* _fqdn_::
- Use _fqdn_ as FQDN in the README.txt file (in the dump directory). This is
- because the initrd often lacks proper network configuration, and we want the
- hostname of the old system in that README.txt file, not the initrd hostname
- (which may be an DHCP auto-generated host name).
+*-H* _hostname_ | *--hostname* _hostname_::
+ Use _hostname_ as host name in the README.txt file (in the dump directory).
+ This is because the initrd often lacks proper network configuration, and we
+ want the hostname of the old system in that README.txt file, not the initrd
+ hostname (which may be an DHCP auto-generated host name).
*-M* | *--nomail*::
Don't send the notification email even if mail has been configured in the
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.7.1/.hg_archival.txt new/kdump-0.7.2/.hg_archival.txt
--- old/kdump-0.7.1/.hg_archival.txt 2008-11-20 15:07:54.000000000 +0100
+++ new/kdump-0.7.2/.hg_archival.txt 2008-11-21 14:28:57.000000000 +0100
@@ -1,2 +1,2 @@
repo: bc186d1ee81e4dfdc5721d6a5743a6ed8b3cc457
-node: 9e3352acdbf95d2eb8330e89c1fab7eb5e95dd41
+node: 1827a55a9c250040f3371a856e01637514105f53
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.7.1/.hgtags new/kdump-0.7.2/.hgtags
--- old/kdump-0.7.1/.hgtags 2008-11-20 15:07:54.000000000 +0100
+++ new/kdump-0.7.2/.hgtags 2008-11-21 14:28:57.000000000 +0100
@@ -11,3 +11,4 @@
1e61bab2f023b1bda7b89d8c44d9a9797548ef09 v0.6.6
3a3623a48886cb178707a8412c4daaed5a2fb61e v0.6.7
2c5f915eb87119727c36851336fcf7bbb9bcd79d v0.7.0
+9e3352acdbf95d2eb8330e89c1fab7eb5e95dd41 v0.7.1
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.7.1/init/boot.kdump new/kdump-0.7.2/init/boot.kdump
--- old/kdump-0.7.1/init/boot.kdump 2008-11-20 15:07:54.000000000 +0100
+++ new/kdump-0.7.2/init/boot.kdump 2008-11-21 14:28:57.000000000 +0100
@@ -146,11 +146,6 @@
if rc_status ; then
echo 1 > /proc/sys/kernel/panic_on_oops
-
- # does not exist on all architectures (only i386/x86_64)
- if [ -f /proc/sys/kernel/unknown_nmi_panic ] ; then
- echo 1 > /proc/sys/kernel/unknown_nmi_panic
- fi
fi
if [ $(($KDUMP_VERBOSE & 4)) -gt 0 ] ; then
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.7.1/init/boot-kdump.sh new/kdump-0.7.2/init/boot-kdump.sh
--- old/kdump-0.7.1/init/boot-kdump.sh 2008-11-20 15:07:54.000000000 +0100
+++ new/kdump-0.7.2/init/boot-kdump.sh 2008-11-21 14:28:57.000000000 +0100
@@ -139,7 +139,7 @@
# save the dump (HOME=/ to find the public/private key)
read hostname < /etc/hostname.kdump
HOME=/ TMPDIR=/root/tmp kdumptool save_dump --root=$ROOTDIR \
- --fqdn=$hostname $KDUMPTOOL_OPTIONS
+ --hostname=$hostname $KDUMPTOOL_OPTIONS
continue_error $?
#
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.7.1/init/setup-kdump.sh new/kdump-0.7.2/init/setup-kdump.sh
--- old/kdump-0.7.1/init/setup-kdump.sh 2008-11-20 15:07:54.000000000 +0100
+++ new/kdump-0.7.2/init/setup-kdump.sh 2008-11-21 14:28:57.000000000 +0100
@@ -91,7 +91,7 @@
#
# remember the host name
#
-hostname --fqdn >> ${tmp_mnt}/etc/hostname.kdump
+hostname >> ${tmp_mnt}/etc/hostname.kdump
#
# copy public and private key
@@ -130,7 +130,7 @@
#
# replace the KDUMP_SAVEDIR with the resolved path
if [ "$protocol" = "file" ] ; then
- sed -i "s#KDUMP_SAVEDIR=.*#file://$path#g" ${tmp_mnt}/$CONFIG
+ sed -i "s#KDUMP_SAVEDIR=.*#KDUMP_SAVEDIR=\"file://$path\"#g" ${tmp_mnt}/$CONFIG
fi
#
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.7.1/kdumptool/savedump.cc new/kdump-0.7.2/kdumptool/savedump.cc
--- old/kdump-0.7.1/kdumptool/savedump.cc 2008-11-20 15:07:54.000000000 +0100
+++ new/kdump-0.7.2/kdumptool/savedump.cc 2008-11-21 14:28:57.000000000 +0100
@@ -86,8 +86,8 @@
list.push_back(Option("kernelversion", 'k', OT_STRING,
"Use the specified kernel version instead of auto-detection via "
"VMCOREINFO."));
- list.push_back(Option("fqdn", 'q', OT_STRING,
- "Use the specified hostname/domainname instead of uname()."));
+ list.push_back(Option("hostname", 'H', OT_STRING,
+ "Use the specified hostname instead of uname()."));
list.push_back(Option("nomail", 'M', OT_FLAG,
"Don't send notification email even if email has been configured."));
@@ -107,10 +107,8 @@
m_rootdir = optionparser->getValue("root").getString();
if (optionparser->getValue("kernelversion").getType() != OT_INVALID)
m_crashrelease = optionparser->getValue("kernelversion").getString();
- if (optionparser->getValue("fqdn").getType() != OT_INVALID)
- m_hostname = optionparser->getValue("fqdn").getString();
- if (optionparser->getValue("fqdn").getType() != OT_INVALID)
- m_hostname = optionparser->getValue("fqdn").getString();
+ if (optionparser->getValue("hostname").getType() != OT_INVALID)
+ m_hostname = optionparser->getValue("hostname").getString();
if (optionparser->getValue("nomail").getFlag())
m_nomail = true;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/kdump-0.7.1/NEWS new/kdump-0.7.2/NEWS
--- old/kdump-0.7.1/NEWS 2008-11-20 15:07:54.000000000 +0100
+++ new/kdump-0.7.2/NEWS 2008-11-21 14:28:57.000000000 +0100
@@ -1,3 +1,12 @@
+0.7.2
+-----
+ * Don't use the FQDN but only the hostname to avoid DNS lookups and errors on
+ wrongly configured systems.
+ * Fix empty KDUMP_SAVEDIR line when replacing the symbolic link with the
+ absolute path.
+ * Don't set sysctl kernel.unknown_nmi_panic=1 by default.
+ * Mention kernel.panic_on_unrecovered_nmi in the kdump(7) manpage.
+
0.7.1
-----
* Document 256M limit on ppc64 for large machines in kdump(7).
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org