~louis/crashdc/trunk

« back to all changes in this revision

Viewing changes to kdump.sles11

  • Committer: bouchardl
  • Date: 2009-10-01 13:23:14 UTC
  • Revision ID: svn-v4:43a7f545-b209-0410-ba44-c04536a9f2ae:trunk:77
Reference for config doc

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Path:        System/Kernel/Kdump
 
2
## Description: Crash Dump Configuration
 
3
 
 
4
## Type:        string
 
5
## Default:     ""
 
6
## ServiceRestart:      kdump
 
7
#
 
8
# Kernel Version string for the -kdump kernel. Use an empty string to
 
9
# auto-detect a suitable kernel.
 
10
#
 
11
# See also: kdump(5).
 
12
#
 
13
KDUMP_KERNELVER=""
 
14
 
 
15
## Type:        string
 
16
## Default:     ""
 
17
## ServiceRestart:      kdump
 
18
#
 
19
# The kdump commandline is the command line that needs to be passed off to
 
20
# the kdump kernel. If a command line is not specified, the default will be
 
21
# taken from /proc/cmdline and adjusted.
 
22
#
 
23
# WARNING: There are a few options that always should be passed to the kdump
 
24
# kernel. See kdump(5) for details. Don't use that variable, consider using
 
25
# KDUMP_COMMANDLINE_APPEND instead.
 
26
#
 
27
KDUMP_COMMANDLINE=""
 
28
 
 
29
## Type:        string
 
30
## Default:     ""
 
31
## ServiceRestart:     kdump
 
32
#
 
33
# Set this variable if you only want to _append_ values to the default
 
34
# command line string. The string gets also appended if KDUMP_COMMANDLINE
 
35
# is set.
 
36
#
 
37
# See also: kdump(5).
 
38
#
 
39
KDUMP_COMMANDLINE_APPEND=""
 
40
 
 
41
## Type:        string
 
42
## Default:     ""
 
43
## ServiceRestart:      kdump
 
44
#
 
45
# Additional arguments passed to kexec. Normally you don't have to modify
 
46
# the default here.
 
47
#
 
48
# See also: kdump(5).
 
49
#
 
50
KEXEC_OPTIONS=""
 
51
 
 
52
## Type:        yesno
 
53
## Default:     yes
 
54
## ServiceRestart:      kdump
 
55
#
 
56
# Immediately reboot after saving the core in the kdump kernel?
 
57
#
 
58
# See also: kdump(5).
 
59
#
 
60
KDUMP_IMMEDIATE_REBOOT="yes"
 
61
 
 
62
## Type:        string
 
63
## Default:     ""
 
64
## ServiceRestart:      kdump
 
65
#
 
66
# A script or command executed to process and transfer the dump image.
 
67
# It can read the dump image either via /proc/vmcore or /dev/oldmem.
 
68
#
 
69
# WARNING: Setting that option will make most of the other configuration
 
70
# options useless. Don't use that option. It's also not supported.
 
71
#
 
72
# See also: kdump(5).
 
73
#
 
74
KDUMP_TRANSFER=""
 
75
 
 
76
## Type:        string
 
77
## Default:     "file:///var/log/dump"
 
78
## ServiceRestart:      kdump
 
79
#
 
80
# Which directory should the dumps be saved in by the default dumper?
 
81
# This can be:
 
82
#
 
83
#   - a local file, for example "file:///var/log/dump" (or, deprecated,
 
84
#     just "/var/log/dump")
 
85
#   - a FTP server, for example "ftp://user:password@host/var/log/dump"
 
86
#   - a SSH server, for example "ssh://user:password@host/var/log/dump"
 
87
#   - a NFS share, for example "nfs://server/export/var/log/dump"
 
88
#   - a CIFS (SMB) share, for example
 
89
#     "cifs://user:password@host/share/var/log/dump"
 
90
#
 
91
# See also: kdump(5) which contains an exact specification for the URL format.
 
92
# Consider using the "yast2 kdump" module if you are unsure.
 
93
#
 
94
KDUMP_SAVEDIR="file:///var/crash"
 
95
 
 
96
## Type:        integer
 
97
## Default:     5
 
98
## ServiceRestart:      kdump
 
99
#
 
100
# Specifies how many old dumps are kept.  If the number of dump files
 
101
# exceeds this number, older dumps are removed.
 
102
#
 
103
# You can prevent the automatic removal by setting zero to this.
 
104
# Set KDUMP_KEEP_OLD_DUMPS to "-1" is you want to delete all old
 
105
# dumps before saving the new dump.
 
106
#
 
107
# See also: kdump(5).
 
108
#
 
109
KDUMP_KEEP_OLD_DUMPS="5"
 
110
 
 
111
## Type:        integer
 
112
## Default:     64
 
113
## ServiceRestart:      kdump
 
114
#
 
115
# Specifies the minimal free disk space (in MB unit) on the dump partition.
 
116
# If the free disk space is less than the sum of this value and memory size,
 
117
# we won't save vmcore file in order to keep the system sane.
 
118
#
 
119
# Setting zero forces to dump without check.
 
120
#
 
121
# See also: kdump(5).
 
122
#
 
123
KDUMP_FREE_DISK_SIZE="64"
 
124
 
 
125
## Type:        integer
 
126
## Default:     3
 
127
## ServiceRestart:      kdump
 
128
#
 
129
# Determines if kdump uses verbose output. This value is a bitmask:
 
130
#
 
131
# 1: kdump command line is written to system log when executing
 
132
#    /etc/init.d/kdump
 
133
# 2: progress is written to stdout while dumping
 
134
# 4: kdump command line is written so standard output when executing
 
135
#    /etc/init.d/kdump
 
136
# 8: Debugging while saving dump.
 
137
# 16: Debugging when loading (and detecting) the kdump kernel in boot.kdump.
 
138
#
 
139
# See also: kdump(5).
 
140
#
 
141
KDUMP_VERBOSE="8"
 
142
 
 
143
## Type:        integer
 
144
## Default:     0
 
145
## ServiceRestart:      kdump
 
146
#
 
147
# Determines the dump level. If KDUMP_DUMPLEVEL non-zero 0, then makedumpfile
 
148
# is used to strip pages that may not be necessary for analysing. 0 means
 
149
# no stripping, and 31 is the maximum dump level, i.e. 0 produces the
 
150
# largest dump files and 31 the smallest.
 
151
#
 
152
# See kdump(5) or makedumpfile(8) for a full description what that different
 
153
# dump levels mean.
 
154
#
 
155
KDUMP_DUMPLEVEL="0"
 
156
 
 
157
## Type:        list(,compressed,ELF)
 
158
## Default:     "compressed"
 
159
## ServiceRestart:      kdump
 
160
#
 
161
# This variable specifies the dump format.
 
162
#
 
163
# See also: kdump(5).
 
164
KDUMP_DUMPFORMAT="compressed"
 
165
 
 
166
## Type:        boolean
 
167
## Default:     false
 
168
## ServiceRestart:      kdump
 
169
#
 
170
# By default, kdumptool(8) copies multiple files with the save_dump action.
 
171
# Set that value to "true" to make kdumptool trying to save the next file even
 
172
# if saving the previous file failed, or set that to "false" to let the program
 
173
# immediately abort.
 
174
#
 
175
# See also: kdump(5).
 
176
#
 
177
KDUMP_CONTINUE_ON_ERROR="false"
 
178
 
 
179
## Type:        string
 
180
## Default:     ""
 
181
## ServiceRestart:      kdump
 
182
#
 
183
# This is a space-separated list of programs (full path) that are required by
 
184
# KDUMP_TRANSFER, KDUMP_PRESCRIPT or KDUMP_POSTSCRIPT.
 
185
#
 
186
# Dynamic libraries that are required by that programs don't have to be included
 
187
# as they are resolved automatically. However, it's necessary to include other
 
188
# runtime requirements because it's not possible to resolve them automatically.
 
189
#
 
190
# See also: kdump(5).
 
191
#
 
192
KDUMP_REQUIRED_PROGRAMS="/bin/basename /usr/bin/strings /bin/echo /usr/bin/crash /usr/bin/crashdc /usr/bin/run-crashdc-sles11.sh /etc/rc.status /bin/gzip /bin/logger /usr/bin/gdb /lib/libpthread.so.0 /lib/libthread_db.so.1"
 
193
## Type:        string
 
194
## Default:     ""
 
195
## ServiceRestart:      kdump
 
196
#
 
197
# Program that is executed before taking the dump. You have to include that
 
198
# program in KDUMP_REQUIRED_PROGRAMS.
 
199
#
 
200
# See also: kdump(5).
 
201
#
 
202
KDUMP_PRESCRIPT=""
 
203
 
 
204
## Type:        string
 
205
## Default:     ""
 
206
## ServiceRestart:      kdump
 
207
#
 
208
# Program that is executed after taking the dump and before the system is
 
209
# rebooted. You have to include that program in KDUMP_POSTSCRIPT.
 
210
#
 
211
# See also: kdump(5).
 
212
#
 
213
KDUMP_POSTSCRIPT="/usr/bin/run-crashdc-sles11.sh"
 
214
 
 
215
## Type:        yesno
 
216
## Default:     "yes"
 
217
## ServiceRestart:      kdump
 
218
#
 
219
# Not only copy the dump to KDUMP_SAVEDIR but also the installed kernel.
 
220
# If the debugging information is installed, also the debug information will
 
221
# be copied. But only the kernel is copied, not all modules.
 
222
#
 
223
# See also: kdump(5).
 
224
#
 
225
KDUMP_COPY_KERNEL="yes"
 
226
 
 
227
## Type:        string(NOSPARSE)
 
228
## Default:     ""
 
229
## ServiceRestart:      kdump
 
230
#
 
231
# Space-separated list of flags to tweak the run-time behaviour of kdumptool.
 
232
# Currently, only one flag is supported: NOSPARSE to disable creation of sparse
 
233
# files.
 
234
#
 
235
# See also: kdump(5).
 
236
#
 
237
KDUMPTOOL_FLAGS=""
 
238
 
 
239
## Type:        string
 
240
## Default:     auto
 
241
## ServiceRestart:      kdump
 
242
#
 
243
# Network configuration. Use "auto" for auto-detection in initrd, or a string
 
244
# that contains the network device and the mode (dhcp,static), separated by
 
245
# a colon. Example: "eth0:static" or "eth1:dhcp".
 
246
#
 
247
# For static configuration, you have to add the configuration to
 
248
# KDUMP_COMMANDLINE_APPEND.
 
249
#
 
250
# See also: kdump(5)
 
251
#
 
252
KDUMP_NETCONFIG="auto"
 
253
 
 
254
## Type:        string
 
255
## Default:     ""
 
256
## ServiceRestart:      kdump
 
257
#
 
258
# SMTP server used for sending a notification email after a dump has
 
259
# been taken. See also KDUMP_SMTP_USER and KDUMP_SMTP_PASSWORD if you
 
260
# want to use SMTP AUTH.
 
261
#
 
262
# See also: kdump(5)
 
263
#
 
264
KDUMP_SMTP_SERVER=""
 
265
 
 
266
## Type:        string
 
267
## Default:     ""
 
268
## ServiceRestart:      kdump
 
269
#
 
270
# Username for SMTP AUTH when KDUMP_SMTP_SERVER is set. This is optional,
 
271
# without username/password, plain SMTP will be used.
 
272
#
 
273
# See also: kdump(5)
 
274
#
 
275
KDUMP_SMTP_USER=""
 
276
 
 
277
## Type:        string
 
278
## Default:     ""
 
279
## ServiceRestart:      kdump
 
280
#
 
281
# Password for SMTP AUTH when KDUMP_SMTP_SERVER is set. This is optional,
 
282
# without username/password, plain SMTP will be used.
 
283
#
 
284
# See also: kdump(5)
 
285
#
 
286
KDUMP_SMTP_PASSWORD=""
 
287
 
 
288
## Type:        string
 
289
## Default:     ""
 
290
## ServiceRestart:      kdump
 
291
#
 
292
# Mail address to which a notification mail will be sent when a dump has been
 
293
# saved. You have to configure at least KDUMP_SMTP_SERVER to use that feature.
 
294
#
 
295
# See also: kdump(5)
 
296
#
 
297
KDUMP_NOTIFICATION_TO=""
 
298
 
 
299
## Type:        string
 
300
## Default:     ""
 
301
## ServiceRestart:      kdump
 
302
#
 
303
# List of space-separated mail addresses to which notification mail will be
 
304
# sent via Cc if a dump has been saved. You have to configure at least
 
305
# KDUMP_SMTP_SERVER to use that feature.
 
306
#
 
307
# See also: kdump(5)
 
308
#
 
309
KDUMP_NOTIFICATION_CC=""