linux-system-roles / kdump

An ansible role which configures kdump
https://linux-system-roles.github.io/kdump/
MIT License
19 stars 21 forks source link

fix: use failure_action instead of default on EL9 and later #155

Closed richm closed 1 year ago

richm commented 1 year ago

Cause: kdump uses the configuration option 'failure_action' instead of 'default' on EL9 and later.

Consequence: kdump prints a warning to the logs: kdump: warning: option 'default' was renamed 'failure_action' and will be removed in the future. please update /etc/kdump.conf to use option 'failure_action' instead.

Fix: Use 'failure_action' on EL9 and later.

Result: kdump works normally on EL9 and later with no warnings to the logs.

Signed-off-by: Rich Megginson rmeggins@redhat.com

richm commented 1 year ago

fixes https://github.com/linux-system-roles/kdump/issues/154

richm commented 1 year ago

[citest]

richm commented 1 year ago

@licliu is there a specific version of EL9 that added support for failure_action, or has it been since 9.0?

licliu commented 1 year ago

This has been the case since rhel9.0, this patch was introduced in early 2019.