Bug 354301

Summary: failure if work/i386/docs exists
Product: [Fedora] Fedora Reporter: Thomas Fitzsimmons <fitzsim>
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:35:40 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 Thomas Fitzsimmons 2007-10-26 15:37:38 UTC
Description of problem:

Traceback (most recent call last):
  File "/usr/bin/pungi", line 178, in <module>
    main()
  File "/usr/bin/pungi", line 82, in main
    mypungi.doGetRelnotes()
  File "/usr/lib/python2.5/site-packages/pypungi/pungi.py", line 181, in
doGetRelnotes
    os.makedirs(docsdir)
  File "/usr/lib/python2.5/os.py", line 172, in makedirs
    mkdir(name, mode)
OSError: [Errno 17] File exists: '/root/work/i386/docs'

Version-Release number of selected component (if applicable):

pungi-1.1.7-1.fc8

Steps to Reproduce:
1. create work/i386/docs in a directory
2. run in that directory: pungi -c /usr/share/pungi/f8-fedora.ks --nosource

pungi should either not treat a preexisting directory as an error or exit on
startup if the directory exists.

Comment 1 Thomas Fitzsimmons 2007-10-26 15:39:29 UTC
Log line just before the traceback:

Pungi.Pungi:INFO: Running /usr/lib/anaconda-runtime/buildinstall --product
Fedora --version 20071025 --release Fedora 20071025 --prodpath Packages --bugurl
http://bugzilla.redhat.com /root/20071025/i386/os


Comment 2 Jesse Keating 2007-11-15 20:35:40 UTC
This is being tracked as https://hosted.fedoraproject.org/projects/pungi/ticket/46