|
|
baab13 |
From f1df45f8d0e7cd489eb2dd1b2e03e85e85f83f95 Mon Sep 17 00:00:00 2001
|
|
|
baab13 |
From: Matej Habrnal <mhabrnal@redhat.com>
|
|
|
baab13 |
Date: Tue, 11 Aug 2015 16:17:40 +0200
|
|
|
baab13 |
Subject: [PATCH] ccpp: fix comment related to 'MakeCompatCore' option in
|
|
|
baab13 |
CCpp.conf
|
|
|
baab13 |
|
|
|
baab13 |
The comment fits only on the default core_pattern template.
|
|
|
baab13 |
If the core_pattern is not default, the comment does not fit.
|
|
|
baab13 |
|
|
|
baab13 |
Related to rhbz#1252384
|
|
|
baab13 |
|
|
|
baab13 |
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
|
|
|
baab13 |
---
|
|
|
baab13 |
doc/abrt-CCpp.conf.txt | 9 +++++++--
|
|
|
baab13 |
src/hooks/CCpp.conf | 9 +++++++--
|
|
|
baab13 |
2 files changed, 14 insertions(+), 4 deletions(-)
|
|
|
baab13 |
|
|
|
baab13 |
diff --git a/doc/abrt-CCpp.conf.txt b/doc/abrt-CCpp.conf.txt
|
|
|
baab13 |
index f8085d6..42981fd 100644
|
|
|
baab13 |
--- a/doc/abrt-CCpp.conf.txt
|
|
|
baab13 |
+++ b/doc/abrt-CCpp.conf.txt
|
|
|
baab13 |
@@ -11,8 +11,13 @@ The configuration file consists of items in the format "Option = Value".
|
|
|
baab13 |
Ithe following items are recognized:
|
|
|
baab13 |
|
|
|
baab13 |
MakeCompatCore = 'yes' / 'no' ...::
|
|
|
baab13 |
- If you also want to dump file named "core"
|
|
|
baab13 |
- in crashed process' current dir, set to "yes".
|
|
|
baab13 |
+ CCpp hook writes its template to the "/proc/sys/kernel/core_pattern" file
|
|
|
baab13 |
+ and stores the original template in the "/var/run/abrt/saved_core_pattern"
|
|
|
baab13 |
+ file. If you want CCpp hook to create a core dump file named according to
|
|
|
baab13 |
+ the original template as well, set 'MakeCompatCore' to 'yes'.
|
|
|
baab13 |
+ If the original template string starts with "|", the string "core" is used
|
|
|
baab13 |
+ instead of the template.
|
|
|
baab13 |
+ For more information about naming core dump files see 'man 5 core'.
|
|
|
baab13 |
|
|
|
baab13 |
SaveBinaryImage = 'yes' / 'no' ...::
|
|
|
baab13 |
Do you want a copy of crashed binary be saved?
|
|
|
baab13 |
diff --git a/src/hooks/CCpp.conf b/src/hooks/CCpp.conf
|
|
|
baab13 |
index d2f8adb..08d1b28 100644
|
|
|
baab13 |
--- a/src/hooks/CCpp.conf
|
|
|
baab13 |
+++ b/src/hooks/CCpp.conf
|
|
|
baab13 |
@@ -1,7 +1,12 @@
|
|
|
baab13 |
# Configuration file for CCpp hook
|
|
|
baab13 |
|
|
|
baab13 |
-# If you also want to dump file named "core"
|
|
|
baab13 |
-# in crashed process' current dir, set to "yes"
|
|
|
baab13 |
+# CCpp hook writes its template to the "/proc/sys/kernel/core_pattern" file
|
|
|
baab13 |
+# and stores the original template in the "/var/run/abrt/saved_core_pattern"
|
|
|
baab13 |
+# file. If you want CCpp hook to create a core dump file named according to
|
|
|
baab13 |
+# the original template as well, set 'MakeCompatCore' to 'yes'.
|
|
|
baab13 |
+# If the original template string starts with "|", the string "core" is used
|
|
|
baab13 |
+# instead of the template.
|
|
|
baab13 |
+# For more information about naming core dump files see 'man 5 core'.
|
|
|
baab13 |
MakeCompatCore = yes
|
|
|
baab13 |
|
|
|
baab13 |
# Do you want a copy of crashed binary be saved?
|
|
|
baab13 |
--
|
|
|
baab13 |
2.4.3
|
|
|
baab13 |
|