Bug 653468 - [RFE] Let's pack ABRT detailed reports
[RFE] Let's pack ABRT detailed reports
Status: CLOSED NEXTRELEASE
Product: Fedora
Classification: Fedora
Component: sos (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Pierre Carrier
Fedora Extras Quality Assurance
:
Depends On: 635706
Blocks:
  Show dependency treegraph
 
Reported: 2010-11-15 10:00 EST by Pierre Carrier
Modified: 2010-11-16 12:36 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 635706
Environment:
Last Closed: 2010-11-15 15:20:12 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Pierre Carrier 2010-11-15 10:00:11 EST
+++ This bug was initially created as a clone of Bug #635706 +++

--- Additional comment from pcarrier@redhat.com on 2010-11-15 00:35:06 GMT ---

On a more general note, I had a look at the various options available.

We could even go further and gather infos+backtraces, with something along the lines of (to be Pythonized):

for ID in $(sqlite3 /var/spool/abrt/abrt-db 'select UUID from abrt_v4')
do
  abrt-cli -ib $ID
done

I don't have a strong opinion for or against it, and would be happy to get feedback on that.


Cheers,

-- 
Pierre

--- Additional comment from pcarrier@redhat.com on 2010-11-15 00:42:51 GMT ---

Elements if we want to go further with the idea from my comment 4:

1) abrt-cli doesn't offer any clean way to list the UUID unless we want to parse the 'abrt -lf' output

2) No Python for the sqlite3 request as far as I'm concerned, as Red Hat doesn't ship Python support for sqlite3 in RHEL6;

3) However it seems safe to rely on /usr/bin/sqlite3 in this plugin.
Ran under RHEL6:
# rpm -q --requires abrt|grep sql;rpm -qf /usr/lib64/libsqlite3.so.0; rpm -qf /usr/bin/sqlite3
libsqlite3.so.0()(64bit)
sqlite-3.6.20-1.el6.x86_64
sqlite-3.6.20-1.el6.x86_64

-- 
Pierre
Comment 1 Pierre Carrier 2010-11-15 15:20:12 EST
Provided through https://fedorahosted.org/sos/changeset/1000 (disabled by default)
Comment 2 Pierre Carrier 2010-11-15 15:47:20 EST
And let's remember to make sure we never enter a crazy loop with /usr/lib64/abrt/libSOSreport.so (though we should spot it fast enough :))

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