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

Bug#690423: unblock: dropbear/2012.55-1.2



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package dropbear. Uploads 2012.55-1.1 and -1.2 fixed
#630581 which prevented the "remote unlock" feature to work correctly
on Wheezy. This initramfs hook allows to easily add the possibility to
enter the system encryption passphrase using SSH. It would not be a good
user experience to require admins to recover physical access for these
setups after upgrading to Wheezy.

Thanks for your hard work!

Hint:

unblock dropbear/2012.55-1.2

-- 
Jérémy Bobbio                        .''`. 
lunar@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
diff -u dropbear-2012.55/debian/changelog dropbear-2012.55/debian/changelog
--- dropbear-2012.55/debian/changelog
+++ dropbear-2012.55/debian/changelog
@@ -1,3 +1,18 @@
+dropbear (2012.55-1.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Unbreak initramfs hook when upgrading from Squeeze.
+
+ -- Jérémy Bobbio <lunar@debian.org>  Tue, 25 Sep 2012 16:53:18 +0200
+
+dropbear (2012.55-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Adjust initramfs hook to work with multi-arch. Initial patch by
+    Michael Stapelberg. (Closes: #630581)
+
+ -- Jérémy Bobbio <lunar@debian.org>  Tue, 25 Sep 2012 09:17:06 +0200
+
 dropbear (2012.55-1) unstable; urgency=high
 
   * New upstream release.
diff -u dropbear-2012.55/debian/initramfs/dropbear-hook dropbear-2012.55/debian/initramfs/dropbear-hook
--- dropbear-2012.55/debian/initramfs/dropbear-hook
+++ dropbear-2012.55/debian/initramfs/dropbear-hook
@@ -27,7 +27,11 @@
 	else
 		rm -f "${DESTDIR}/sbin/dropbear"
 		copy_exec "/usr/sbin/dropbear" "/sbin/"
-		cp /lib/libnss_* "${DESTDIR}/lib/"
+		LIBC_DIR=$(ldd /usr/sbin/dropbear | sed -n -e 's,.* => \(/lib.*\)/libc\.so\..*,\1,p')
+		for so in $(find "${LIBC_DIR}" -name 'libnss_compat*'); do
+			copy_exec "${so}" "${LIBC_DIR}"
+		done
+		echo 'passwd: compat' > "${DESTDIR}/etc/nsswitch.conf"
 		echo "root:x:0:0:root:/root:/bin/sh" > "${DESTDIR}/etc/passwd"
 		for keytype in "dss" "rsa"; do
 			if [ ! -f "/etc/initramfs-tools/etc/dropbear/dropbear_${keytype}_host_key" ]; then

Attachment: signature.asc
Description: Digital signature


Reply to: