[abrt/f15] fix typo and core_pattern

Nikola Pajkovsky npajkovs at fedoraproject.org
Thu Oct 13 14:05:29 UTC 2011


commit 22beef1768cffd115843c43eda64a9107854c718
Author: Nikola Pajkovsky <npajkovs at redhat.com>
Date:   Thu Oct 13 15:54:20 2011 +0200

    fix typo and core_pattern
    
    Signed-off-by: Nikola Pajkovsky <npajkovs at redhat.com>

 0001-ccpp_events.conf-fix-typo.patch |   27 +++++++++++++++++++++++++++
 abrt-ccpp.init                       |    2 +-
 abrt.spec                            |    8 +++++++-
 3 files changed, 35 insertions(+), 2 deletions(-)
---
diff --git a/0001-ccpp_events.conf-fix-typo.patch b/0001-ccpp_events.conf-fix-typo.patch
new file mode 100644
index 0000000..7299121
--- /dev/null
+++ b/0001-ccpp_events.conf-fix-typo.patch
@@ -0,0 +1,27 @@
+From 2790efae06f65961c0948945813df4500a4bcbcd Mon Sep 17 00:00:00 2001
+Message-Id: <2790efae06f65961c0948945813df4500a4bcbcd.1318509254.git.npajkovs at redhat.com>
+From: Nikola Pajkovsky <npajkovs at redhat.com>
+Date: Thu, 13 Oct 2011 14:34:12 +0200
+Subject: [PATCH] ccpp_events.conf: fix typo
+
+Signed-off-by: Nikola Pajkovsky <npajkovs at redhat.com>
+---
+ src/plugins/ccpp_events.conf |    2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+diff --git a/src/plugins/ccpp_events.conf b/src/plugins/ccpp_events.conf
+index c202ba9..aa7712a 100644
+--- a/src/plugins/ccpp_events.conf
++++ b/src/plugins/ccpp_events.conf
+@@ -11,7 +11,7 @@ EVENT=post-create analyzer=CCpp
+             base_executable=${executable##*/} &&
+             log=`grep -F -e "$base_executable" /var/log/messages | tail -99` &&
+             if test -n "$log"; then
+-                prinf "%s\n" "$log" >var_log_messages
++                printf "%s\n" "$log" >var_log_messages
+                 # echo "Element 'var_log_messages' saved"
+             fi
+         )
+-- 
+1.7.7.213.g8b0e1
+
diff --git a/abrt-ccpp.init b/abrt-ccpp.init
index 480cb1e..4f43629 100644
--- a/abrt-ccpp.init
+++ b/abrt-ccpp.init
@@ -27,7 +27,7 @@ LOCK="/var/lock/subsys/abrt-ccpp"
 PATTERN_FILE="/proc/sys/kernel/core_pattern"
 SAVED_PATTERN_FILE="/var/run/abrt/saved_core_pattern"
 HOOK_BIN="/usr/libexec/abrt-hook-ccpp"
-PATTERN="|$HOOK_BIN /var/spool/abrt %s %c %p %u %g %t %h %e"
+PATTERN="|$HOOK_BIN %s %c %p %u %g %t %h %e"
 
 # core_pipe_limit specifies how many dump_helpers can run at the same time
 # 0 - means unlimited, but it's not guaranteed that /proc/<pid> of crashing
diff --git a/abrt.spec b/abrt.spec
index 5149f3b..7bd3f8f 100644
--- a/abrt.spec
+++ b/abrt.spec
@@ -10,7 +10,7 @@
 Summary: Automatic bug detection and reporting tool
 Name: abrt
 Version: 2.0.3
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: GPLv2+
 Group: Applications/System
 URL: https://fedorahosted.org/abrt/
@@ -28,6 +28,7 @@ Patch8: 0007-abrtd-pipe-post-create-output-to-log.-Closes-bz-6991.patch
 Patch9: 0001-a-a-save-package-data-Fix-NULL-dereference.patch
 Patch10: 0001-Fix-free-space-checking.patch
 Patch11: 0001-not-send-tainted-kernel-and-broken-bios.patch
+Patch12: 0001-ccpp_events.conf-fix-typo.patch
 BuildRequires: dbus-devel
 BuildRequires: gtk2-devel
 BuildRequires: curl-devel
@@ -228,6 +229,7 @@ Virtual package to make easy default installation on desktop environments.
 %patch9 -p1 -b .a-a-save-package-data-Fix-NULL-dereference.patch
 %patch10 -p1 -b .Fix-free-space-checking.patch
 %patch11 -p1
+%patch12 -p1
 
 %build
 autoconf
@@ -529,6 +531,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %defattr(-,root,root,-)
 
 %changelog
+* Thu Oct 13 2011 Nikola Pajkovsky <npajkovs at redhat.com> - 2.0.3-6
+- 'invalid number '/var/spool/abrt'' when an app crashes on a minimal system
+- Resolves: 745286
+
 * Fri Oct 07 2011 Nikola Pajkovsky <npajkovs at redhat.com> - 2.0.3-5
 - don't file kernel bugs if "tainted: B" is set.
 - don't file bugs about BIOS bugs.


More information about the scm-commits mailing list