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:


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.