Bug 707959

Summary: abrt includes invalid files in report
Product: [Fedora] Fedora Reporter: Yann Droneaud <yann>
Component: libreportAssignee: Denys Vlasenko <dvlasenk>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 15CC: anton, dvlasenk, iprikryl, jmoskovc, kklic, mlichvar, mtoman, npajkovs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: abrt-2.0.7-2.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-16 19:55:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Yann Droneaud 2011-05-26 12:29:37 UTC
Description of problem:

when uploading report to bugzilla, abrt seems to send all files found in the report directory. Even "backup" file produced by gedit.

Steps to Reproduce:
1. Open abrt gui and proceed to report a crash on bugzilla
2. At the last step, before uploading a report, double-click on a row, for example, the one for "environ"
3. gedit start, modify the file, save.
4. Send the report.

Other method
1. In a crash report directory, add a file with some text
2. In abrt, upload the corresponding crash report

  
Actual results:

The content of the file environ~ is shown in a newly bug report.
The content of the other file is shown in the bug report.

Expected results:

Only known files must be uploaded by abrt.


Additional info:

See for example bug 707953
- the "message" line was part of the file "message" added to the report,
- environ~ content is uploaded : the content of the environ file was cleared on purpose, but still wrongly uploaded as part of the report.

Comment 1 Denys Vlasenko 2011-07-19 08:22:55 UTC
Fixed in git:

commit e4cc4a2a0dfdf644613861e6bd922152a67bf3b8
Author: Denys Vlasenko <dvlasenk>
Date:   Tue Jul 19 10:21:49 2011 +0200

    Ignore files which seem to be editor backups

Comment 2 Fedora Update System 2011-12-10 11:07:53 UTC
abrt-2.0.7-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/abrt-2.0.7-2.fc16

Comment 3 Fedora Update System 2011-12-11 21:59:16 UTC
Package abrt-2.0.7-2.fc16, libreport-2.0.8-3.fc16:
* should fix your issue,
* was pushed to the Fedora 16 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.7-2.fc16 libreport-2.0.8-3.fc16'
as soon as you are able to, then reboot.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16990/libreport-2.0.8-3.fc16,abrt-2.0.7-2.fc16
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2011-12-16 19:55:42 UTC
abrt-2.0.7-2.fc16, libreport-2.0.8-3.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.