Red Hat Bugzilla – Bug 336901
File exists: '/data/Fedora8/8/i386/iso'
Last modified: 2013-01-09 20:42:19 EST
Description of problem: Pungi is clumsy about state from run-to-run. In
particular, pungi aborts if destination files to be created already exsit.
However, the abort happens after much work, and not near the beginning of a run.
The documentation is also unclear about which specific files suffer this fate.
The word 'empty' [as in, "the destination directory must be empty"] does not
appear in the manual page. Instead, pungi should just believe the filesystem
permissions; or, check each file at the beginning of the run so as not to waste
so much effort before giving up.
Version-Release number of selected component (if applicable): pungi-1.1.5-1.fc8
How reproducible: always
Steps to Reproduce:
1. run pungi successfully.
2. re-run the same pungi command, without doing anything else.
Actual results: OSError: [Errno 17] File exists: '/data/Fedora8/8/i386/iso'
Expected results: no complaint as long as file creation succeeds by the usual
rules of Linux and the filesystem permission bits.
This is tracked by https://hosted.fedoraproject.org/projects/pungi/ticket/46