Blame SOURCES/0162-ccpp-fix-comment-related-to-MakeCompatCore-option-in.patch

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