Bug 847227 - abrt: Do not move kernel vmcore out of /var/crash/
abrt: Do not move kernel vmcore out of /var/crash/
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: abrt (Show other bugs)
All Linux
high Severity high
: rc
: ---
Assigned To: abrt
Martin Kyral
Depends On: 811733
Blocks: ABRTF18
  Show dependency treegraph
Reported: 2012-08-10 03:55 EDT by Jiri Moskovcak
Modified: 2015-02-01 17:55 EST (History)
19 users (show)

See Also:
Fixed In Version: abrt-2.0.8-8.el6
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 811733
Last Closed: 2013-02-21 02:54:09 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jiri Moskovcak 2012-08-10 03:55:00 EDT
+++ This bug was initially created as a clone of Bug #811733 +++

Description of problem:

Currently abrt-vmcore service is enabled by default and it moves vmcore out of /var/crash into /var/spool/abrt. This is wrong for multiple reasons and needs fixing.

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

How reproducible:

Steps to Reproduce:
Actual results:

Expected results:

Additional info:

--- Additional comment from jmoskovc@redhat.com on 2012-08-09 18:13:03 EDT ---

We could use hardlinks instead of copying it (which would also be a faster solution, but won't work cross different fs). Can you please give me some examples of what it breaks? (just for a sake of having a specific use case)

--- Additional comment from chaowang@redhat.com on 2012-08-09 22:31:01 EDT ---

Lots of customers would like to search /var/crash for their vmcores, and obviously abrt-vmcore breaks the law that kdump setup, which makes confusion.
They also filed bugs on this issue, bug 844679.

And perhaps, use a softlink instead?
Comment 1 Denys Vlasenko 2012-08-13 06:54:30 EDT
Fixed in git:

commit f228de8d5967d819fd94a0161de1382b0af147a3
Author: Denys Vlasenko <vda.linux@googlemail.com>
Date:   Mon Aug 13 12:49:50 2012 +0200

    abrt-harvest-vmcore: add CopyVMcore config option to copy vmcores
Comment 6 Jiri Moskovcak 2013-01-24 10:23:25 EST
   ABRT was moving kernel cores from it's default location /var/crash to /var/spool/abrt

  Various tools relying on the default location (/var/crash) were broken.
   Don't move the core, just copy them
   The kernel cores are not moved from /var/crash
Comment 7 errata-xmlrpc 2013-02-21 02:54:09 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.