FS#66679 - [lvm2] lvm2-lvmetad vs systemd-udevd ordering issue in initramfs
Attached to Project:
Arch Linux
Opened by Oleksandr Natalenko (post-factum) - Saturday, 16 May 2020, 19:34 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 03 June 2020, 11:25 GMT
Opened by Oleksandr Natalenko (post-factum) - Saturday, 16 May 2020, 19:34 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 03 June 2020, 11:25 GMT
|
Details
As per [1] and [2] if the system has thin volumes and/or LVM
cache is set up, a race during initramfs stage between
lvm2-lvmetad and systemd-udevd prevents the system from
booting correctly.
The fix mentioned in [2] addresses both issues. In short, in initramfs lvm2-lvmetad.service should be started after systemd-udevd.service. An example of such a change in form of hacky workaround is shown in [2] and also here: [3]. I'm not sure for how long lvm2-lvmetad will be supported since it is phased out by the upstream, but as long as it is used by Arch I feel like this ordering issue should be addressed in the lvm2 package itself. Thanks. [1] https://bbs.archlinux.org/viewtopic.php?id=255751 [2] https://bugs.archlinux.org/task/57275#comment167331 [3] https://build.opensuse.org/package/show/home:post-factum/sd-lvm2-quirks |
This task depends upon
Closed by Christian Hesse (eworm)
Wednesday, 03 June 2020, 11:25 GMT
Reason for closing: Fixed
Additional comments about closing: lvm2 2.02.187-3
Wednesday, 03 June 2020, 11:25 GMT
Reason for closing: Fixed
Additional comments about closing: lvm2 2.02.187-3
Comment by
Oleksandr Natalenko (post-factum) -
Monday, 01 June 2020, 09:15 GMT
Comment by Christian Hesse (eworm) -
Tuesday, 02 June 2020, 07:40 GMT
Comment by
Oleksandr Natalenko (post-factum) -
Tuesday, 02 June 2020, 18:08 GMT
Comment by
Oleksandr Natalenko (post-factum) -
Wednesday, 03 June 2020, 11:11 GMT
Gentle ping. Could you please look into this? Thanks.
Please test lvm2 2.02.187-3...
Thanks, this seems to work. Tested on 2 systems with 3 to 4
reboots on each.
Since new lvm2 hit core, the bug can be closed. Thanks again.