sys-kernel/dracut (tested with version 016, but likely all other currently released versions also) is unable to use sys-apps/kmod (tested with version 5) for at least two reasons: 1) kmod's modprobe does not implement --show-depends, which results in modules being missing in the initramfs 2) dracut's usrmount chokes on comments in fstab, where the 2nd word is /usr Attached patches fix both issues. I have submitted them upstream and will place a notification here when upstream has accepted them or otherwise fixed the issue. Reproducible: Always
Created attachment 303229 [details, diff] Use modinfo instead of modprobe to gather info about modules P.S: Until the issue is fixed, dracut should not use kmod.
Created attachment 303231 [details, diff] Make usrmount skip comments in fstab
(In reply to comment #0) > sys-kernel/dracut (tested with version 016, but likely all other currently > released versions also) is unable to use sys-apps/kmod (tested with version 5) Should be: "likely all other currently released version are also affected"
Could you test dracut with latest git version of kmod? Starting with commit 269de2e0bf5011072da2f40f4f2d4023fad696b9 it should work fine.
I've made Dracut depend on module-init-tools or >kmod-5[tools] explicitly instead of virtual/modutils.
Was issue 2 (usrmount) also fixed? Regarding issue 1: initramfs on vger.kernel.org also suggested that the issue was fixed in a newer kmod. After I wrecked my installation with testing this weekend I am a little bit reluctant to try with another version, but I assume they can be trusted with their assertion about kmod implementing modprobe --show-depends now.
No, I've missed this. This is separate issue which should be reported as another bug. I've already created one: bug #406023 - attach the second patch there, please. I've seen you have posted the first patch to initramfs ml already. Could you do this for the second, too?
Patch was submitted upstream at http://thread.gmane.org/gmane.linux.kernel.initramfs/2495 and http://thread.gmane.org/gmane.linux.kernel.initramfs/2500 (accidental split caused by replying to the wrong of two copies of the same email)
Why you've changed status? This bug can be made Fixed wrt to its title.
(In reply to comment #9) > Why you've changed status? This bug can be made Fixed wrt to its title. I haven't. Must have been an accident or maybe a bug.
I don't know which bug, but I just have said in https://bugs.gentoo.org/show_bug.cgi?id=402557#c7 kmod-9999 resolves dracut module dependency issues for me