Matej Habrnal 0b651c
From 093ac1dc74fd848fb45959f4b03bca01a054e7c0 Mon Sep 17 00:00:00 2001
Matej Habrnal 0b651c
From: Jakub Filak <jfilak@redhat.com>
Matej Habrnal 0b651c
Date: Tue, 12 Aug 2014 14:13:25 +0200
Matej Habrnal 0b651c
Subject: [PATCH] Revert "Support handling crashes in lxc containers"
Matej Habrnal 0b651c
Matej Habrnal 0b651c
This reverts commit 4ab9fbe1a6b7889a0cd59b1406e8789d52171fd2.
Matej Habrnal 0b651c
Matej Habrnal 0b651c
Michal Toman <mtoman@redhat.com> (2014-07-16):
Matej Habrnal 0b651c
Matej Habrnal 0b651c
While this adds support for containers that have ABRT installed inside
Matej Habrnal 0b651c
(unfortunately I am not aware of any at this moment), it completely
Matej Habrnal 0b651c
breaks the behavior for standard chroots that people are actually using
Matej Habrnal 0b651c
(especially koji + mock).
Matej Habrnal 0b651c
Matej Habrnal 0b651c
Signed-off-by: Jakub Filak <jfilak@redhat.com>
Matej Habrnal 0b651c
---
Matej Habrnal 0b651c
 src/hooks/abrt-install-ccpp-hook.in | 2 +-
Matej Habrnal 0b651c
 1 file changed, 1 insertion(+), 1 deletion(-)
Matej Habrnal 0b651c
Matej Habrnal 0b651c
diff --git a/src/hooks/abrt-install-ccpp-hook.in b/src/hooks/abrt-install-ccpp-hook.in
Matej Habrnal 0b651c
index 3939b15..aa01231 100755
Matej Habrnal 0b651c
--- a/src/hooks/abrt-install-ccpp-hook.in
Matej Habrnal 0b651c
+++ b/src/hooks/abrt-install-ccpp-hook.in
Matej Habrnal 0b651c
@@ -9,7 +9,7 @@ verbose=false
Matej Habrnal 0b651c
 PATTERN_FILE="/proc/sys/kernel/core_pattern"
Matej Habrnal 0b651c
 SAVED_PATTERN_DIR="@VAR_RUN@/abrt"
Matej Habrnal 0b651c
 SAVED_PATTERN_FILE="@VAR_RUN@/abrt/saved_core_pattern"
Matej Habrnal 0b651c
-HOOK_BIN="/usr/sbin/chroot /proc/%P/root @libexecdir@/abrt-hook-ccpp"
Matej Habrnal 0b651c
+HOOK_BIN="@libexecdir@/abrt-hook-ccpp"
Matej Habrnal 0b651c
 # Must match percent_specifiers[] order in abrt-hook-ccpp.c:
Matej Habrnal 0b651c
 PATTERN="|$HOOK_BIN %s %c %p %u %g %t %e"
Matej Habrnal 0b651c
 # Same, but with bogus "executable name" parameter
Matej Habrnal 0b651c
-- 
Matej Habrnal 0b651c
1.9.3
Matej Habrnal 0b651c