Bug 738602 - Can't save traceback to custom-named file
Summary: Can't save traceback to custom-named file
Alias: None
Product: Fedora
Classification: Fedora
Component: abrt
Version: 16
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Denys Vlasenko
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ABRTF17
TreeView+ depends on / blocked
Reported: 2011-09-15 10:45 UTC by Kamil Páral
Modified: 2011-11-21 22:51 UTC (History)
8 users (show)

Fixed In Version: abrt-2.0.6-1.fc16
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2011-11-21 22:51:40 UTC

Attachments (Terms of Use)
abrt bug (53.62 KB, image/png)
2011-09-15 10:45 UTC, Kamil Páral
no flags Details
save to tmp (27.24 KB, image/png)
2011-09-15 13:16 UTC, Kamil Páral
no flags Details

Description Kamil Páral 2011-09-15 10:45:52 UTC
Created attachment 523341 [details]
abrt bug

Description of problem:
I hit a traceback in anaconda. In abrt I selected Report uploader, put file:///report into URL (or file:///tmp/soubor for the second time), hit OK, abrt failed (see screenshot).

Version-Release number of selected component (if applicable):
Fedora 16 Beta TC2
rpm package not installed (no kidding), I can't find out exact versions

Additional info:

Comment 1 Kamil Páral 2011-09-15 10:48:41 UTC
So, we have this in the list of QA's test cases marked for Alpha milestone, but I can't find relevant release criteria. Proposing as Final blocker.

Comment 2 Jiri Moskovcak 2011-09-15 11:02:38 UTC
This is not a blocker. Saving to the local disk is not a critical feature, you can still copy /tmp/anaconda-tb-* and send it manually. And btw, the example is wrong, the directory has to exist, uploader is just trying to upload the tarball to the given URL.

Comment 3 Kamil Páral 2011-09-15 11:14:50 UTC
With further attempts I found out that saving to file:///tmp works. It clearly expects a (existing) directory, not directory/file. Removing blocker proposal, it kind of works, just not optimally.

Renaming this bug accordingly. Please support file:///directory/file syntax or inform the user that he has to use a different syntax.

Comment 4 Kamil Páral 2011-09-15 12:25:09 UTC
I have found one more problem. When you save to /, it creates a tgz file. When you save to /tmp, it creates a directory full of files. Weird.

Comment 5 Jiri Moskovcak 2011-09-15 12:32:17 UTC
(In reply to comment #4)
> I have found one more problem. When you save to /, it creates a tgz file. When
> you save to /tmp, it creates a directory full of files. Weird.

The dir in /tmp is the original directory created when the bug is found, then it's gzipped and (because you told it so) uploaded to /tmp. So there should be both - dir and tarball. Try to check the timestamps.

Comment 6 Kamil Páral 2011-09-15 13:16:43 UTC
Created attachment 523377 [details]
save to tmp

Nope, gzip is not in /tmp. It seems that it tries to move the file to itself.

Comment 7 Denys Vlasenko 2011-10-25 10:50:09 UTC
Fixed in git:

commit 3ef5d54dfabba7b69352ec85879d0da9daab74ba
Author: Denys Vlasenko <dvlasenk@redhat.com>
Date:   Tue Oct 25 02:17:57 2011 +0200

    reporter-upload: add possibility to specify _file_ part in url

    Work around a problem where we copy file on itself in /tmp
    if url is file:///tmp/.

    Add explanation to --help text, manpage, and add
    examples to GUI config window.

Comment 8 Fedora Update System 2011-11-05 18:58:24 UTC
abrt-2.0.6-1.fc16 has been submitted as an update for Fedora 16.

Comment 9 Fedora Update System 2011-11-06 23:55:44 UTC
Package abrt-2.0.6-1.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.6-1.fc16'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2011-11-21 22:51:40 UTC
abrt-2.0.6-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

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