Closed h908714124 closed 2 days ago
F42 is on 103. I forgot to push 103 to F41 as well. Will upgrade to v105 in Rawhide. There's no plan to upgrade stable releases further.
I will post here any further updates.
If upstream supports that scenario, it should be no issue. There's no plan to diverge from upstream (and in Fedora we default to systemd).
I could now install dracut 105 on an arch system (from the "extra" repo), and generated an initrd with the following command:
dracut /boot/test-omit-systemd.img --add debug --omit --systemd
After updating grub, I can now boot into the resulting initramfs just fine. Hence, I could not reproduce the problem with upstream dracut. Upstream dracut does support the "scenario" (omitting systemd module). The dracut documentation explicitly says "systemd is an optional (not required) dependency".
Dracut upstream devs can't help us, because the problem does not exist upstream. Yet Fedora users have to use this outdated fork. On the other hand, you basically said it's an upstream issue. I feel a bit lost now, and I hope you don't mind me asking some obvious questions:
dracut --omit systemd
in %post
) for our in-house Fedora 40 network installations. What has changed in Fedora 41 (dracut-fedora 102-3.fc41), so that it stopped working?Upstream devs don't consider this a dracut issue, but a Fedora issue. They are right, the problem does not exist upstream. Now that it's confirmed that upstream dracut-105 does support the "scenario" (omitting systemd), I hope you find the time to answer the questions above.
Closing this as a duplicate of #16
The generated initrd cannot boot when the systemd module is omitted. During boot, the visible messages are:
After waiting a bit more, we drop to the debug shell and see that there are no block devices:
Distribution used Fedora 41 (cannot reproduce in Fedora 40)
Dracut version
102-3.fc41
(the version currently in the Fedora 41 repo; could not reproduce with102-2.fc40
)Init system systemd
To Reproduce
Plymouth was omitted here, because it makes it harder to see the error message. The problem also occurs when we don't omit plymouth.
Here's a kickstart script to reproduce the problem (change disk name "nvme0n1" and url):
Expected behavior It should be possible to build an initrd without the systemd module. Omitting systemd seems to be necessary for automatic disk unlocking with a password file.