Description of problem: When trying to use the --base-on option to livecd-creator an exception is raised during the cleanup phase. It appears that the install_root is being unmounted before the initrd is copied out of the root. Version-Release number of selected component (if applicable): livecd-tools-14.2-1.fc14.x86_64 How reproducible: Every time Steps to Reproduce: 1. Install livecd-tools 2. Build a Fedora 14 Live CD/DVD 3. Change kickstart file to add another package, or just use an old ISO that has to be updated and use the --base-on option to point to the ISO image created in step 2 4. Watch exception happen Actual results: Removing password for user root. passwd: Success Unmounting directory /var/tmp/imgcreate-2hgvzP/install_root Losetup remove /dev/loop2 Traceback (most recent call last): File "/usr/bin/livecd-creator", line 156, in <module> sys.exit(main()) File "/usr/bin/livecd-creator", line 137, in main creator.configure() File "/usr/lib/python2.7/site-packages/imgcreate/creator.py", line 745, in configure self._create_bootconfig() File "/usr/lib/python2.7/site-packages/imgcreate/live.py", line 205, in _create_bootconfig self._configure_bootloader(self.__ensure_isodir()) File "/usr/lib/python2.7/site-packages/imgcreate/live.py", line 684, in _configure_bootloader self._configure_syslinux_bootloader(isodir) File "/usr/lib/python2.7/site-packages/imgcreate/live.py", line 584, in _configure_syslinux_bootloader cfg += self.__get_image_stanzas(isodir) File "/usr/lib/python2.7/site-packages/imgcreate/live.py", line 483, in __get_image_stanzas (is_xen, isDracut) = self.__copy_kernel_and_initramfs(isodir, version, index) File "/usr/lib/python2.7/site-packages/imgcreate/live.py", line 405, in __copy_kernel_and_initramfs isodir + "/isolinux/initrd" + index + ".img") File "/usr/lib64/python2.7/shutil.py", line 81, in copyfile with open(src, 'rb') as fsrc: IOError: [Errno 2] No such file or directory: '/var/tmp/imgcreate-2hgvzP/install_root/boot/initrd-2.6.35.11-83.fc14.i686.img' Expected results: A new Live CD/DVD ISO image should be created. Additional info: I've been trying to work on debugging the issue but haven't been successful so far. I'll keep attempting to resolve and submit a patch, but I wanted to open the bug as I work the issue.
Please take this comment with a grain of salt, as I am a VERY novice python coder (and I use the term 'coder' very loosely). Another note - it appears as if creator.configure() is either running asynchronously or is being called twice because the Traceback in the Description starts in creator.configure(), however, __instloop.cleanup has already be called and executed according to some tracing logging.info lines I added to creator.py and /usr/bin/livecd-creator Am I missing something obvious here?
I can't reproduce this with f15 -- I suspect it may have something to do with the repo changing, or whatever the differences were between the kickstart files you used. Can you post them here?
scratch that. I did duplicate it. It looks like something is removing the initrd file during the initial iso creation. The code is supposed to copy it, not move, so I'm not sure what is removing it yet.
*** Bug 704450 has been marked as a duplicate of this bug. ***
I need to back-port my fix for this to f14 from commit 8041f10645981473d111f9295f0d49d4a43e9327
This message is a notice that Fedora 14 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 14. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At this time, all open bugs with a Fedora 'version' of '14' have been closed as WONTFIX. (Please note: Our normal process is to give advanced warning of this occurring, but we forgot to do that. A thousand apologies.) Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, feel free to reopen this bug and simply change the 'version' to a later Fedora version. Bug Reporter: Thank you for reporting this issue and we are sorry that we were unable to fix it before Fedora 14 reached end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged to click on "Clone This Bug" (top right of this page) and open it against that version of Fedora. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping