Bug 336901

Summary: File exists: '/data/Fedora8/8/i386/iso'
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: pungiAssignee: David Cantrell <dcantrell>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-11-15 20:57:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Reiser 2007-10-18 00:34:22 UTC
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.
3.
  
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.


Additional info:

Comment 1 Jesse Keating 2007-11-15 20:57:23 UTC
This is tracked by https://hosted.fedoraproject.org/projects/pungi/ticket/46