From c506060c84e5565fa6db68334a8e85c047bf5b0e Mon Sep 17 00:00:00 2001 From: Lichen Liu Date: Thu, 10 Apr 2025 14:17:48 +0800 Subject: [PATCH] 99-kdump.conf: Omit clevis related dracut modules Upstream: kdump-utils Resolves: RHEL-19064 commit 0fc7e887a20a9e8536411750b64f0f8a1315f01b Author: Lichen Liu Date: Tue Mar 25 14:05:49 2025 +0800 99-kdump.conf: Omit clevis related dracut modules The clevis related dracut modules are unconditionly included into the kdump initramfs after installing clevis-dracut package. Normally, we don't use clevis in the kdump process, but it will increase the size of kdump initramfs by about 11M, which is a relatively large overhead for kdump. Omit them by default can reduce the memory required by kdump and avoid the OOM issue. If the user really needs to use it, it can also be added to kdump initramfs by using dracut_args --force-add in /etc/kdump.conf. Signed-off-by: Lichen Liu Signed-off-by: Lichen Liu --- 99-kdump.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/99-kdump.conf b/99-kdump.conf index 3a4b5c2..b163577 100644 --- a/99-kdump.conf +++ b/99-kdump.conf @@ -1,4 +1,5 @@ dracutmodules='' add_dracutmodules=' kdumpbase ' omit_dracutmodules='rdma plymouth resume ifcfg earlykdump ' +omit_dracutmodules+=' clevis clevis-pin-null clevis-pin-tang clevis-pin-sss clevis-pin-tpm2 ' omit_drivers+=' nouveau amdgpu '