Red Hat Bugzilla – Bug 738602
Can't save traceback to custom-named file
Last modified: 2011-11-21 17:51:40 EST
Created attachment 523341 [details]
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
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.
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.
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.
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.
(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.
Created attachment 523377 [details]
save to tmp
Nope, gzip is not in /tmp. It seems that it tries to move the file to itself.
Fixed in git:
Author: Denys Vlasenko <email@example.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.
abrt-2.0.6-1.fc16 has been submitted as an update for Fedora 16.
* 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).
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.