FS#72598 - [lvm2] Unable to successfully boot in the latest release (2.03.14-1)

Attached to Project: Arch Linux
Opened by Voron Ravawynn (daechir) - Monday, 01 November 2021, 01:42 GMT
Last edited by Christian Hesse (eworm) - Monday, 01 November 2021, 19:40 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
In the latest lvm2 package release the lvm2_install snippet seems to change add_file to add_udev_rule. When using mkinitcpio to generate the initial ramdisk mkinitcpio complains that it cannot find "add_udev_rule". This results in the system being unable to successfully boot.

Relevant commit: https://github.com/archlinux/svntogit-packages/commit/4e0c373b5911bec18b04d945375b9aceb025565c#diff-6e49ca9b5efb35ed6dd0922940ab5012e02b3e1658b5ba96ff74449d5a952569L12-L16

Additional info:
linux-hardened 5.14.14.hardened1-1
systemd 249.4-2 (All 249.5 releases are broken for me)
lvm2 2.03.14-1
cryptsetup 2.4.1-3

Using LVM on LUKS.

Steps to reproduce:
Upgrade lvm2 2.03.13-1 to lvm2 2.03.14-1 and cryptsetup 2.4.1-1 to cryptsetup 2.4.1-3.
This task depends upon

Closed by  Christian Hesse (eworm)
Monday, 01 November 2021, 19:40 GMT
Reason for closing:  Not a bug
Additional comments about closing:  use recent systemd package
Comment by Alexander Schnaidt (Namarrgon) - Monday, 01 November 2021, 10:18 GMT Comment by Christian Hesse (eworm) - Monday, 01 November 2021, 19:39 GMT
Latest lvm2 package 2.03.14-1 requires systemd 249.5-3, both are in official repositories. As always partial updates are not supported.
So use older lvm2 package with systemd 249.4-2, get the udev hook from systemd 249.5-3 or switch so systemd hook in initramfs.

Loading...