diff --git a/SOURCES/kdump.conf.5 b/SOURCES/kdump.conf.5 index ce23dea..ae076df 100644 --- a/SOURCES/kdump.conf.5 +++ b/SOURCES/kdump.conf.5 @@ -118,8 +118,11 @@ All files under /etc/kdump/post.d are collectively sorted and executed in lexical order, before binary or script specified kdump_post parameter is executed. .PP -Note that scripts written for use with this directive must use -the /bin/bash interpreter. +Note that scripts written for use with this directive must use the /bin/bash +interpreter. And since these scripts run in kdump enviroment, the reference to +the storage or network device in the scripts should adhere to the section +\'Supported dump target types and requirements\' in kexec-kdump-howto.txt. + .RE .B kdump_pre @@ -139,8 +142,11 @@ kdump_pre parameter is executed. Even if the binary or script in /etc/kdump/pre.d directory returns non 0 exit status, the processing is continued. .PP -Note that scripts written for this directive must use -the /bin/bash interpreter. +Note that scripts written for use with this directive must use the /bin/bash +interpreter. And since these scripts run in kdump enviroment, the reference to +the storage or network device in the scripts should adhere to the section +\'Supported dump target types and requirements\' in kexec-kdump-howto.txt. + .RE .B extra_bins diff --git a/SOURCES/kexec-kdump-howto.txt b/SOURCES/kexec-kdump-howto.txt index 47e11c2..c39ca72 100644 --- a/SOURCES/kexec-kdump-howto.txt +++ b/SOURCES/kexec-kdump-howto.txt @@ -621,6 +621,9 @@ If /etc/kdump/post.d directory exist, All files in the directory are collectively sorted and executed in lexical order, before binary or script specified kdump_post parameter is executed. +In these scripts, the reference to the storage or network device should adhere +to the section 'Supported dump target types and requirements' + Kdump Pre-Capture Executable ---------------------------- @@ -634,6 +637,9 @@ kdump_pre parameter is executed. Even if the binary or script in /etc/kdump/pre.d directory returns non 0 exit status, the processing is continued. +In these scripts, the reference to the storage or network device should adhere +to the section 'Supported dump target types and requirements' + Extra Binaries -------------- diff --git a/SPECS/kexec-tools.spec b/SPECS/kexec-tools.spec index f6fcbb6..8c12a54 100644 --- a/SPECS/kexec-tools.spec +++ b/SPECS/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 2.0.20 -Release: 61%{?dist} +Release: 63%{?dist} License: GPLv2 Group: Applications/System Summary: The kexec/kdump userspace component @@ -417,6 +417,12 @@ done %endif %changelog +* Fri Nov 19 2021 Pingfan Liu - 2.0.20-63 +- Document/kexec-kdump-howto.txt: fix escape + +* Wed Nov 17 2021 Pingfan Liu - 2.0.20-62 +- Document/kexec-kdump-howto.txt: improve notes for kdump_pre and kdump_post scripts + * Tue Nov 9 2021 Pingfan Liu - 2.0.20-61 - rebase makedumpfile to 1.7.0