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 677041 - collect /etc/redhat-release
Summary: collect /etc/redhat-release
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: abrt
Version: 6.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Nikola Pajkovsky
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On: 697494
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-02-12 20:14 UTC by Andrew Hecox
Modified: 2014-02-02 22:15 UTC (History)
7 users (show)

Fixed In Version: abrt-1.1.15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-05-31 12:20:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrew Hecox 2011-02-12 20:14:25 UTC
the sos reports we're receiving from ABRT do not include /etc/redhat-release. While we're able to extract that from content.xml, it'll be easier for us to do data mining if it's included in the sos report.

Comment 3 Nikola Pajkovsky 2011-05-31 12:20:23 UTC
/etc/redhat-release is grabbed by "general" plugin, which is enabled since abrt-1.1.15

commit 121030c7c5776208ec268731575f241fda2b13cb
Author: Nikola Pajkovsky <npajkovs>
Date:   Tue Jan 4 17:42:05 2011 +0100

    665405 - ABRT's usage of sos does not grab /var/log/messages
    
    add  --only=general --only=x11
    
    Signed-off-by: Nikola Pajkovsky <npajkovs>

diff --git a/lib/Plugins/SOSreport.cpp b/lib/Plugins/SOSreport.cpp
index 6c8ab1f..14b4cad 100644
--- a/lib/Plugins/SOSreport.cpp
+++ b/lib/Plugins/SOSreport.cpp
@@ -69,7 +69,7 @@ void CActionSOSreport::Run(const char *pActionDir, const char *pArgs, int force)
         " --only=devicemapper --only=filesys --only=hardware --only=kernel"
         " --only=libraries --only=memory --only=networking --only=nfsserver"
         " --only=pam --only=process --only=rpm -k rpm.rpmva=off --only=ssh"
-        " --only=startup --only=yum 2>&1;"
+        " --only=startup --only=yum --only=general --only=x11 2>&1;"
         "rm sosreport*.md5 2>/dev/null;"
         "mv sosreport*.tar.bz2 sosreport.tar.bz2 2>/dev/null;"
         "mv sosreport*.tar.xz  sosreport.tar.xz  2>/dev/null;"


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