Bug 596726 - Error finding block device of /dev/loop-f13-live.dev. Aborting!
Error finding block device of /dev/loop-f13-live.dev. Aborting!
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: livecd-tools (Show other bugs)
13
All Linux
low Severity medium
: ---
: ---
Assigned To: David Huff
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-27 07:55 EDT by Jan Kratochvil
Modified: 2010-08-03 12:21 EDT (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-08-03 12:21:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jan Kratochvil 2010-05-27 07:55:52 EDT
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 12:21:05 EDT
Fixed by:
http://lists.fedoraproject.org/pipermail/livecd/2010-August/006055.html

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

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