On Fri, Jan 18, 2019 at 4:32 AM Kazuhito Hagio <k-hagio(a)ab.jp.nec.com> wrote:
If a crash occurs repeatedly after enabling kdump, the system goes
into a crash loop and the dump target may get filled up by vmcores.
This is likely especially with early kdump.
This patchset introduces 'final_action' option to kdump.conf, in order
for users to be able to power off the system even after capturing
a vmcore successfully.
In preparation for adding 'final_action' option, since it's confusing
to have the 'final_action' and 'default' options at the same time,
this patchset introduces 'failure_action' as an alias of the 'default'
option to /etc/kdump.conf, and makes 'default' obsolete to be removed
in the future.
Also, the "default action" term is renamed to "failure action".
Changes from v1:
- Add a patch that introduces 'failure_action' option as an alias of
'default' option and make 'default' option obsolete.
- Improve some descriptions of 'final_action' behavior.
- Add a description that early kdump user can choose anything other
than "reboot" as failure_action to avoid crash loop.
Kazuhito Hagio (3):
Add failure_action as alias of default and make default obsolete
Add final_action option to kdump.conf
earlykdump: Add a note of final_action option to avoid crash loop
dracut-kdump-error-handler.service | 2 +-
dracut-kdump-error-handler.sh | 2 +-
early-kdump-howto.txt | 15 +++++++++-
fadump-howto.txt | 15 +++++-----
kdump-lib-initramfs.sh | 33 ++++++++++++++-------
kdump-lib.sh | 6 ++--
kdump.conf | 24 ++++++++++++----
kdump.conf.5 | 24 +++++++++++++---
kdumpctl | 46 +++++++++++++++++++++++++-----
kexec-kdump-howto.txt | 12 ++++----
10 files changed, 133 insertions(+), 46 deletions(-)
--
2.20.1
_______________________________________________
kexec mailing list -- kexec(a)lists.fedoraproject.org
To unsubscribe send an email to kexec-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://getfedora.org/code-of-conduct.html
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/kexec@lists.fedoraproject.org
Hi Kazu,
Thanks for your patch, I applied your patch locally and didn't observe
any problem, merged.
--
Best Regards,
Kairui Song