dracut 106 breaks booting with zfs root using bootfs property
Describe the bug I've got a system with ZFS root where I wasn't passing root=ZFS=some/fs in grub, I was just relying on the bootfs property on the pool to tell it where root was. this was working great until I upgraded to dracut-106-1, and then it broke, and the system doesn't boot until I pass an appropriate root= line from the bootloader.
Distribution used EndeavourOS (arch variant)
Dracut version 106
Init system systemd
To Reproduce use a previous version of dracut, boot system with grub and only using the zpool's bootfs properly. then upgrade to 106, see it break.
Expected behavior it should continue to work as expected.
@nergdron thanks for reporting this issue. dracut 106 is managed at https://github.com/dracut-ng/dracut-ng
Would you be able to file this bug there ?
Also, please keep in mind that this is an incompatibility between dracut and zfs-dracut, and we have to understand the issue better before we conclude that this is a bug in dracut.
What would be extremly helpful if you could git bisect which dracut commit is responsible for the incompatibility.
Please also include full dracut command line (and log).
CC @dalto8
@nergdron wondering if you could test this change in modules.d/90zfs/module-setup.sh
installkernel() {
- instmods -c zfs
+ hostonly='' instmods -c zfs
}