Package: grub-common Version: 1.96+20090504-1 Severity: important --- Please enter the report below this line. ---
I have a system which fails during kernels postinsts because update-grub returns 1. The problem was located at: chain) CHAINROOT="`grub-probe --target=drive --device ${DEVICE} 2> /dev/null`" grub-probe failed because the device.map was outdated. grub-mkconfig solved the problem. How could we make sure that the device.map is always up-to-date when grub-probe is called ? This bug is important because it blocks kernel upgrades without any explanation apart from "update-grub returns 1" and "postinst failed". update-grub itself returns nothing suspicious at all, since the error happens after the the last stdout output, does not produce error output and is only detectable through the exit number. The error output of grub-probe should probably not be 2> /dev/null or be somehow parsed. Cheers Arthur --- System information. --- Architecture: i386 Kernel: Linux 2.6.29-aeris-1.0 Debian Release: squeeze/sid 300 testing ftp.ch.debian.org 100 unstable ftp.ch.debian.org 1 experimental ftp.ch.debian.org -- Obey Arthur Liu <http://www.milliways.fr>
signature.asc
Description: OpenPGP digital signature