Blob Blame History Raw
From 093ac1dc74fd848fb45959f4b03bca01a054e7c0 Mon Sep 17 00:00:00 2001
From: Jakub Filak <jfilak@redhat.com>
Date: Tue, 12 Aug 2014 14:13:25 +0200
Subject: [PATCH] Revert "Support handling crashes in lxc containers"

This reverts commit 4ab9fbe1a6b7889a0cd59b1406e8789d52171fd2.

Michal Toman <mtoman@redhat.com> (2014-07-16):

While this adds support for containers that have ABRT installed inside
(unfortunately I am not aware of any at this moment), it completely
breaks the behavior for standard chroots that people are actually using
(especially koji + mock).

Signed-off-by: Jakub Filak <jfilak@redhat.com>
---
 src/hooks/abrt-install-ccpp-hook.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/hooks/abrt-install-ccpp-hook.in b/src/hooks/abrt-install-ccpp-hook.in
index 3939b15..aa01231 100755
--- a/src/hooks/abrt-install-ccpp-hook.in
+++ b/src/hooks/abrt-install-ccpp-hook.in
@@ -9,7 +9,7 @@ verbose=false
 PATTERN_FILE="/proc/sys/kernel/core_pattern"
 SAVED_PATTERN_DIR="@VAR_RUN@/abrt"
 SAVED_PATTERN_FILE="@VAR_RUN@/abrt/saved_core_pattern"
-HOOK_BIN="/usr/sbin/chroot /proc/%P/root @libexecdir@/abrt-hook-ccpp"
+HOOK_BIN="@libexecdir@/abrt-hook-ccpp"
 # Must match percent_specifiers[] order in abrt-hook-ccpp.c:
 PATTERN="|$HOOK_BIN %s %c %p %u %g %t %e"
 # Same, but with bogus "executable name" parameter
-- 
1.9.3