Re: [Libguestfs] [PATCH libguestfs-common] options: Don't attempt to scan LVs if "lvm2" feature is not available

2022-09-27 Thread Richard W.M. Jones
I have pushed the two patches to various places ... https://github.com/libguestfs/libguestfs/commit/c2dd84b2635bb2d9f7fb0b4ecf1e0274bfd553b1 https://github.com/libguestfs/libguestfs-common/commit/4b4a5b84647b1496d034bcdff910930ca5f5c486

Re: [Libguestfs] [PATCH libguestfs-common] options: Don't attempt to scan LVs if "lvm2" feature is not available

2022-09-27 Thread Laszlo Ersek
On 09/27/22 14:10, Richard W.M. Jones wrote: > Since we added support for transparent decryption of LUKS in > commit a232e62dcf ("fish: '-i' option automatically handles whole-disk > encryption") we have always assumed that the "lvm2" feature is > available and so we could call

[Libguestfs] [PATCH libguestfs-common] options: Don't attempt to scan LVs if "lvm2" feature is not available

2022-09-27 Thread Richard W.M. Jones
Since we added support for transparent decryption of LUKS in commit a232e62dcf ("fish: '-i' option automatically handles whole-disk encryption") we have always assumed that the "lvm2" feature is available and so we could call guestfs_vg_activate_all. That API would have failed in the unlikely