Bug 671155

Summary: OSError: [Errno 17] File exists
Product: [Fedora] Fedora Reporter: John Reiser <jreiser>
Component: loraxAssignee: Martin Gracik <mgracik>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: dmach, mgracik
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lorax-0.3-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-21 07:31:02 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 John Reiser 2011-01-20 15:48:57 UTC
Description of problem: pungi run aborts with lorax traceback


Version-Release number of selected component (if applicable):
lorax-0.2-2.fc15
pungi-2.5-1.fc15


How reproducible: every time


Steps to Reproduce:
1. /usr/bin/pungi -c rawhide-fedora.ks --destdir=$DESTDIR --name Fedora --ver 15 --nosource
2.
3.
  
Actual results:

creating depmod.conf
Traceback (most recent call ast):
  File "/usr/bin/pungi", line 214, in <module>
    main()
  File "/usr/bin/pungi", line 120, in main
    mypungi.doBuildinstall()
  File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 793, in doBuildinstall
    workdir=workdir, outputdir=outputdir)
  File "/usr/lib/python2.7/site-packages/pylorax/__init__.py", line 290, in run
    self.installtree.misc_tree_modifcations()
  File "/usr/lib/python2.7/site-packages/pylorax/installtree.py", line 404, in misc_treee_modifications
    os.symlink(target, name)
OSError: [Errno 17] File exists

Expected results: success


Additional info:  *PLEASE* report the relevant path names in such error messages!!  It is an insult to the user to omit such key information from the error.

Comment 1 Martin Gracik 2011-01-21 14:04:21 UTC
Fixed in lorax-0.3-1