[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#761959: marked as done (debian-installer: iso-scan fails if root directory contains directories with spaces)



Your message dated Wed, 17 Sep 2014 14:32:45 +0200
with message-id <20140917123245.GB2754@mraw.org>
and subject line Re: Bug#761959: debian-installer: iso-scan fails if root directory contains directories with spaces
has caused the Debian Bug report #761959,
regarding debian-installer: iso-scan fails if root directory contains directories with spaces
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
761959: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=761959
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: debian-installer
Version: 20140802
Severity: normal
Tags: d-i

The iso-scan step contains a loop that goes through all directories in a
partition.  Line 165 contains this command:

  find $dir $opt -name "*.iso" -o -name "*.ISO"

Bacause the $dir argument is not quoted, a directory name with spaces in
it gets passed as multiple arguments.  Most likely the individual words do
not exist as files or directories, so the find command returns with an
error and causes the entire script to terminate.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.14.2-core2 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

--- End Message ---
--- Begin Message ---
Mikko Rasa <tdb@tdb.fi> (2014-09-17):
> Package: debian-installer
> Version: 20140802
> Severity: normal
> Tags: d-i
> 
> The iso-scan step contains a loop that goes through all directories in a
> partition.  Line 165 contains this command:
> 
>   find $dir $opt -name "*.iso" -o -name "*.ISO"
> 
> Bacause the $dir argument is not quoted, a directory name with spaces in
> it gets passed as multiple arguments.  Most likely the individual words do
> not exist as files or directories, so the find command returns with an
> error and causes the entire script to terminate.

Hi,

and thanks for the report.

This has been fixed in:
  https://packages.qa.debian.org/i/iso-scan/news/20140825T030528Z.html

and the fixed package will be used whenever debian-installer is rebuilt
against it (probably a matter of days, maybe weeks if some delays
happen). I'm therefore closing this bug report for now since the root
cause has been fixed.

Mraw,
KiBi.

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: