Bug 1438578

Summary: The partition name must be 'EFI System Partition'.
Product: [Fedora] Fedora Reporter: Jerry Amundson <jamundso>
Component: livecd-toolsAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 25CC: adam.stokes, bcl, bruno, dhuff, extras-qa, Jasper.Hartline, katzj, ngompa13
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: livecd-tools-24.3-2.fc25 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1437601 Environment:
Last Closed: 2017-04-29 23:21:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1437601    
Bug Blocks:    

Description Jerry Amundson 2017-04-03 20:01:01 UTC
+++ This bug was initially created as a clone of Bug #1437601 +++

Description of problem:
        ALERT:
        The partition name must be 'EFI System Partition'.


Version-Release number of selected component (if applicable):
livecd-tools-24.2-1.fc26.x86_64

How reproducible:
Always

Steps to Reproduce:
1.Disk /dev/sdc: 14.7 GiB, 15812526080 bytes, 30883840 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 906DE484-2584-412F-9F3A-0C7919CA2B3F

Device     Start      End  Sectors  Size Type
/dev/sdc1   8192 30879743 30871552 14.7G EFI System

2./usr/bin/livecd-iso-to-disk --efi --format --noverify --reset-mbr ~jamundson/Downloads/Fedora-LXQt-Live-x86_64-26-20170328.n.0.iso /dev/sdc1
3.

Actual results:
/usr/bin/livecd-iso-to-disk: line 492: : command not found

    WARNING: This will DESTROY All DATA on: /dev/sdc !!

        Press Enter to continue, or Ctrl C to abort.

/dev/sdc: 8 bytes were erased at offset 0x00000200 (gpt): 45 46 49 20 50 41 52 54
/dev/sdc: 8 bytes were erased at offset 0x3ae7ffe00 (gpt): 45 46 49 20 50 41 52 54
/dev/sdc: 2 bytes were erased at offset 0x000001fe (PMBR): 55 aa
/dev/sdc: calling ioctl to re-read partition table: Success
Waiting for devices to settle...
mkfs.fat 4.1 (2017-01-24)

        ALERT:
        The partition name must be 'EFI System Partition'.

        This can be set with a partition editor, such as parted,
        or you can run livecd-iso-to-disk with the --reset-mbr option.

Expected results:
Correctly written USB drive.

Additional info:
Also happened on Fedora 25 before system-upgrade.

--- Additional comment from Jerry Amundson on 2017-03-30 13:20:03 EDT ---

A quick glance tells me line 408, or something before it, is wrong -
    p=${p##$device}
sets p and partnum to empty strings.

Comment 1 Jerry Amundson 2017-04-03 20:03:35 UTC
I've confirmed the issue on 
livecd-tools                  x86_64             1:24.2-1.fc25

I do not see the problem on livecd-tools-23.4-1.fc25.x86_64

Comment 2 Fedora Update System 2017-04-13 02:47:04 UTC
livecd-tools-24.3-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-3c25dd541a

Comment 3 Fedora Update System 2017-04-13 15:20:13 UTC
livecd-tools-24.3-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-3c25dd541a

Comment 4 Fedora Update System 2017-04-29 23:21:49 UTC
livecd-tools-24.3-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.