Bug 1140988 - [abrt] livecd-tools: creator.py:529:mount:OSError: [Errno 17] File exists
Summary: [abrt] livecd-tools: creator.py:529:mount:OSError: [Errno 17] File exists
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: livecd-tools
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:4b650959b38d8989c941ac951d8...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-12 07:48 UTC by Peter H. Jones
Modified: 2015-02-27 23:54 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-27 23:53:15 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (806 bytes, text/plain)
2014-09-12 07:48 UTC, Peter H. Jones
no flags Details
File: environ (1.48 KB, text/plain)
2014-09-12 07:48 UTC, Peter H. Jones
no flags Details

Description Peter H. Jones 2014-09-12 07:48:09 UTC
Description of problem:
Trying to run livecd-creator with -b option added. It would be nice to know what file should not exist.

Version-Release number of selected component:
livecd-tools-21.2-4.fc21

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python -tt /usr/bin/livecd-creator -v -b livecd-xfce-jam-201409111144.iso -l -t temp- -dvc xfce-jam.ks
dso_list:       python-imgcreate-21.2-4.fc21.x86_64
executable:     /usr/bin/livecd-creator
kernel:         3.16.2-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
creator.py:529:mount:OSError: [Errno 17] File exists

Traceback (most recent call last):
  File "/usr/bin/livecd-creator", line 235, in <module>
    sys.exit(main())
  File "/usr/bin/livecd-creator", line 210, in main
    creator.mount(options.base_on, options.cachedir)
  File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 529, in mount
    os.symlink("/proc/self/mounts", self._instroot + "/etc/mtab")
OSError: [Errno 17] File exists

Local variables in innermost frame:
cachesrc: '/run/media/jones/2tp001data/createlive/temp-/imgcreate-0YR8PD/yum-cache'
d: '/proc'
f: '/run/media/jones/2tp001data/createlive/temp-/imgcreate-0YR8PD/yum-cache'
dest: '/var/cache/yum'
base_on: 'livecd-xfce-jam-201409111144.iso'
cachedir: None
self: <imgcreate.live.x86LiveImageCreator object at 0x167a110>

Comment 1 Peter H. Jones 2014-09-12 07:48:12 UTC
Created attachment 936770 [details]
File: backtrace

Comment 2 Peter H. Jones 2014-09-12 07:48:12 UTC
Created attachment 936771 [details]
File: environ

Comment 3 Brian Lane 2015-02-16 18:58:57 UTC
/etc/mtab in the instroot exists.

Is the -b option actually useful? It seems better to just rebuild the whole thing instead of trying to tweak an existing .iso

Comment 4 Brian Lane 2015-02-27 23:53:15 UTC
You should use the one from livecd-tools for rhel6, either from the package or from the git branch:

https://github.com/rhinstaller/livecd-tools/tree/rhel6-branch

Comment 5 Brian Lane 2015-02-27 23:54:41 UTC
sigh. pasted that into the totally wrong bug. sorry for the noise.


Note You need to log in before you can comment on or make changes to this bug.