RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 589147 - abrtd has insufficient privileges for saving sosreport
Summary: abrtd has insufficient privileges for saving sosreport
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: abrt
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Denys Vlasenko
QA Contact: Michal Nowak
URL:
Whiteboard:
Depends On: 598978
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-05-05 14:06 UTC by Matthias Schroder
Modified: 2013-03-08 02:09 UTC (History)
9 users (show)

Fixed In Version: abrt-1.1.6-1.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-11-10 19:32:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Proposed patch (2.51 KB, patch)
2010-06-10 12:31 UTC, Denys Vlasenko
no flags Details | Diff

Description Matthias Schroder 2010-05-05 14:06:59 UTC
Description of problem: from /var/log/messages: 

abrtd: Can't open '/tmp/sosreport-thisnode-20100504103349-c00f.tar.bz2': Permission denied
abrtd: Activation of plugin 'SOSreport' was not successful: Can't copy '/tmp/sosreport-thisnode-20100504103349-c00f.tar.bz2' to '/var/cache/abrt/kerneloops-1272962001-1/sosreport.tar.bz2'
Version-Release number of selected component (if applicable):

How reproducible: ?


Steps to Reproduce: 
1. produce kerneloops (e.g. with help of #574570)
2. reboot the machine
3. read /var/log/messages
  
Actual results: frustrated abrtd


Expected results: happy abrtd


Additional info: 
[root@thisnode ~]# ls -l /tmp/sosreport--201005041*
-rw-------. 1 root root 198155 May  4 10:33 /tmp/sosreport-thisnode-20100504103349-c00f.tar.bz2
-rw-r--r--. 1 root root     33 May  4 10:33 /tmp/sosreport-thisnode-20100504103349-c00f.tar.bz2.md5
-rw-------. 1 root root 217481 May  4 16:52 /tmp/sosreport-thisnode-20100504165249-1dba.tar.bz2
-rw-r--r--. 1 root root     33 May  4 16:52 /tmp/sosreport-thisnode-20100504165249-1dba.tar.bz2.md5
[root@ ~]#

Comment 2 RHEL Program Management 2010-05-05 16:14:37 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release.  Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release.  This request is not yet committed for
inclusion.

Comment 3 Denys Vlasenko 2010-06-02 13:28:48 UTC
Created a bug against sosreport:

bug 598978 "RFE: provide a way to specify destination filename"

Comment 4 Denys Vlasenko 2010-06-10 12:31:07 UTC
Created attachment 422888 [details]
Proposed patch

The patch uses "sosreport --tmp-dir DUMPDIR" to avoid /tmp access problem.

However, this patch requires fixed sosreport first (bug 598978).

Comment 5 Denys Vlasenko 2010-06-14 19:07:24 UTC
Slightly modified patch is applied to git, will be in the next abrt build (abrt-1.1.6)

Comment 8 releng-rhel@redhat.com 2010-11-10 19:32:56 UTC
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.


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