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

Bug#648861: marked as done (handle spaces in hdd labels)



Your message dated Fri, 15 Feb 2013 11:47:38 +0000
with message-id <E1U6JlS-0003aX-1V@franck.debian.org>
and subject line Bug#648861: fixed in live-build 4.0~a11-1
has caused the Debian Bug report #648861,
regarding handle spaces in hdd labels
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.)


-- 
648861: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648861
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-build
Version: 3.0~a38-1
Severity: normal

When using a space in the label name for a hdd image, the build fails. The problem is that it tries to run

Chroot chroot "mkfs.${MKFS} ${MKFS_OPTIONS} ${FREELO}"

with

MKFS_OPTIONS="... -n ${LB_HDD_LABEL}"

This fails because only the first word is considered the label, so the second word is the file it tries to mkfs on.

I tried to fix this by adding (single) quotes to the assignment of MKFS_OPTIONS in /usr/share/live/build/scripts/build/lb_binary_hdd, but the quotes ended up in the label name (first word, including the opening quote, was the label, next word, including the closing quote, was the "device"). So a bit more is required to fix it.

The error is very confusing and doesn't point at the problem at all. A quick improvement in case a real fix is too hard, would be to make lb config complain about the space.

Thanks,
Bas Wijnen



--- End Message ---
--- Begin Message ---
Source: live-build
Source-Version: 4.0~a11-1

We believe that the bug you reported is fixed in the latest version of
live-build, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 648861@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Daniel Baumann <daniel@debian.org> (supplier of updated live-build package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Fri, 15 Feb 2013 12:39:09 +0100
Source: live-build
Binary: live-build live-build-cgi
Architecture: source all
Version: 4.0~a11-1
Distribution: experimental
Urgency: low
Maintainer: Debian Live Project <debian-live@lists.debian.org>
Changed-By: Daniel Baumann <daniel@debian.org>
Description: 
 live-build - Live System Build Scripts
 live-build-cgi - Live System Build Scripts (CGI frontend)
Closes: 647607 648861
Changes: 
 live-build (4.0~a11-1) experimental; urgency=low
 .
   * Allowing to use parted its automatic offset handling at the beginning
     of a disk, rather than to harcode it to first block (Closes: #647607).
   * Aborting with error if hdd label has a whitespace (Closes: #648861).
   * Dropping sparc bootloader support (silo), there is nobody actively
     maintaining this in live-build.
   * Dropping powerpc bootloader support (yaboot), there is nobody actively
     maintaining this in live-build.
Checksums-Sha1: 
 c13be3d0a9a2dd40b2e345f2fd69696c9d4b53e8 1329 live-build_4.0~a11-1.dsc
 a0821081972148ddfd47f25a3b162d45dc197151 160440 live-build_4.0~a11.orig.tar.xz
 89f5cc627fbf65186d9a29a92b09cc8af62a0df6 52416 live-build_4.0~a11-1.debian.tar.xz
 054cecc1a19309adb8b534e3c323f389ee8fb737 196966 live-build_4.0~a11-1_all.deb
 0d788d3dd27b164276a622c4e924edf241c0036c 77404 live-build-cgi_4.0~a11-1_all.deb
Checksums-Sha256: 
 565175c998c6db9b5f7b46a0743592a035ebd4837200d13b38928ff5ae99b073 1329 live-build_4.0~a11-1.dsc
 9a513ebc1d154f9d72c452157bc4ec7ef0db959f785a62cb5d8973a2e878a346 160440 live-build_4.0~a11.orig.tar.xz
 ae7d7dbc5101dca74a85b34794a11dddc79a11684fa5fd6d1ec54852e8ae0b55 52416 live-build_4.0~a11-1.debian.tar.xz
 5ac7728d1147a49e3d543eb2fffa5979de4b4d6adfedef6db59a416a722fb925 196966 live-build_4.0~a11-1_all.deb
 53e4a13b9b2d5ea207d77d67d31563eb6496036cc140b8d23d897f21662df6a9 77404 live-build-cgi_4.0~a11-1_all.deb
Files: 
 5eb5e50fde4cb4f0690a84f7d6848654 1329 misc optional live-build_4.0~a11-1.dsc
 a02b00139cb925230d383785b4a97512 160440 misc optional live-build_4.0~a11.orig.tar.xz
 1b9409ee3f723989de1c8bb740f5f168 52416 misc optional live-build_4.0~a11-1.debian.tar.xz
 046f3e13be2c6b25fb11df73cbbc366c 196966 misc optional live-build_4.0~a11-1_all.deb
 4e8cdc3d0ff6d1f6c415f39119bf8a7d 77404 misc optional live-build-cgi_4.0~a11-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlEeHsYACgkQ+C5cwEsrK573CACgiTha2uSlJa3RjTGZbjrk7iO3
6gMAn0oEWJyiwH8R5NGLEyPQ2OGYXJ72
=tAGU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: