-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkoops_event.conf
58 lines (49 loc) · 1.96 KB
/
koops_event.conf
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
# Analyze
EVENT=post-create type=Kerneloops remote!=1
# Honor dmesg_restrict -> bugzilla.redhat.com/1128400
if [ "$(cat /proc/sys/kernel/dmesg_restrict)" == "0" ]; then
# >> instead of > is due to bugzilla.redhat.com/854266
# 'dmesg' file is required by check-oops-for-hw-error
dmesg >>dmesg
abrt-action-check-oops-for-hw-error
fi
{
abrt-action-check-oops-for-alt-component || true
} &&
{
# run abrt-action-analyze-oops only if check-hw-error didn't create the
# required files
if test ! -f uuid -a ! -f duphash; then
abrt-action-analyze-oops || exit 1
fi
}
# If you want behavior similar to one provided by kerneloops daemon
# distributed by kerneloops.org - that is, if you want
# oopses to be reported automatically and immediately without
# user interaction, uncomment this line:
#EVENT=post-create type=Kerneloops
# reporter-kerneloops
# Report
#EVENT=report_Kerneloops type=Kerneloops
# reporter-kerneloops
EVENT=report_Bugzilla type=Kerneloops
reporter-bugzilla -b \
-F /etc/libreport/plugins/bugzilla_format_kernel.conf
# Send micro report
EVENT=report_uReport type=Kerneloops
if [ ! -e mce ]; then
/usr/libexec/abrt-action-ureport
else
echo "Not reportable, problem has hardware character (MCE)"
fi
# Update ABRT database after successful report to bugzilla
EVENT=post_report type=Kerneloops
reporter-ureport -A -B
# Automatic/simple GUI-based kernel oopses reporting will do this:
EVENT=report-gui type=Kerneloops mce!=non-fatal
report-gtk -- "$DUMP_DIR"
EVENT=report-cli type=Kerneloops
report-cli -- "$DUMP_DIR"
EVENT=report_systemd-journal type=Kerneloops
reporter-systemd-journal --message-id 8ed36508c5a24d0ab2d633f330899e5f \
-F /etc/libreport/plugins/catalog_koops_format.conf