Bug#549976: grub-pc: File descriptor leaked during kernel update

Michael Below mbelow at antithese.de
Mon Jan 25 10:06:38 UTC 2010


Package: grub-pc
Version: 1.98~20100101-1
Severity: normal

I encountered the same error message during a kernel update today.
Don't know if this is a grub issue or a kernel issue. The
installation seems to succeed anyhow:

Richte linux-image-2.6.32-trunk-amd64 ein (2.6.32-5) ...
Running depmod.
Running update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-trunk-amd64
Running update-grub.
Generating grub.cfg ...
Found background image: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.32-trunk-amd64
Found initrd image: /boot/initrd.img-2.6.32-trunk-amd64
Found linux image: /boot/vmlinuz-2.6.30-2-amd64
Found initrd image: /boot/initrd.img-2.6.30-2-amd64
Found linux image: /boot/vmlinuz-2.6.26-2-amd64
Found initrd image: /boot/initrd.img-2.6.26-2-amd64
Found memtest86+ image: /boot/memtest86+.bin
File descriptor 42 (/dev/tty) leaked on lvs invocation. Parent PID
19112: /bin/sh
File descriptor 43 (/dev/tty) leaked on lvs invocation. Parent PID
19112: /bin/sh
File descriptor 47 (/var/lib/debtags/vocabulary.idx (deleted))
leaked on lvs invocation. Parent PID 19112: /bin/sh
File descriptor 48 (/var/lib/debtags/vocabulary (deleted)) leaked
on lvs invocation. Parent PID 19112: /bin/sh
File descriptor 49 (/var/lib/debtags/package-tags.idx (deleted))
leaked on lvs invocation. Parent PID 19112: /bin/sh
Found Windows Vista (loader) on /dev/sda1
done
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/dkms
2.6.32-trunk-amd64 /boot/vmlinuz-2.6.32-trunk-amd64
run-parts: executing /etc/kernel/postinst.d/initramfs-tools
2.6.32-trunk-amd64 /boot/vmlinuz-2.6.32-trunk-amd64
run-parts: executing /etc/kernel/postinst.d/pm-utils
2.6.32-trunk-amd64 /boot/vmlinuz-2.6.32-trunk-amd64


-- Package-specific info:

*********************** BEGIN /proc/mounts
/dev/disk/by-uuid/66e75d80-ed82-400a-9c84-397b29fef7ce / ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/mapper/volgroup1-lvol3 /tmp ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/mapper/volgroup1-lvol2 /usr ext3 rw,relatime,errors=remount-ro,data=ordered 0 0
/dev/mapper/volgroup1-lvol0 /var ext3 rw,relatime,errors=continue,data=ordered 0 0
/dev/mapper/volgroup1-lvol1 /home ext3 rw,relatime,errors=continue,data=ordered 0 0
*********************** END /proc/mounts

*********************** BEGIN /boot/grub/device.map
(hd0)	/dev/sda
*********************** END /boot/grub/device.map

*********************** BEGIN /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
set default=0
insmod lvm
insmod ext2
set root=(volgroup1-lvol2)
search --no-floppy --fs-uuid --set 4da0211d-e0fa-4681-9fd2-b5431c67d2b4
if loadfont /share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  insmod gfxterm
  insmod vbe
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
fi
set locale_dir=/boot/grub/locale
set lang=de
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
insmod ext2
set root=(hd0,4)
search --no-floppy --fs-uuid --set 66e75d80-ed82-400a-9c84-397b29fef7ce
insmod png
if background_image /boot/grub/moreblue-orbit-grub.png ; then
  set color_normal=black/black
  set color_highlight=magenta/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-amd64" {
	insmod ext2
	set root=(hd0,4)
	search --no-floppy --fs-uuid --set 66e75d80-ed82-400a-9c84-397b29fef7ce
	linux	/boot/vmlinuz-2.6.32-trunk-amd64 root=UUID=66e75d80-ed82-400a-9c84-397b29fef7ce ro  quiet
	initrd	/boot/initrd.img-2.6.32-trunk-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.32-trunk-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,4)
	search --no-floppy --fs-uuid --set 66e75d80-ed82-400a-9c84-397b29fef7ce
	linux	/boot/vmlinuz-2.6.32-trunk-amd64 root=UUID=66e75d80-ed82-400a-9c84-397b29fef7ce ro single 
	initrd	/boot/initrd.img-2.6.32-trunk-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64" {
	insmod ext2
	set root=(hd0,4)
	search --no-floppy --fs-uuid --set 66e75d80-ed82-400a-9c84-397b29fef7ce
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=UUID=66e75d80-ed82-400a-9c84-397b29fef7ce ro  quiet
	initrd	/boot/initrd.img-2.6.30-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,4)
	search --no-floppy --fs-uuid --set 66e75d80-ed82-400a-9c84-397b29fef7ce
	linux	/boot/vmlinuz-2.6.30-2-amd64 root=UUID=66e75d80-ed82-400a-9c84-397b29fef7ce ro single 
	initrd	/boot/initrd.img-2.6.30-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.26-2-amd64" {
	insmod ext2
	set root=(hd0,4)
	search --no-floppy --fs-uuid --set 66e75d80-ed82-400a-9c84-397b29fef7ce
	linux	/boot/vmlinuz-2.6.26-2-amd64 root=UUID=66e75d80-ed82-400a-9c84-397b29fef7ce ro  quiet
	initrd	/boot/initrd.img-2.6.26-2-amd64
}
menuentry "Debian GNU/Linux, with Linux 2.6.26-2-amd64 (recovery mode)" {
	insmod ext2
	set root=(hd0,4)
	search --no-floppy --fs-uuid --set 66e75d80-ed82-400a-9c84-397b29fef7ce
	linux	/boot/vmlinuz-2.6.26-2-amd64 root=UUID=66e75d80-ed82-400a-9c84-397b29fef7ce ro single 
	initrd	/boot/initrd.img-2.6.26-2-amd64
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod ext2
	set root=(hd0,4)
	search --no-floppy --fs-uuid --set 66e75d80-ed82-400a-9c84-397b29fef7ce
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod ext2
	set root=(hd0,4)
	search --no-floppy --fs-uuid --set 66e75d80-ed82-400a-9c84-397b29fef7ce
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows Vista (loader) (on /dev/sda1)" {
	insmod ntfs
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 19226086202273e9
	chainloader +1
}
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
*********************** END /boot/grub/grub.cfg

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages grub-pc depends on:
ii  debconf [debconf-2.0]    1.5.28          Debian configuration management sy
ii  grub-common              1.98~20100101-1 GRand Unified Bootloader, version 
ii  libc6                    2.10.2-2        GNU C Library: Shared libraries
ii  ucf                      3.0025          Update Configuration File: preserv

grub-pc recommends no packages.

Versions of packages grub-pc suggests:
ii  desktop-base                  5.0.5      common files for the Debian Deskto

-- debconf information:
  grub2/kfreebsd_cmdline:
* grub2/linux_cmdline:
* grub-pc/chainload_from_menu.lst: true
  grub-pc/kopt_extracted: true
  grub-pc/postrm_purge_boot_grub: false
  grub2/kfreebsd_cmdline_default: quiet
* grub2/linux_cmdline_default: quiet
* grub-pc/install_devices: /dev/sda





More information about the Pkg-grub-devel mailing list