Bug 1269827 - abrt-dump-journal-core doesn't process core correctly due to permissions
Summary: abrt-dump-journal-core doesn't process core correctly due to permissions
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matej Habrnal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-08 10:00 UTC by Kamil Páral
Modified: 2015-11-28 20:22 UTC (History)
7 users (show)

Fixed In Version: abrt-2.7.1-1.fc23
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-28 20:22:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Kamil Páral 2015-10-08 10:00:51 UTC
Description of problem:
I wanted to process coredump captured by coredumpctl by abrt. I used this:

$ abrt-dump-journal-core -v -D -e
Changing owner of the new problem to: 1000

Whether I run it using sudo or under root, it always changed owner to my current desktop user (not sure if it is OK or not). However, in journal it has printed this:

Oct 08 10:57:26 localhost.localdomain abrt-server[4562]: Problem directory '/var/spool/abrt/ccpp-2015-10-08-11:21:16.590472-5090' has wrong owner or group

ABRT then did not want to process those reports due to missing pkg_epoch and other files. I had to run this:

# /usr/libexec/abrt-handle-event -e post-create -- <DIR>
Failed to get journal fields: Cannot assign requested address

That fixed the issue and I could finally process and report the coredump by abrt.

Please fix the permission issues.


Version-Release number of selected component (if applicable):
abrt-2.6.2-7.fc23.x86_64

Comment 1 Matej Habrnal 2015-10-27 11:50:02 UTC
I've opened upstream pull request which fixes the bug:
https://github.com/abrt/abrt/pull/1076

Comment 2 Matej Habrnal 2015-10-27 12:48:45 UTC
This upstream commit fixes the bug https://github.com/abrt/abrt/commit/74666e99e3d1fd09fd0ddd9fa75387beb3f208ce

Comment 3 Fedora Update System 2015-11-24 09:07:01 UTC
abrt-2.7.1-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2015-79c1758468

Comment 4 Fedora Update System 2015-11-25 02:54:15 UTC
abrt-2.7.1-1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
$ su -c 'dnf --enablerepo=updates-testing update abrt'
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2015-79c1758468

Comment 5 Fedora Update System 2015-11-28 20:22:15 UTC
abrt-2.7.1-1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.


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