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

Bug#607108: marked as done (live-build: lukshome script broken on modern systems)



Your message dated Tue, 11 Jan 2011 13:03:07 +0000
with message-id <E1PcdsR-0001GS-BW@franck.debian.org>
and subject line Bug#607108: fixed in live-build 3.0~a11-1
has caused the Debian Bug report #607108,
regarding live-build: lukshome script broken on modern systems
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.)


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

/lib/udev/vol_id doesn't exist anymore, but this works:


--- /usr/share/live/build/examples/hooks/all_chroot_losetup-lukshome.sh	2010-12-06 06:05:40.000000000 -0500
+++ config/chroot_local-hooks/all_chroot_losetup-lukshome.sh	2010-12-14 10:26:24.000000000 -0500
@@ -333,27 +333,7 @@
 	esac
 done
 
-# search for a partition labeled "lukshome" or $LUKSPART
-for sysblock in $(echo /sys/block/* | tr ' ' '\n' | grep -v loop | grep -v ram | grep -v fd)
-do
-	for dev in $(subdevices "${sysblock}")
-	do
-		devname=$(sys2dev "${dev}")
-		# find partition name and filesystem type
-		if [ "$(/lib/udev/vol_id -l ${devname} 2>/dev/null)" = "${LUKSPART}" ]
-		then
-			# found one partition with correct label
-			CRYPTHOME="${devname}"
-			# don't search further
-			break
-		fi
-	done
-	# if already found, don't search further
-	if [ -n "${CRYPTHOME}" ]
-	then
-		break
-	fi
-done
+CRYPTHOME=$(/sbin/blkid -L ${LUKSPART})
 
 # if no partition found, exit
 if [ -z "${CRYPTHOME}" ]



--- End Message ---
--- Begin Message ---
Source: live-build
Source-Version: 3.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:

live-build-cgi_3.0~a11-1_all.deb
  to main/l/live-build/live-build-cgi_3.0~a11-1_all.deb
live-build_3.0~a11-1.debian.tar.gz
  to main/l/live-build/live-build_3.0~a11-1.debian.tar.gz
live-build_3.0~a11-1.dsc
  to main/l/live-build/live-build_3.0~a11-1.dsc
live-build_3.0~a11-1_all.deb
  to main/l/live-build/live-build_3.0~a11-1_all.deb
live-build_3.0~a11.orig.tar.gz
  to main/l/live-build/live-build_3.0~a11.orig.tar.gz



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 607108@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: Tue, 11 Jan 2011 13:42:17 +0100
Source: live-build
Binary: live-build live-build-cgi
Architecture: source all
Version: 3.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 - Debian Live - System Build Scripts
 live-build-cgi - Debian Live - System Build Scripts (cgi frontend)
Closes: 607108 608477 608566
Changes: 
 live-build (3.0~a11-1) experimental; urgency=low
 .
   * Disabling inclusion of GUI installer images on ubuntu.
   * Updating losetup-lukshome example hook to use blkid where available,
     thanks to Clint Adams <clint@gnu.org> (Closes: #607108).
   * Removing --apt-pdiff option, this doesn't belong into live-build in
     the first place.
   * Removing some more lenny-only stuff.
   * Simplyfing defaults function a bit.
   * Correcting outdated program variable.
   * Updating help function in lb for live-build.
   * Updating man function for newer live-build versions (Closes:
     #608477).
   * Removing xresprobe from standard-x11 list (Closes: #608566).
   * Generalizing compression handling and adding support for lzip
     tarballs.
   * Adding initial defaults for progress.
   * Removing encryption support until we have something for current
     kernels again.
   * Removing lb_chroot_sysvinit in favour of a hook, which is the
     appropriate way to handle this.
   * Removing legacy support for live-initramfs.
   * Correcting typo in compression defaults.
   * Removing unused debian-release mode.
   * Updating some defaults for progress.
   * Adding derivatives handling for progress.
   * Updating apt indices defaults for progress.
   * Shortening iso volume default for progress.
   * Correcting compression handling for tarballs.
   * Updating parent distribution defaults for progress.
   * Correcting typo in lzip default options.
   * Updating compression defaults for progress.
Checksums-Sha1: 
 2353aaaab2615a226f3d41244acd9ff80bca0e04 1282 live-build_3.0~a11-1.dsc
 ac9fdce03b434e42bf71514c188a009d57758163 1932129 live-build_3.0~a11.orig.tar.gz
 a3e5247055d11cae8ec93269ad2d38a50abb3707 38443 live-build_3.0~a11-1.debian.tar.gz
 3d2f2a5914af36403a93f0e996c71ddfa6f84935 1123844 live-build_3.0~a11-1_all.deb
 80bf2e9e4faf1e779de9685b3c2d89a3462adcb4 54690 live-build-cgi_3.0~a11-1_all.deb
Checksums-Sha256: 
 254f4328e260f58bf0ae297e35ec62291159c845057f6f13cd41cf840a501dec 1282 live-build_3.0~a11-1.dsc
 411d4bd9605afe29e72c5e42b7dbf5d6eb3a1566370520df68638495b933419f 1932129 live-build_3.0~a11.orig.tar.gz
 c751d3bd581f21bda2b42ef11d4694ec3bea7d2227a7a03ad6c74086823fcc3b 38443 live-build_3.0~a11-1.debian.tar.gz
 f94bf2e08c6b7726108a8a4747006581aa1cea0a29a6850cdb43ff6e46634d31 1123844 live-build_3.0~a11-1_all.deb
 1621a4e0f63d5312ca1fed710874653fa66c2ec584a0c7b3e3bd97e9e31612bb 54690 live-build-cgi_3.0~a11-1_all.deb
Files: 
 af0e4ab662e5fc07755c00c262f2c9c7 1282 misc optional live-build_3.0~a11-1.dsc
 d3be39007c65ce46ea6ea08b990077c2 1932129 misc optional live-build_3.0~a11.orig.tar.gz
 90f58a1758e9dcf270d0b478bd9b48d4 38443 misc optional live-build_3.0~a11-1.debian.tar.gz
 94ee84211fa5d6cb6722af3d501873b5 1123844 misc optional live-build_3.0~a11-1_all.deb
 9e5ee3de6d176e23585e69b8f710ab21 54690 misc optional live-build-cgi_3.0~a11-1_all.deb

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

iEYEARECAAYFAk0sUUEACgkQ+C5cwEsrK56blACg3DXRWzf40pv+ql9POVqwGLoI
Vl4AoIs/o4YBnDS99eCNHvx34N5SfGr/
=Dep3
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: