-
Notifications
You must be signed in to change notification settings - Fork 13
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
mkdumprd: Skip global config setting dracutmodules= #29
Conversation
OK, with this I get the |
Tested and this works for me; the problem was I didn't have permissions on my NFS server set up correctly for writes. |
This works for my virtual machine, but Aman said it didn't work for his bare-metal test enviornment. |
The Fedora/RHEL bootc base images have dracut drop-ins which set `dracutmodules+=`. However that seems override explicit module inclusion on the command line, which is a dracut bug: rhkdump#11 Work around this by making our own copy of the global config, and omitting config drop-ins which trigger this behavior. I think longer term, this project should probably own its own global dracut config, actually. But that's a much larger set of work. omit_dracutmodules= is also problematic, so skip that too. Signed-off-by: Colin Walters <[email protected]>
45ca882
to
808a681
Compare
Discussion in https://issues.redhat.com/browse/RHEL-49590 narrowed that down to nfsv3 vs nfsv4; do you want to merge this and look at fixes for nfsv3 as a followup? |
Currently I'm not sure about the how hard the dracut fixes needed, and also if this is urgent. Ideally I still perfer fix dracut, I put a comment in RHEL-49590, could you and @pvalena provide inputs? |
I think it's somewhat urgent as kdump working in all these scenarios is part of the RHEL certification suite. |
WDYT of my comment:
|
@cgwalters I created #31 for adding kdump dracut config. But for nfsv3 issue, we still need some change in dracut. |
I'm curious to ask why does boot base image use
|
This is a good question. Just so everyone's on the same page: by default, dracut does "module autodetection", asking each module it has (including a bunch of built-in ones) whether or not the relevant binaries are present. So you'll basically normally see things like this:
(Yes, we should patch dracut to make this look less like an error; maybe condense all of them at the end to a single line If we use All this to say...well, I guess we can just switch to |
Ahh actually dracut-ng/dracut-ng@d73cc24 landed in dracut-ng already. |
Thanks for the clarification! So you use dracutmodules mainly to avoid outputting the seeming errors from detecting missing binaries. Since |
@coiby FYI if you really want to be sure the module is included, it's better to use |
Yes, but we need get the fix all the way back to 9.4.z for the base image, I will try to make sure that happens. |
FTR I created https://issues.redhat.com/browse/RHEL-56076 to track this...it should happen automatically within ~a week. |
I suppose with Lichen's pr #31, this one is not needed and the RHEL-56076 can be worked separately. Should this pr be closed? @cgwalters @coiby @licliu |
Per discussion in rhkdump/kdump-utils#29 (comment) This would have avoided kdump breakage, and the original motivation of avoiding dracut error spam from missing things is gone now that Fedora is using dracut-ng which has dracut-ng/dracut-ng@d73cc24 (cherry picked from commit 0da319f)
Per discussion in rhkdump/kdump-utils#29 (comment) This would have avoided kdump breakage, and the original motivation of avoiding dracut error spam from missing things is gone now that Fedora is using dracut-ng which has dracut-ng/dracut-ng@d73cc24
The Fedora/RHEL bootc base images have dracut drop-ins which set
dracutmodules+=
.However that seems override explicit module inclusion on the command line, which is a dracut bug:
#11
Work around this by making our own copy of the global config, and omitting config drop-ins which trigger this behavior.
I think longer term, this project should probably own its own global dracut config, actually. But that's a much larger set of work.