[pkg-cryptsetup-devel] Bug#419571: Patch to mkinitramfs hook

Doug Huff mith at jrbobdobbs.org
Wed May 19 02:11:32 UTC 2010


The output from lvs isn't any simpler to parse really. This has the  
same limitations as the existing implementation in regards to devices  
moving so nothing is worsened with this patch.

I didn't see a reason to completely reimplement the whole method for  
detecting lvm devices to get this bug that prevents booting in a very  
common use case fixed.

--
Sent from my iPhone

On May 18, 2010, at 20:32, Alasdair G Kergon <agk at redhat.com> wrote:

> If this is LVM2, use pvs, vgs or lvs for queries - it should be  
> simpler!
> See man pages for how to control output format.  Remember PVs can move
> on booting - it's the UUIDs found on the devices that matter, not  
> the device
> names, so detection/waiting must be done during the actual boot.
>
> Latest versions of LVM2 can also activate LVs while irrelevant PVs  
> in the VG
> are missing, but it's risky to rely on that *if* booting after a  
> crash while
> someone was changing any properties of the LV(s) concerned as the  
> change might
> have been committed but not yet visible.  (So only use that on static
> configurations.)
>
> Alasdair
>





More information about the pkg-cryptsetup-devel mailing list