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

Lukas Schwaighofer lukas at schwaighofer.name
Sun Sep 5 15:37:00 BST 2021


Package: cryptsetup-initramfs
Version: 2:2.1.0-5+deb10u2
Severity: important
Tags: patch


Dear Maintainer,

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:

> ay specifies autoactivation, in which case an LV is activated only if
> it matches an item in lvm.conf
> activation/auto_activation_volume_list. If the list is not set, all
> LVs are considered to match, and if if the list is set but empty, no
> LVs match. Autoactivation should be used during system boot to
> make it possible to select which LVs should be automatically
> activated by the system.  See lvmlockd(8) for more information
> about activation options ey and sy for shared VGs.

Thank you
Lukas Schwaighofer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cryptsetup-initramfs.patch
Type: text/x-patch
Size: 609 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20210905/3959fef0/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20210905/3959fef0/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list