Bug 752014 - stop of abrtd does not restore /proc/sys/kernel/core_pattern
Summary: stop of abrtd does not restore /proc/sys/kernel/core_pattern
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 16
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ABRTF17
TreeView+ depends on / blocked
 
Reported: 2011-11-08 10:40 UTC by Jan Kratochvil
Modified: 2011-12-16 19:52 UTC (History)
7 users (show)

Fixed In Version: abrt-2.0.7-2.fc16
Clone Of:
Environment:
Last Closed: 2011-12-16 19:52:46 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jan Kratochvil 2011-11-08 10:40:54 UTC
Description of problem:
Due to various bugs in ABRT one may need to stop it.  But one would need to restart PC afterwards.

Version-Release number of selected component (if applicable):
abrt-2.0.6-1.fc16.x86_64

How reproducible:
Tried once.

Steps to Reproduce:
systemctl disable abrtd.service
systemctl stop abrtd.service
cat /proc/sys/kernel/core_pattern

Actual results:
|/usr/libexec/abrt-hook-ccpp %s %c %p %u %g %t e

Expected results:
core

Additional info:
(ulimit -c unlimited;sleep 1h&p=$!;sleep 1;kill -SEGV $p)
->
abrt[20993]: Can't cd to '(null)'
abrt[20993]: abrtd is not running. If it crashed, /proc/sys/kernel/core_pattern contains a stale value, consider resetting it to 'core'

Comment 1 Jiri Moskovcak 2011-11-08 11:19:00 UTC
The command you're looking for is:

$ service abrt-ccpp stop 

- but I agree the behaviour with disabled abrtd is not correct either

Comment 2 Miroslav Lichvar 2011-11-10 17:23:06 UTC
Upstream commit 28f539d9e98e3122d444c5004b388ff0004bcf3b

Comment 3 Fedora Update System 2011-12-10 11:05:09 UTC
abrt-2.0.7-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/abrt-2.0.7-2.fc16

Comment 4 Fedora Update System 2011-12-11 21:56:44 UTC
Package abrt-2.0.7-2.fc16, libreport-2.0.8-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing abrt-2.0.7-2.fc16 libreport-2.0.8-3.fc16'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16990/libreport-2.0.8-3.fc16,abrt-2.0.7-2.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-12-16 19:52:46 UTC
abrt-2.0.7-2.fc16, libreport-2.0.8-3.fc16 has been pushed to the Fedora 16 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.