forked from openSUSE/kdump
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sysconfig.kdump.in
374 lines (345 loc) · 9.63 KB
/
sysconfig.kdump.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
## Path: System/Kernel/Kdump
## Description: Crash Dump Configuration
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# Kernel Version string for the -kdump kernel. Use an empty string to
# auto-detect a suitable kernel.
#
# See also: kdump(5).
#
KDUMP_KERNELVER=""
## Type: integer
## Default: 0
## ServiceRestart: kdump
#
# Number of CPUs to be used in the kdump environment. The default value is 0,
# which means all available CPUs will be used to collect the dump."
#
# See also: kdump(5).
#
KDUMP_CPUS=0
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# The kdump commandline is the command line that needs to be passed off to
# the kdump kernel. If a command line is not specified, the default will be
# taken from /proc/cmdline and adjusted.
#
# WARNING: There are a few options that always should be passed to the kdump
# kernel. See kdump(5) for details. Don't use that variable, consider using
# KDUMP_COMMANDLINE_APPEND instead.
#
KDUMP_COMMANDLINE=""
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# Set this variable if you only want to _append_ values to the default
# command line string. The string also gets appended if KDUMP_COMMANDLINE
# is set.
#
# For network based dumps, you may have to add a "net_delay" parameter
# here. Consult the man page for details.
#
# See also: kdump(5).
#
KDUMP_COMMANDLINE_APPEND=""
## Type: boolean
## Default: "false"
#
# When this option is set to true, kdump tries to shrink the crash
# kernel reservation at boot.
#
# See also: kdump(6).
#
KDUMP_AUTO_RESIZE="false"
@if @HAVE_FADUMP@ TRUE
## Type: boolean
## Default: "false"
## ServiceRestart: kdump
#
# Set this option to true if you want to use fadump (firmware-assisted dump).
# This option is only meaningful on powerpc.
#
# See also: kdump(5).
#
KDUMP_FADUMP="false"
## Type: boolean
## Default: "false"
## ServiceRestart: kdump
#
# If this option is set to true, a shell is started after saving the dump
# with fadump (see above).
# This option can be useful for debugging.
#
# See also: kdump(5).
#
KDUMP_FADUMP_SHELL="false"
@endif
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# Additional arguments passed to kexec. Normally you don't have to modify
# the default here.
#
# See also: kdump(5).
#
KEXEC_OPTIONS=""
## Type: boolean
## Default: true
## ServiceRestart: kdump
#
# Immediately reboot after saving the core in the kdump kernel?
#
# See also: kdump(5).
#
KDUMP_IMMEDIATE_REBOOT="true"
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# A script or command to be executed to process and transfer the dump image.
# It can read the dump image either via /proc/vmcore or /dev/oldmem.
#
# WARNING: Setting that option will make most of the other configuration
# options useless. Don't use that option. It's also not supported.
#
# See also: kdump(5).
#
KDUMP_TRANSFER=""
## Type: string
## Default: "/var/crash"
## ServiceRestart: kdump
#
# Which directory should the dumps be saved in by the default dumper? This can
# be:
#
# - a local file, for example "file:///var/crash" (or just
# "/var/crash")
# - a FTP server, for example "ftp://user:password@host/var/crash"
# - a SFTP server, for example "sftp://user[:password]@host/var/crash"
# - a SSH server, for example "ssh://user[:password]@host/var/crash"
# - a NFS share, for example "nfs://server/export/var/crash"
# - a CIFS (SMB) share, for example "cifs://user:password@host/share/var/crash"
#
# SFTP and SSH targets should use public/private key authentication, see the
# manual page for more details on setting it up.
#
# See also: kdump(5) which contains an exact specification for the URL format.
# Consider using the "yast2 kdump" module if you are unsure.
#
KDUMP_SAVEDIR="/var/crash"
## Type: integer
## Default: 0
## ServiceRestart: kdump
#
# Specifies how many old dumps are kept. If the number of dump files
# exceeds this number, older dumps are removed.
#
# You can prevent the automatic removal by setting zero to this.
# Set KDUMP_KEEP_OLD_DUMPS to "-1" if you want to delete all old
# dumps before saving the new dump.
#
# See also: kdump(5).
#
KDUMP_KEEP_OLD_DUMPS=0
## Type: integer
## Default: 64
## ServiceRestart: kdump
#
# Specifies the minimal free disk space (in MB unit) on the dump partition.
# If the free disk space is less than the sum of this value and memory size,
# we won't save vmcore file in order to keep the system sane.
#
# Setting zero forces to dump without check.
#
# See also: kdump(5).
#
KDUMP_FREE_DISK_SIZE=64
## Type: integer
## Default: 0
## ServiceRestart: kdump
#
# Determines if kdump uses verbose output. This value is a bitmask:
#
# 1: kdump command line is written to system log when executing
# /etc/init.d/kdump
# 2: progress is written to stdout while dumping
# 4: kdump command line is written to standard output when executing
# /etc/init.d/kdump
# 8: Debugging while saving dump.
# 16: Debugging when loading (and detecting) the kdump kernel.
#
# See also: kdump(5).
#
KDUMP_VERBOSE=0
## Type: integer
## Default: 31
## ServiceRestart: kdump
#
# Determines the dump level. If KDUMP_DUMPLEVEL non-zero 0, then makedumpfile
# is used to strip pages that may not be necessary for analysing. 0 means
# no stripping, and 31 is the maximum dump level, i.e. 0 produces the
# largest dump files and 31 the smallest.
#
# See kdump(5) or makedumpfile(8) for a full description what that different
# dump levels mean.
#
KDUMP_DUMPLEVEL=31
## Type: list(,none,ELF,compressed,lzo,snappy,zstd,raw)
## Default: "compressed"
## ServiceRestart: kdump
#
# This variable specifies the dump format. Using the "none" option will
# skip capturing the dump entirely and only save the kernel log buffer.
#
# See also: kdump(5).
KDUMP_DUMPFORMAT="compressed"
## Type: boolean
## Default: true
## ServiceRestart: kdump
#
# Set this value to "false" to drop into a debug shell when an error is
# encountered during saving the dump
#
# See also: kdump(5).
#
KDUMP_CONTINUE_ON_ERROR="true"
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# This is a space-separated list of programs (full path) that are required by
# KDUMP_TRANSFER, KDUMP_PRESCRIPT or KDUMP_POSTSCRIPT.
#
# Dynamic libraries that are required by that programs don't have to be included
# as they are resolved automatically. However, it's necessary to include other
# runtime requirements because it's not possible to resolve them automatically.
#
# See also: kdump(5).
#
KDUMP_REQUIRED_PROGRAMS=""
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# Program that is executed before taking the dump. You have to include that
# program in KDUMP_REQUIRED_PROGRAMS.
#
# See also: kdump(5).
#
KDUMP_PRESCRIPT=""
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# Program that is executed after taking the dump and before the system is
# rebooted. You have to include that program in KDUMP_POSTSCRIPT.
#
# See also: kdump(5).
#
KDUMP_POSTSCRIPT=""
## Type: string
## Default: auto
## ServiceRestart: kdump
#
# Network configuration. Use "auto" for auto-detection in initrd, or a string
# that contains the network device and the mode (static, dhcp, dhcp6, auto6),
# separated by a colon. Example: "eth0:static" or "eth1:dhcp".
#
# For static configuration, you may have to add the configuration to
# KDUMP_COMMANDLINE_APPEND.
#
# By default, network is set up only if needed. Add ":force" to make sure
# that network is always available (e.g. for use by a custom pre- or
# post-script).
#
# See also: kdump(5)
#
KDUMP_NETCONFIG="auto"
## Type: integer
## Default: 30
## ServiceRestart: kdump
#
# Timeout for the remote machine to respond to ping.
#
# See also: kdump(5)
#
KDUMP_NET_TIMEOUT=30
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# SMTP server for notifications.
# Passed to mailx using its "smtp" option.
#
# See also: kdump(5)
#
KDUMP_SMTP_SERVER=""
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# Username used for SMTP authentication.
# Passed to mailx using its "smtp-auth-user" option.
#
# See also: kdump(5)
#
KDUMP_SMTP_USER=""
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# Password for SMTP AUTH.
# Passed to mailx using its "smtp-auth-password" option.
# See also: kdump(5)
#
KDUMP_SMTP_PASSWORD=""
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# Email address where notification mails should be sent to.
# Notifications are sent via a kdump-notify systemd service during boot
# and only work when KDUMP_SAVEDIR points to a local directory.
#
# You either need to configure mailx using /etc/mail.rc or specify
# KDUMP_SMTP_SERVER and optionally KDUMP_SMTP_USER and KDUMP_SMTP_PASSWORD.
#
# See also: kdump(5)
#
KDUMP_NOTIFICATION_TO=""
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# Space-separated list of email addresses where notification mails should be sent
# to via Cc. KDUMP_NOTIFICATION_TO needs to be configured (you can't send
# notifications only to Cc: addresses without a To:).
#
# See also: kdump(5)
#
KDUMP_NOTIFICATION_CC=""
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# Target host public key, encoded with base64. This is used only for the
# SFTP transfer protocol. If empty, kdump will run 'ssh-keygen -F' to get
# the key from known hosts. If set to "*", any host key will be accepted.
#
# See also: kdump(5)
KDUMP_HOST_KEY=""
## Type: string
## Default: ""
## ServiceRestart: kdump
#
# List of SSH identity files for public key authentication. If empty, kdump
# will try all standard OpenSSH identities for the 'root' user.
#
# See also: kdump(5)
KDUMP_SSH_IDENTITY=""