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

Bug#375928: marked as done (base-installer: install cryptsetup if necessary)

Your message dated Fri, 30 Jun 2006 05:02:05 -0700
with message-id <E1FwHhF-0002Fi-Qx@spohr.debian.org>
and subject line Bug#375928: fixed in base-installer 1.61
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: base-installer
Version: 1.60
Severity: normal
Tags: patch

currently partman-crypto does an "apt-install cryptsetup" and the postinst of cryptsetup later regenerates the initramfs image.

The attached patch allows base-installer to know when cryptsetup is necessary and to install it before the initramfs image has been generated so that the crypto-root hook/script can be included.

Index: debian/postinst
--- debian/postinst	(revision 38488)
+++ debian/postinst	(working copy)
@@ -340,6 +340,13 @@
+		# We need to do this test separately because root could be on an LVM LV
+		# which is in turn on top of an encrypted device so we can't check
+		# the root node directly as is done above
+		if dmsetup table | cut -d' ' -f4 | grep -q "crypt"; then
+			apt-install cryptsetup
+		fi
 		if pvdisplay | grep -iq "physical volume ---"; then
 			apt-install lvm2
 			mount -t proc proc /target/proc
Index: debian/changelog
--- debian/changelog	(revision 38488)
+++ debian/changelog	(working copy)
@@ -1,3 +1,10 @@
+base-installer (1.61) UNRELEASED; urgency=low
+  * If we have any dm-crypt devices, install cryptsetup before the
+    initramfs image is generated.
+ -- David Härdeman <david@2gen.com>  Thu, 29 Jun 2006 01:36:37 +0200
 base-installer (1.60) unstable; urgency=low
   * Support finish-install, both by installing the script there and for

--- End Message ---
--- Begin Message ---
Source: base-installer
Source-Version: 1.61

We believe that the bug you reported is fixed in the latest version of
base-installer, which is due to be installed in the Debian FTP archive:

  to pool/main/b/base-installer/base-installer_1.61.dsc
  to pool/main/b/base-installer/base-installer_1.61.tar.gz
  to pool/main/b/base-installer/base-installer_1.61_i386.udeb

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

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

Debian distribution maintenance software
Frans Pop <fjp@debian.org> (supplier of updated base-installer 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)

Hash: SHA1

Format: 1.7
Date: Fri, 30 Jun 2006 13:55:39 +0200
Source: base-installer
Binary: base-installer
Architecture: source i386
Version: 1.61
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Frans Pop <fjp@debian.org>
 base-installer - Install the base system (udeb)
Closes: 375928
 base-installer (1.61) unstable; urgency=low
   [ David Härdeman ]
   * If we have any dm-crypt devices, install cryptsetup before the
     initramfs image is generated. Closes: #375928.
   [ Updated translations ]
   * Estonian (et.po) by Siim Põder
   * Norwegian Nynorsk (nn.po) by HÃ¥vard Korsvoll
 3fcb9c2eb1968ae3bceda7dd0e0c2dd6 854 debian-installer required base-installer_1.61.dsc
 91933e393a9b3b785c2c65fe26dd679e 204445 debian-installer required base-installer_1.61.tar.gz
 edfdaeb4571b2c82a1056042306e7b05 152678 debian-installer required base-installer_1.61_i386.udeb
Package-Type: udeb

Version: GnuPG v1.4.1 (GNU/Linux)


--- End Message ---

Reply to: