Bug 596726

Summary: Error finding block device of /dev/loop-f13-live.dev. Aborting!
Product: [Fedora] Fedora Reporter: Jan Kratochvil <jan.kratochvil>
Component: livecd-toolsAssignee: David Huff <dhuff>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 13CC: adam.stokes, dhuff, Jasper.Hartline, katzj, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-08-03 16:21:05 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:

Description Jan Kratochvil 2010-05-27 11:55:52 UTC
Description of problem:
There is a condition no longer compatible with F13 bash aborting the operation.

Version-Release number of selected component (if applicable):
livecd-tools-031-1.fc12.1.x86_64
bash-4.1.2-4.fc13.x86_64

How reproducible:
Always.

Steps to Reproduce:
Try to build biarch USB flash using:
http://lists.fedoraproject.org/pipermail/livecd/2010-March/005755.html

Actual results:
Error finding block device of /dev/loop-f13-live.dev.  Aborting!

Expected results:
built image

Additional info:
The condition
    if [[ "$DEV" =~ "/dev/loop*" ]]; then
was already wrong before as the right side is a regex, not a shell wildcard pattern.  Due to the bash change described in Bug 558537 (not a bug) this pattern no longer works with F13 bash.  IMO the correct one is:
    if [[ $DEV =~ ^/dev/loop ]]; then

It still does not work, though:
mount: you must specify the filesystem type
But this will be some different problem for a different Bug.

Comment 1 Jan Kratochvil 2010-08-03 16:21:05 UTC
Fixed by:
http://lists.fedoraproject.org/pipermail/livecd/2010-August/006055.html

Should I continue filing the fixes here when they are being ignored?