Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dracut 106 breaks booting with zfs root using bootfs property #2690

Open
nergdron opened this issue Feb 27, 2025 · 2 comments
Open

dracut 106 breaks booting with zfs root using bootfs property #2690

nergdron opened this issue Feb 27, 2025 · 2 comments
Labels
bug Our bugs

Comments

@nergdron
Copy link

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 nergdron added the bug Our bugs label Feb 27, 2025
@jozzsi
Copy link

jozzsi commented Feb 28, 2025

@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

@jozzsi
Copy link

jozzsi commented Mar 2, 2025

@nergdron wondering if you could test this change in modules.d/90zfs/module-setup.sh

  installkernel() {
-	instmods -c zfs
+	hostonly='' instmods -c zfs
 }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Our bugs
Projects
None yet
Development

No branches or pull requests

2 participants