Bug 841594 - IOError: nothing matching /var/tmp/tmpkWv5sE/usr/share/syslinux/isolinux.bin in /
Summary: IOError: nothing matching /var/tmp/tmpkWv5sE/usr/share/syslinux/isolinux.bin ...
Alias: None
Product: Fedora
Classification: Fedora
Component: lorax
Version: 17
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Brian Lane
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2012-07-19 14:06 UTC by Jan Stodola
Modified: 2012-07-21 00:51 UTC (History)
3 users (show)

Fixed In Version: lorax-18.11-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2012-07-21 00:51:04 UTC
Type: Bug

Attachments (Terms of Use)
livemedia.log (5.43 KB, text/plain)
2012-07-19 14:08 UTC, Jan Stodola
no flags Details
program.log (2.07 KB, text/plain)
2012-07-19 14:09 UTC, Jan Stodola
no flags Details

Description Jan Stodola 2012-07-19 14:06:06 UTC
Description of problem:
See following traceback when running livemedia-creator:

[root@melfina live]# livemedia-creator --make-iso --iso Fedora-17-x86_64-DVD.iso --ks ks.cfg 
2012-07-19 05:46:58,823: disk_size = 4GB
2012-07-19 05:46:58,824: disk_img = /var/tmp/diskF7_iR8.img
2012-07-19 05:46:58,824: install_log = /tmp/live/virt-install.log

Starting install...
Retrieving file .treeinfo...                             | 1.8 kB     00:00 !!! 
Retrieving file vmlinuz...                               | 8.9 MB     00:00 !!! 
Retrieving file initrd.img...                            |  46 MB     00:00 !!! 
Creating storage file diskF7_iR8.img                     | 4.0 GB     00:00     
Creating domain...                                       |    0 B     00:00     
Domain installation still in progress. You can reconnect to 
the console to complete the installation process.
2012-07-19 05:55:54,280: Install finished. Or at least virt shut down.
2012-07-19 05:55:54,298: Shutting down LiveOS-1b95c325-5451-4a56-be2f-6bbbda17251e
error: Failed to destroy domain LiveOS-1b95c325-5451-4a56-be2f-6bbbda17251e
error: Requested operation is not valid: domain is not running

Domain LiveOS-1b95c325-5451-4a56-be2f-6bbbda17251e has been undefined

2012-07-19 05:55:54,833: Disk Image install successful
Partition mounted on /var/tmp/tmpkWv5sE size=4194304000
2012-07-19 05:55:55,040: Partition mounted on /var/tmp/tmpkWv5sE size=4194304000
2012-07-19 05:55:55,041: working dir is /var/tmp/tmpkPrxFO
2012-07-19 05:55:55,153: Creating runtime
mke2fs 1.42.3 (14-May-2012)
Can't stat exclude path "/selinux", No such file or directory - ignoring.
Parallel mksquashfs: Using 4 processors
Creating 4.0 filesystem on /var/tmp/tmpkPrxFO/images/install.img, block size 131072.
[=====================================================================================================/] 6569/6569 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 131072
        compressed data, compressed metadata, compressed fragments, compressed xattrs
        duplicates are removed
Filesystem size 222588.00 Kbytes (217.37 Mbytes)
        26.47% of uncompressed filesystem size (840802.08 Kbytes)
Inode table size 12068 bytes (11.79 Kbytes)
        45.68% of uncompressed inode table size (26420 bytes)
Directory table size 58 bytes (0.06 Kbytes)
        100.00% of uncompressed directory table size (58 bytes)
Xattr table size 53 bytes (0.05 Kbytes)
        100.00% of uncompressed xattr table size (53 bytes)
Number of duplicate files found 0
Number of inodes 3
Number of files 1
Number of fragments 0
Number of symbolic links  0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 2
Number of ids (unique uids + gids) 1
Number of uids 1
        root (0)
Number of gids 1
        root (0)
2012-07-19 05:58:58,780: Rebuilding initrds
2012-07-19 05:58:58,781: dracut args = ['--xz', '--add', 'livenet', '--add', 'dmsquash-live', '--add', 'convertfs', '--omit', 'plymouth']
rebuilding boot/initramfs-3.3.4-5.fc17.x86_64.img
2012-07-19 05:58:58,786: rebuilding boot/initramfs-3.3.4-5.fc17.x86_64.img
E: Dracut module "livenet" cannot be found.
E: Dracut module "livenet" cannot be found.
2012-07-19 05:59:35,901: Building boot.iso
running x86.tmpl
2012-07-19 05:59:36,092: running x86.tmpl
template command error in x86.tmpl:
2012-07-19 05:59:36,627: template command error in x86.tmpl:
  install usr/share/syslinux/isolinux.bin isolinux
2012-07-19 05:59:36,627:   install usr/share/syslinux/isolinux.bin isolinux
  IOError: nothing matching /var/tmp/tmpkWv5sE/usr/share/syslinux/isolinux.bin in /
2012-07-19 05:59:36,649:   IOError: nothing matching /var/tmp/tmpkWv5sE/usr/share/syslinux/isolinux.bin in /
loop deleted : /dev/loop0
Traceback (most recent call last):
  File "/sbin/livemedia-creator", line 802, in <module>
    opts.volid )
  File "/sbin/livemedia-creator", line 522, in make_livecd
  File "/usr/lib/python2.7/site-packages/pylorax/treebuilder.py", line 214, in build
    self._runner.run(templatefile, kernels=self.kernels)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 136, in run
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 155, in _run
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 189, in install
    for src in rglob(self._in(srcglob), fatal=True):
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 94, in rglob
    raise IOError, "nothing matching %s in %s" % (pathname, root)
IOError: nothing matching /var/tmp/tmpkWv5sE/usr/share/syslinux/isolinux.bin in /
[root@melfina live]#

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

How reproducible:

Steps to Reproduce:
1. On F17/x86_64, run following command:
livemedia-creator --make-iso --iso Fedora-17-x86_64-DVD.iso --ks ks.cfg
Actual results:

Expected results:
livemedia-creator finishes without traceback

Comment 3 Jan Stodola 2012-07-19 14:08:54 UTC
Created attachment 599160 [details]

Comment 4 Jan Stodola 2012-07-19 14:09:27 UTC
Created attachment 599161 [details]

Comment 5 Brian Lane 2012-07-19 17:13:06 UTC
You need to have syslinux included in the %package or use a group that includes it (@Base)

Comment 6 Jan Stodola 2012-07-20 08:27:21 UTC
Brian, thanks for the hint with syslinux. Also memtest86+ has to be installed. It would be great if this is documented in README.livemedia-creator:

diff --git a/README.livemedia-creator b/README.livemedia-creator
index 76ae1e0..989db83 100644
--- a/README.livemedia-creator
+++ b/README.livemedia-creator
@@ -108,7 +108,7 @@ passwd -d root > /dev/null
 cat /dev/null > /dev/fstab
 11. Don't delete initramfs files from /boot in %post
-12. Have grub-efi in the package list
+12. Have grub-efi, memtest86+ and syslinux in the package list
 One drawback to using virt-install is that it pulls the packages from
 the repo each time you run it. To speed things up you either need a local

Reopening just to improve documentation.

Comment 7 Jan Stodola 2012-07-20 12:48:38 UTC
grub-efi, memtest86+ and syslinux are required for building live iso media (--make-iso).
Disk image (--make-disk) can be built without these packages.

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