Bug 1155860

Summary: [abrt] lorax: mkefiboot:60:macmunge:IndexError: list index out of range
Product: [Fedora] Fedora Reporter: Peter H. Jones <jones.peter.busi>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: anaconda-maint-list, bcl, jones.peter.busi
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/2aae3c3b7fe41e20bc810916744ee92c19c4c62a
Whiteboard: abrt_hash:f912297e23533647c81c7dc3e28ab858f554e8fc
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-23 17:45:31 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: backtrace
none
File: environ none

Description Peter H. Jones 2014-10-23 03:48:48 UTC
Description of problem:
possibly a livecd-creator build

Version-Release number of selected component:
lorax-20.5-1.fc20

Additional info:
reporter:       libreport-2.2.3
cmdline:        /usr/bin/python /usr/sbin/mkefiboot -a /run/media/jones/2tp001data/createlive/temp-xfce-jam/imgcreate-9ivhn6/iso-qUhSVE/EFI/BOOT /run/media/jones/2tp001data/createlive/temp-xfce-jam/imgcreate-9ivhn6/iso-qUhSVE/isolinux/macboot.img -l 'Livecd Xfce' -n /usr/share/pixmaps/bootloader/fedora-media.vol -i /usr/share/pixmaps/bootloader/fedora.icns -p 'Livecd Xfce'
executable:     /usr/sbin/mkefiboot
kernel:         3.16.6-200.fc20.x86_64
runlevel:       N 5
type:           Python
uid:            0

Truncated backtrace:
mkefiboot:60:macmunge:IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/sbin/mkefiboot", line 153, in <module>
    opt.diskname)
  File "/usr/sbin/mkefiboot", line 45, in mkmacboot
    macmunge(outfile, product)
  File "/usr/sbin/mkefiboot", line 60, in macmunge
    shim = glob.glob(os.path.join(mnt, 'EFI/BOOT/BOOT*.efi'))[0]
IndexError: list index out of range

Local variables in innermost frame:
loopdev: '/dev/loop1'
imgfile: '/run/media/jones/2tp001data/createlive/temp-xfce-jam/imgcreate-9ivhn6/iso-qUhSVE/isolinux/macboot.img'
product: 'Livecd Xfce'
mnt: '/tmp/lorax.imgutils.8rzIFI'

Comment 1 Peter H. Jones 2014-10-23 03:48:51 UTC
Created attachment 949633 [details]
File: backtrace

Comment 2 Peter H. Jones 2014-10-23 03:48:52 UTC
Created attachment 949634 [details]
File: environ

Comment 3 Brian Lane 2014-10-23 17:45:31 UTC
You have a mismatch of the versions you are using someplace.

In F20 shim is BOOTX86.efi and in F21 and later it is going to be BOOTX86.EFI so you need to make sure whatever you're running has all the matching parts. This looks like you ran it from the cmdline, not as part of livecd-creator, livemedia-creator or lorax.

Comment 4 Peter H. Jones 2014-10-26 06:39:46 UTC
I now have:
livecd-tools-21.3-1.fc21.x86_64
syslinux-6.03-1.fc21.x86_64
syslinux-nonlinux-6.03-1.fc21.noarch
python-imgcreate-21.3-1.fc21.x86_64
pykickstart-1.99.63-2.fc21.noarch
lorax-21.9-2.fc21.x86_64

on a FC20 system. When I tried to use the FC20 versions of these packages, I get unbootable disk images.