version 1.0.0-1 breaks the mkinitcpio lvm2 hook
Task Info (Flyspray) | |
---|---|
Opened By | Eric Toombs (ewtoombs) |
Task ID | 77416 |
Type | Bug Report |
Project | Arch Linux |
Category | Packages: Core |
Version | None |
OS | All |
Opened | 2023-02-07 04:09:54 UTC |
Status | Assigned |
Assignee | Christian Hesse (eworm) |
Details
Description: My root volume is in a thinpool and this new version of thin-provisioning-tools has broken my boot. It should be reverted until this problem is fixed.
Additional info:
- package version(s): 0.9.0 works, 1.0.0 doesn't.
- link to upstream bug report: https://github.com/jthornber/thin-provisioning-tools/issues/244
- lvm2 is running on top of luks, so I run the cryptsetup hook before the lvm2 hook.
Steps to reproduce: 0. Set up a system with your root volume in a thinpool using thin-provisioning-tools 0.9.0. Use the lvm2 mkinitcpio hook. 2. Upgrade to 1.0.0. 3. Reboot
The boot sequence will fail, unable to find the root volume. In the recovery shell, if you attempt a lvm vgchange -ay
, this is what you get:
Check of pool myvgnamehere/mythinpoolnamehere failed (status:64). Manual repair required!
After a cursory examination of the package contents of the different versions, I've found that 1.0.0 has two extra symlinks: thin_metadata_pack
and thin_metadata_unpack
. /usr/lib/initcpio/install/lvm2
does not provide these symlinks. I am adding these symlinks manually and rebooting to see if this fixes the problem.