Bug#266591: initrd-tools: mkinitrd assumes /dev/mapper/* == LVM device
tags 266591 moreinfo
thanks
On Wed, 18 Aug 2004, Nathaniel W. Turner wrote:
> Package: initrd-tools
> Version: 0.1.73
> Severity: important
>
> I have cryptsetup installed and my /etc/crypttab contains:
>
> swap0 /dev/hda7 /dev/urandom swap
>
> This creates an encrypted device /dev/mapper/swap0 (which I mount as
> swap in /etc/fstab).
>
> When installing kernel-image-2.6.8-1-k7, I get the following error:
>
> Setting up kernel-image-2.6.8-1-k7 (2.6.8-1) ...
> /usr/sbin/mkinitrd: /dev/mapper/swap0: Cannot find LVM device
> Failed to create initrd image.
> dpkg: error processing kernel-image-2.6.8-1-k7 (--configure):
> subprocess post-installation script returned error exit status 9
>
> As far as I can tell, mkinitrd is assuming that anything in /dev/mapper
> is an LVM device, which is not a safe assumption.
>
current initrd-tools > 0.1.76 seems to have cryptsetup support.
can you please report back if aboves pain still subsist?
thanks for your feedback.
--
maks
Reply to: