Dear Maintainers,
Kdump-tools currently has 2 issues related to sysctls:
(1) It doesn't respect KDUMP_SYSCTL, after some commit removes it partially - by
partially, it means it wasn't _removed_, but the feature does not work anymore.
(2) There's no way to control sysctls on kdump environment - it "inherits"
sysctl configuration of the host, which could be problematic specially in case
of hugepages setting as sysctl in the regular boot.
I've submitted a merge request with fixes/improvements for this situations,
see: https://salsa.debian.org/debian/makedumpfile/-/merge_requests/2
The patch series addresses (1) [first patch] and (2) [patches two and three]. We
changed the KDUMP_SYSCTL name to prevent confusion...the idea is to rename it to
KDUMP_PANIC_TRIGGERS since the goal for this configuration is to set the panic
options. Regarding (2), we make use of an initrd approach to override sysctls on
*kdump environment only*.
Appreciate reviews, thanks in advance!
Cheers,
Guilherme