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

Bug#499666: marked as done (Allow encrypted loop device as root partition)



Your message dated Fri, 19 Dec 2008 13:47:53 +0000
with message-id <E1LDfhp-0002xh-4x@ries.debian.org>
and subject line Bug#499666: fixed in initramfs-tools 0.92n
has caused the Debian Bug report #499666,
regarding Allow encrypted loop device as root partition
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.)


-- 
499666: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=499666
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Version: 0.92j
Severity: wishlist
Tags: patch

hi,
i've set up an encrypted loop-AES device as the root partition (boot
paramter dev=/dev/loopX) and update-initramfs fails with :

mkinitramfs: missing loop root /dev/loop2 /sys entry
mkinitramfs: workaround is MODULES=most
mkinitramfs: Error please report the bug

The attached patch resolves this issue.

Regards,
Serkan

--- hook-functions	2008-09-21 07:36:56.000000000 +0200
+++ hook-functions.new	2008-09-21 08:12:45.000000000 +0200
@@ -269,6 +269,10 @@ dep_add_modules()
 		root=${root#/dev/}
 		block=$(awk "/^${root}/{print substr(\$5, 1, 3); exit}" \
 			/proc/mdstat)
+	# loop root /dev/loopX
+	elif [ "${root#/dev/loop}" != "${root}" ]; then
+		root=${root#/dev/}
+		block=$(losetup -a | awk "/${root}/{print substr(\$3, 7, 3); exit}")
 	# classical root device
 	else
 		block=${root#/dev/}

--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.92n

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

initramfs-tools_0.92n.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.92n.dsc
initramfs-tools_0.92n.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.92n.tar.gz
initramfs-tools_0.92n_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.92n_all.deb



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 499666@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (supplier of updated initramfs-tools 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, 19 Dec 2008 14:03:13 +0100
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.92n
Distribution: unstable
Urgency: high
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 499666 502927 507805 508906
Changes: 
 initramfs-tools (0.92n) unstable; urgency=high
 .
   [ Eugene Paskevich ]
   * hook-functions: Fix MODULES=dep for lvm LABEL fstab notation.
     (closes: #508906)
 .
   [ maximilian attems ]
   * all_generic_ide: Also parse boolean bootoption. (closes: #507805)
   * initramfs-tools.8: Document where to look up NFSOPTS. (closes: #502927)
   * update-initramfs.8: List -d and mark the non-optional as such.
 .
   [ S. Sakar ]
   * hook-functions: MODULES=dep fix encrypted loop device.
     (closes: #499666)
Checksums-Sha1: 
 9b13f9bfe8998c46bc9c15944e0a5b1a4eeece46 1004 initramfs-tools_0.92n.dsc
 4f6a04effb9200e45ac8aea5f0018fa44b0e6518 68336 initramfs-tools_0.92n.tar.gz
 1ba76092d86a10e3c01966b17c01c20934daf744 75234 initramfs-tools_0.92n_all.deb
Checksums-Sha256: 
 78e6e14f1e229d90f46ef9be1eada2979c578309d25294a801e21493192f056a 1004 initramfs-tools_0.92n.dsc
 7cf1f3a644714cd7b25179a933c9e68d6ace09a1b955904890a829d23a37ad68 68336 initramfs-tools_0.92n.tar.gz
 f3263a64ba39e746d4cd6bb91e74a45d93b336954d01356eeedccf7011839596 75234 initramfs-tools_0.92n_all.deb
Files: 
 4f24f92a42ed0ca1f07c8110e0a37fb4 1004 utils optional initramfs-tools_0.92n.dsc
 f02842e0780734cb3295fe436e7bd27e 68336 utils optional initramfs-tools_0.92n.tar.gz
 7d3213d012b43ea12c9ce134daf88cfb 75234 utils optional initramfs-tools_0.92n_all.deb

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

iEYEARECAAYFAklLnAAACgkQeW7Lc5tEHqh5QgCfaZdNOf/2RvkvGcg2TREDZaSb
WG4An2AZSEG6iVg1tWSd3ytaBDQotaWW
=4AiQ
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: