Package: kernel-package Version: 12.024 Severity: normal
My .kernel-pkg.conf contains (and has for as long as I can remember) the line: install_vmlinux := YES This is done so that I can use Oprofile's --vmlinux capabilities. The uncompressed kernel image was obviously never intended as a boot target. With the recent move to grub2 in Unstable, installations of kernels are now regularly adding bogus grub menuentries ala: menuentry "Debian GNU/Linux, Linux 2.6.31.5" { insmod ext2 set root=(hd0,1) search --no-floppy --fs-uuid --set 7c81edeb-4342-47f7-88b5-959a213e6c76 linux /boot/vmlinux-2.6.31.5 root=/dev/sda1 ro quiet } These entries are unbootable. The issue is grave due to vmlinux entries being listed above vmlinuz, thus becoming the default. Unattended reboots become an impossibility without first purging these entries. Here's the non-commented content of my kernel-image configs: [recombinator](0) $ grep -v ^# .kernel-pkg.conf /etc/kernel-img.conf .kernel-pkg.conf: .kernel-pkg.conf:CONCURRENCY_LEVEL = 2 .kernel-pkg.conf: .kernel-pkg.conf:maintainer := Nick Black # (KPKG_MAINTAINER) .kernel-pkg.conf:email := d...@qemfd.net # (KPKG_EMAIL) .kernel-pkg.conf:debian_revision_mandatory := True # (DEBIAN_REVISION_MANDATORY) .kernel-pkg.conf:link_in_boot := True # (LINK_IN_BOOT) .kernel-pkg.conf:priority := Low .kernel-pkg.conf:root_cmd := fakeroot # (ROOT_CMD) .kernel-pkg.conf:do_clean := YES # (CLEAN_SOURCE) .kernel-pkg.conf:install_vmlinux := YES /etc/kernel-img.conf:link_in_boot = no /etc/kernel-img.conf:do_symlinks = yes /etc/kernel-img.conf:postinst_hook = update-grub /etc/kernel-img.conf:postrm_hook = update-grub /etc/kernel-img.conf:do_bootloader = no /etc/kernel-img.conf:relative_links = yes /etc/kernel-img.conf:do_initrd = yes [recombinator](0) $ -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31.4 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages kernel-package depends on: ii binutils 2.20-1 The GNU assembler, linker and bina ii build-essential 11.4 Informational list of build-essent ii debianutils 3.2.1 Miscellaneous utilities specific t ii file 5.03-2 Determines file type using "magic" ii gettext 0.17-8 GNU Internationalization utilities ii make 3.81-6 An utility for Directing compilati ii module-init-tools 3.11-1 tools for managing Linux kernel mo ii po-debconf 1.0.16 tool for managing templates file t ii util-linux 2.16.1-4 Miscellaneous system utilities Versions of packages kernel-package recommends: ii cpio 2.10-1 GNU cpio -- a program to manage ar Versions of packages kernel-package suggests: ii bzip2 1.0.5-3 high-quality block-sorting file co ii docbook-utils 0.6.14-1.1 Convert Docbook files to other for ii e2fsprogs 1.41.9-1 ext2/ext3/ext4 file system utiliti pn libdb3-dev <none> (no description available) ii libncurses5-dev [libncurs 5.7+20090803-2 developer's libraries and docs for pn linux-initramfs-tool <none> (no description available) pn linux-source | kernel-sou <none> (no description available) ii xmlto 0.0.23-2 XML-to-any converter -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org