Bug 826800

Summary: ABRT unable to generate backtrace properly unless run as root user
Product: [Fedora] Fedora Reporter: Ryan <stealthcipher>
Component: abrtAssignee: Denys Vlasenko <dvlasenk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 17CC: abrt-devel-list, dvlasenk, iprikryl, jmoskovc, kklic, mmilata, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-30 00:56:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ryan 2012-05-31 01:38:42 UTC
Description of problem:

When running abrt, it requires root privelidges to gather information, if not given it can't generate the bug report properly. When opening ABRT, there is no prompt for root credentials, which there should be as it's a requirement

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

ABRT-2.1.0

How reproducible:

very reproducable

Steps to Reproduce:
run Abrt-gui as standard user and attempt to generate a backtrace on a bug, this fails as it cannot gather enough information
  
Actual results:

backtrace generation fails

Expected results:

no failure

Comment 1 Jiri Moskovcak 2012-06-15 08:50:02 UTC
Are you trying to generate a backtrace for a crash which happens in a program running with root privs?

Comment 2 Jiri Moskovcak 2012-06-15 08:54:52 UTC
Sounds like a dupe of #830389

Comment 3 Ryan 2012-06-18 01:55:13 UTC
I will need to investigate further, most of the time they are bugs that come up at boot, and mostly appear to be from services

Comment 4 Denys Vlasenko 2012-06-19 11:49:29 UTC
(In reply to comment #0)
> Steps to Reproduce:
> run Abrt-gui as standard user and attempt to generate a backtrace on a bug,
> this fails as it cannot gather enough information
>   
> Actual results:
> 
> backtrace generation fails

How it fails?
Please sshow the log messages.

Comment 5 Denys Vlasenko 2012-06-19 12:21:40 UTC
Possibly an effect of fork_execv_on_steroids(uid=0) on "stolen" root crash.
Possible solution is to stop changing uid.

Comment 6 Denys Vlasenko 2012-06-25 10:22:17 UTC
Hopefully fixed by this commit:

commit 1ca0fd4e0086991b80856e77eed32f1bd812e5d8
Author: Denys Vlasenko <vda.linux>
Date:   Mon Jun 25 12:20:14 2012 +0200

    Don't setuid/setgid when we run eu-unstrip and gdb

Comment 7 Fedora Update System 2012-08-03 10:27:09 UTC
abrt-2.0.11-1.fc17,libreport-2.0.11-1.fc17,btparser-0.18-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/abrt-2.0.11-1.fc17,libreport-2.0.11-1.fc17,btparser-0.18-2.fc17

Comment 8 Fedora Update System 2012-08-05 21:34:13 UTC
Package abrt-2.0.11-1.fc17, btparser-0.18-2.fc17, libreport-2.0.12-1.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.11-1.fc17 btparser-0.18-2.fc17 libreport-2.0.12-1.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-11529/abrt-2.0.11-1.fc17,libreport-2.0.12-1.fc17,btparser-0.18-2.fc17
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2012-08-09 23:09:28 UTC
Package libreport-2.0.12-2.fc17, abrt-2.0.11-1.fc17, btparser-0.18-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libreport-2.0.12-2.fc17 abrt-2.0.11-1.fc17 btparser-0.18-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-11529/abrt-2.0.11-1.fc17,libreport-2.0.12-2.fc17,btparser-0.18-2.fc17
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2012-08-23 23:27:57 UTC
Package abrt-2.0.12-1.fc17, libreport-2.0.13-1.fc17, btparser-0.18-2.fc17:
* should fix your issue,
* was pushed to the Fedora 17 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.12-1.fc17 libreport-2.0.13-1.fc17 btparser-0.18-2.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-11529/abrt-2.0.12-1.fc17,libreport-2.0.13-1.fc17,btparser-0.18-2.fc17
then log in and leave karma (feedback).

Comment 11 Fedora Update System 2012-08-30 00:56:47 UTC
abrt-2.0.12-1.fc17, libreport-2.0.13-2.fc17, btparser-0.18-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.