doczkal / rpms / abrt

Forked from rpms/abrt 4 years ago
Clone

Blame SOURCES/0151-disable-CreateCoreBacktrace-by-default.patch

a60cd7
From f99278d0e37174039047120347c66069baaa46cb Mon Sep 17 00:00:00 2001
a60cd7
From: Richard Marko <rmarko@fedoraproject.org>
a60cd7
Date: Thu, 16 Jul 2015 16:14:37 +0200
a60cd7
Subject: [PATCH] disable CreateCoreBacktrace by default
a60cd7
a60cd7
---
a60cd7
 doc/abrt-CCpp.conf.txt | 6 ++----
a60cd7
 src/hooks/CCpp.conf    | 6 ++----
a60cd7
 2 files changed, 4 insertions(+), 8 deletions(-)
a60cd7
a60cd7
diff --git a/doc/abrt-CCpp.conf.txt b/doc/abrt-CCpp.conf.txt
a60cd7
index 498d53d..f8085d6 100644
a60cd7
--- a/doc/abrt-CCpp.conf.txt
a60cd7
+++ b/doc/abrt-CCpp.conf.txt
a60cd7
@@ -22,10 +22,8 @@ SaveBinaryImage = 'yes' / 'no' ...::
a60cd7
 CreateCoreBacktrace = 'yes' / 'no' ...::
a60cd7
    When this option is set to 'yes', core backtrace is generated
a60cd7
    from the memory image of the crashing process. Only the crash
a60cd7
-   thread is present in the backtrace. This feature requires
a60cd7
-   kernel 3.18 or newer, otherwise the core backtrace is not
a60cd7
-   created.
a60cd7
-   Default is 'yes'.
a60cd7
+   thread is present in the backtrace.
a60cd7
+   Default is 'no'.
a60cd7
 
a60cd7
 SaveFullCore = 'yes' / 'no' ...::
a60cd7
    Save full coredump? If set to 'no', coredump won't be saved
a60cd7
diff --git a/src/hooks/CCpp.conf b/src/hooks/CCpp.conf
a60cd7
index b1a0a22..d2f8adb 100644
a60cd7
--- a/src/hooks/CCpp.conf
a60cd7
+++ b/src/hooks/CCpp.conf
a60cd7
@@ -10,10 +10,8 @@ SaveBinaryImage = no
a60cd7
 
a60cd7
 # When this option is set to 'yes', core backtrace is generated
a60cd7
 # from the memory image of the crashing process. Only the crash
a60cd7
-# thread is present in the backtrace. This feature requires
a60cd7
-# kernel 3.18 or newer, otherwise the core backtrace is not
a60cd7
-# created.
a60cd7
-CreateCoreBacktrace = yes
a60cd7
+# thread is present in the backtrace.
a60cd7
+CreateCoreBacktrace = no
a60cd7
 
a60cd7
 # Save full coredump? If set to 'no', coredump won't be saved
a60cd7
 # and you won't be able to report the crash to Bugzilla. Only
a60cd7
-- 
a60cd7
2.4.3
a60cd7