Crash on folder name with spaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
iso-scan (Debian) |
Fix Released
|
Unknown
|
|||
iso-scan (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When installing oneiric alpha 3 with the hd-media image, the iso-scan udeb is searching for an iso on a disk but if a folder name contains spaces, (ie: Documents and Settings) an error occurs and the search stops.
my setup:
booting from usb disk /dev/sdb1 on system with one local disk and one usb disk
/dev/sda1 (Win 7)
/dev/sda2 (/boot)
/dev/sda3 (lvm)
/dev/sda4 (lvm)
/dev/sdb1 (install image with preseed)
I am not sure of the correct way to fix this but I find that changing line number 162 of the var/lib/
from
isolist=$(find $dir $opt -name "*.iso" -o -name "*.ISO" 2>/dev/null)
to
isolist=$(find "$dir" $opt -name "*.iso" -o -name "*.ISO" 2>/dev/null)
fixes the problem on my system
The installer boot image I am using is from
archive.
and as of today, the udeb.list file says that the package version of iso-scan is 1.35ubuntu1
Note that this is my first bug report so I am not sure how to create a proper patch attachment
Thanks, Sylvain
Changed in iso-scan (Debian): | |
status: | Unknown → New |
Changed in iso-scan (Debian): | |
status: | New → Fix Released |
Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!
To create a patch look here[1] or you can always use diff -u. However I don't know where you should apply the patch. I took a look at debian's iso-scan and seems to me it also suffers from similar unquoted $dir's. /wiki.ubuntu. com/PackagingGu ide/Complete# Authoring_ a_patch
[1]: https:/