[pkg-cryptsetup-devel] Bug#659087: garbage errors when running cryptroot initramfs hook

Jamie Heilman jamie at audible.transient.net
Wed Feb 8 08:21:32 UTC 2012


Package: cryptsetup
Version: 2:1.4.1-1

Due to the changes made when fixing bug #634109, systems that don't
have encrypted root volumes get irritating but harmless errors
everytime an initramfs is built, like:

update-initramfs: Generating /boot/initrd.img-3.3.0-rc2
Device /dev/md_d0p1 not found
Command failed

They come from line 157 of the cryptroot initramfs hook script.

That line should probably be:

        depnode=$(dmsetup info -c --noheadings -o name "$dep" 2>/dev/null)

Also, the comment on line 155 is now completely wrong due to the patch
from bug #634109.





More information about the pkg-cryptsetup-devel mailing list