Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 896364 - sys-kernel/dracut-059 with sys-apps/systemd-253 and sys-fs/lvm2-2.03.19 cannot mount LVM rootfs
Summary: sys-kernel/dracut-059 with sys-apps/systemd-253 and sys-fs/lvm2-2.03.19 cann...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexander Tsoy
Whiteboard: Workaround applied in sys-apps/system...
Depends on:
Reported: 2023-02-24 21:09 UTC by Kobboi
Modified: 2023-09-08 09:20 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2023-02-24 21:09:44 UTC
After a system update, I could no longer get my rootfs, which is an LVM logical volume to mount, systemd would just spend hours waiting for it to become available.

Tried different kernel versions (gentoo-kernel), dracut versions and lvm2 versions, but in the end it appears to be systemd. Everything is working again with up-to-date versions apart from systemd which I have to pin to 252.6 for now.

It's hard to get interesting information when the system fails to boot properly, so guidance welcome if more information is needed.

Reproducible: Always
Comment 2 Larry the Git Cow gentoo-dev 2023-02-26 19:27:29 UTC
The bug has been referenced in the following commit(s):

commit bfebeda18b81d781f9dcf8d12c1adddefff6b9a4
Author:     Mike Gilbert <>
AuthorDate: 2023-02-26 19:26:29 +0000
Commit:     Mike Gilbert <>
CommitDate: 2023-02-26 19:27:02 +0000

    sys-apps/systemd: work around dracut bug with LVM
    Signed-off-by: Mike Gilbert <>

 .../files/systemd-253-initrd-generators.patch      | 34 ++++++++++++++++++++++
 .../{systemd-253.ebuild => systemd-253-r1.ebuild}  |  1 +
 2 files changed, 35 insertions(+)