Bug 861547

Summary: [abrt] livecd-tools-18.11-1.fc18: creator.py:527:mount:OSError: [Errno 17] File exists
Product: [Fedora] Fedora Reporter: Naresh Sukhija <nareshsukhija>
Component: livecd-toolsAssignee: Brian Lane <bcl>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: adam.stokes, bcl, bruno, dhuff, Jasper.Hartline, katzj
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:3ca449967a8808a7569d4568e1911a2043bfe399
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-19 18:43:55 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:
Attachments:
Description Flags
File: core_backtrace none

Description Naresh Sukhija 2012-09-29 06:18:32 UTC
Description of problem:
Creating custom Live CD with -b option does not work

Version-Release number of selected component:
livecd-tools-18.11-1.fc18

Additional info:
libreport version: 2.0.12
abrt_version:   2.0.11
cmdline:        /usr/bin/python -tt /bin/livecd-creator -t /mnt/var/tmp -c /home/naresh/livecd-F18-Custom.ks -f F18-CUSTOM -b F18-CUSTOMv1.iso --cache=/mnt/var/tmp
kernel:         3.6.0-0.rc6.git0.2.fc18.x86_64

backtrace:
:creator.py:527:mount:OSError: [Errno 17] File exists
:
:Traceback (most recent call last):
:  File "/bin/livecd-creator", line 226, in <module>
:    sys.exit(main())
:  File "/bin/livecd-creator", line 208, in main
:    creator.mount(options.base_on, options.cachedir)
:  File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 527, in mount
:    os.symlink("/proc/self/mounts", self._instroot + "/etc/mtab")
:OSError: [Errno 17] File exists
:
:Local variables in innermost frame:
:cachesrc: '/mnt/var/tmp'
:d: '/proc'
:f: '/mnt/var/tmp'
:dest: '/var/cache/yum'
:base_on: 'F18-CUSTOMv1.iso'
:cachedir: '/mnt/var/tmp'
:self: <imgcreate.live.x86LiveImageCreator object at 0x20c23d0>

Comment 1 Naresh Sukhija 2012-09-29 06:18:37 UTC
Created attachment 618862 [details]
File: core_backtrace

Comment 2 Brian Lane 2013-12-19 18:43:55 UTC
The -b option really isn't being maintained, given how easy it is to just spin up a new iso.