[pkg-cryptsetup-devel] Bug#993725: cryptsetup-initramfs: LV activation disregards activation/auto_activation_volume_list setting

Guilhem Moulin guilhem at debian.org
Sun Sep 5 16:04:06 BST 2021


Control: tag -1 moreinfo

Hi,

On Sun, 05 Sep 2021 at 16:37:00 +0200, Lukas Schwaighofer wrote:
> I noticed that LV activation done as part of the provided initramfs
> scripts disregards the activation/auto_activation_volume_list setting
> in /etc/lvm/lvm.conf.
> 
> To fix the issue please consider applying the attached patch. Quoting
> from man lvchange(8) to explain the change:

Which concrete problem does this fix?  At initramfs stage only required
devices (holding /, /usr, the resume device, or those explicitely marked
‘initramfs’) are unlocked and we *do* need to activate LVs in order to
mount these.  So it's unclear to me what's the benefit of checking
/etc/lvm/lvm.conf is — and a misconfigured LVM configuration file could
lead to an unbootable system with this patch no?

-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20210905/f38c7ae8/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list