Bug 799035

Summary: abrt-install-ccpp-hook won't (un)install hook
Product: Red Hat Enterprise Linux 6 Reporter: Michal Nowak <mnowak>
Component: abrtAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-tools-bugs
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.3CC: dfediuck, nobody+abrt-devel-list, ohudlick
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-05 13:34:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
trace from hook install none

Description Michal Nowak 2012-03-01 16:06:58 UTC
Created attachment 566874 [details]
trace from hook install

Description of problem:

# abrt-install-ccpp-hook is-installed && abrt-install-ccpp-hook uninstall && cat /proc/sys/kernel/core_pattern 
|/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e

From strace:

stat("/var/run/abrt/saved_core_pattern", 0x7fff2ec67270) = -1 ENOENT (No such file or directory)
[...]
exit_group(0)                           = ?

I guess abrt-install-ccpp-hook should say something about that.

And:

# abrt-install-ccpp-hook install ; cat /var/run/abrt/saved_core_pattern
core

Version-Release number of selected component (if applicable):

abrt-2.0.8-1.el6.x86_64
libreport-2.0.9-1.el6.x86_64

How reproducible:

always

Expected results:

"core" or something like that.

Additional info:

Comment 2 Jiri Moskovcak 2012-04-05 13:25:09 UTC
Works for me on rhel6 with abrt-2.0.8-2.el6, can you please verify it?