Package: dropbear
Version: 0.53.1-1
Severity: important
The initramfs hook fails to copy libnss_* to the initramfs image. In my case,
this makes my server unbootable since I need to login using ssh to unlock
the root file system (reason for important).
Updating /usr/share/initramfs-tools/hooks/dropbear with the following patch
solves this bug for me.
--- /tmp/dropbear.old 2011-06-15 13:14:37.294326698 +0200
+++ dropbear 2011-06-15 13:15:10.749906197 +0200
@@ -27,7 +27,7 @@
else
rm -f "${DESTDIR}/sbin/dropbear"
copy_exec "/usr/sbin/dropbear" "/sbin/"
- cp /lib/libnss_* "${DESTDIR}/lib/"
+ cp /lib/i386-linux-gnu/libnss_* "${DESTDIR}/lib/"
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
Thanks
/Fredrik
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages dropbear depends on:
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
dropbear recommends no packages.
Versions of packages dropbear suggests:
ii openssh-client 1:5.8p1-4 secure shell (SSH) client, for sec
pn runit <none> (no description available)
ii udev 171-1 /dev/ and hotplug management daemo
ii xauth 1:1.0.6-1 X authentication utility
-- no debconf information
-- debsums errors found:
debsums: changed file /usr/share/initramfs-tools/hooks/dropbear (from dropbear
package)
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]