Your message dated Fri, 02 Nov 2007 09:28:26 -0600
with message-id <[EMAIL PROTECTED]>
and subject line Bug#441590: kexec-tools: Should make it easy to load default
kernel
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: kexec-tools
Version: 1.101-kdump10-2
Severity: wishlist
Tags: patch
Hello,
I found it quite useful to use a configuration, which automatically loads the
default kernel loaded by grub during a normal reboot.
To achieve this, I substituded the packaged /etc/default/kexec by this one:
----
# Defaults for kexec initscript
# sourced by /etc/init.d/kexec and /etc/init.d/kexec-load
# Don't use it by default (1 = use it; 0 = don't)
USE_KEXEC=1
#get default kernel and default initrd from grub config
function read_grub (){
grep ^$1 /boot/grub/menu.lst | sed -n "$2"p | awk '{print $2}'
}
# Kernel and initrd image
BOOTENTRY=$(($(read_grub default 1) + 1))
KERNEL_IMAGE=$(read_grub kernel $BOOTENTRY)
INITRD=$(read_grub initrd $BOOTENTRY)
# If empty, use current /proc/cmdline
APPEND=""
---
It primarily looks in /boot/grub/menu.lst, which kernel would be loaded
during a normal reboot and selects that kernel.
I think it would be useful if this (or something similar) would be the default
configuration (with USE_KEXEC=0), as it should simplify the first steps with
kexec.
Besides that, it is very useful on servers when the kernel ABI changes
(as it has recently been with 2.6.18-4 -> 2.6.18-5): The new kernel is
installed via "aptitude upgrade" and grub ia automatically configured to use
the new kernel, but the default kexec configuration has to be updated manually.
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-5-k7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)
Versions of packages kexec-tools depends on:
ii libc6 2.3.6.ds1-13etch2 GNU C Library: Shared libraries
kexec-tools recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
This bug is invalid and does not need to be fixed as agreed to by the
submitter.
--
Khalid
=======================
[EMAIL PROTECTED]
--- End Message ---