Document/kexec-kdump-howto.txt: improve notes for kdump_pre and kdump_post scripts
Signed-off-by: Pingfan Liu <piliu@redhat.com> Acked-by: Coiby Xu <coxu@redhat.com>
This commit is contained in:
parent
c59dfe938e
commit
8cc51f3ab9
14
kdump.conf.5
14
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
|
and executed in lexical order, before binary or script
|
||||||
specified kdump_post parameter is executed.
|
specified kdump_post parameter is executed.
|
||||||
.PP
|
.PP
|
||||||
Note that scripts written for use with this directive must use
|
Note that scripts written for use with this directive must use the /bin/bash
|
||||||
the /bin/bash interpreter.
|
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
|
.RE
|
||||||
|
|
||||||
.B kdump_pre <binary | script>
|
.B kdump_pre <binary | script>
|
||||||
@ -139,8 +142,11 @@ kdump_pre parameter is executed.
|
|||||||
Even if the binary or script in /etc/kdump/pre.d directory
|
Even if the binary or script in /etc/kdump/pre.d directory
|
||||||
returns non 0 exit status, the processing is continued.
|
returns non 0 exit status, the processing is continued.
|
||||||
.PP
|
.PP
|
||||||
Note that scripts written for this directive must use
|
Note that scripts written for use with this directive must use the /bin/bash
|
||||||
the /bin/bash interpreter.
|
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
|
.RE
|
||||||
|
|
||||||
.B extra_bins <binaries | shell scripts>
|
.B extra_bins <binaries | shell scripts>
|
||||||
|
@ -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
|
collectively sorted and executed in lexical order, before binary or script
|
||||||
specified kdump_post parameter is executed.
|
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
|
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
|
Even if the binary or script in /etc/kdump/pre.d directory returns non 0
|
||||||
exit status, the processing is continued.
|
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
|
Extra Binaries
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user