Upstream has broken dracut scripts in zfs 2.1.5. I am using dracut on gentoo and ran into this bug. Reproducible: Always Steps to Reproduce: See https://github.com/openzfs/zfs/pull/13602. Applying upstream commit 9f28114393b65bd35a6320c61c17693a408e49d0 as patch fixes the issue on gentoo for me.
I may have experienced this as well.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca35a02bc3a81c4e2ce525251f8260eba5721e0f commit ca35a02bc3a81c4e2ce525251f8260eba5721e0f Author: Sam James <sam@gentoo.org> AuthorDate: 2022-07-10 20:46:23 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-07-10 20:46:23 +0000 sys-fs/zfs: backport another dracut boot patch Closes: https://bugs.gentoo.org/857228 Signed-off-by: Sam James <sam@gentoo.org> sys-fs/zfs/files/2.1.5-dracut-mount.patch | 29 +++ sys-fs/zfs/zfs-2.1.5-r4.ebuild | 321 ++++++++++++++++++++++++++++++ 2 files changed, 350 insertions(+)