Subject: bug#65177: udevd error with lvm-raid array leading to race condition with luks

From: Yann Dupont <[email-masked]>
Date: Thu, 14 Sep 2023 11:25:38 +0200

hello everyone, we're also victims of this bug, in an even simpler use case.

[…]
(file-system
                                 (device "/dev/mapper/VG0-DATA")
                                 (mount-point "/VG0-DATA")
                                 (type "ext4"))
[…]

The culprit seems to be 69-dm-lvm.rules

[ 18.226226] udevd[115]: failed to execute '/usr/bin/systemd-run' 
'/usr/bin/systemd-run --no-block --property DefaultDependencies=no 
--unit lvm-activate-VG0 
/gnu/store/0hndg947ywdl5izvy63ny38hyywci66k-lvm2-2.03.22/sbin/lvm vy

I can confirm that when using time-machine to revert to lvm2 2-03.11 
versions, the VM boots.

cheers,