#961880 kdump-tools currently does not respect KDUMP_SYSCTL and cannot handle sysctl overrides on kdump boot

Package:
kdump-tools
Source:
kdump-tools
Description:
scripts and tools for automating kdump (Linux crash dumps)
Submitter:
"Guilherme G. Piccoli"
Date:
2021-02-01 21:48:32 UTC
Severity:
normal
#961880#5
Date:
2020-05-30 18:18:38 UTC
From:
To:
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