** Description changed: Impact: - Multiarch users of dropbear generate broken initramfs images (without libnss*). + Multiarch installations of dropbear end up with broken initramfs images (without libnss*), to which users can't connect as expected. + + Detailed Description + The current dropbear is broken when trying to connect to a computer with encrypted harddrive from a remote computer, to input the decrypt password, as explained, for example, here: + http://blog.nguyenvq.com/2011/09/13/remote-unlocking-luks-encrypted-lvm-using-dropbear-ssh-in-ubuntu/ Test case: - After installing dropbear in a multiarch system, it should be possible to generate a new initramfs image, for example by triggering a dpkg-reconfigure of the currently installed kernel image, without issuing any errors. + After installing dropbear in a multiarch system, it should be possible to generate a new initramfs image, for example by running update-initramfs -u, without issuing any errors. Regression potential: - The patch supplied looks for the correct directory where the files are located, if there was a problem with this search, it might end up not copying the files, as it happens now in multiarch. However, this has been already uploaded and tested in Debian, and it's quite unlikely to happen, + The patch supplied looks for the correct directory where the files are located, if there was a problem with this search, it might end up not copying the files, as it happens now in multiarch. So, worst case scenario: it still doesn't work, no extra harm done. ---- Original description: I did a fresh install. I use system encryption with LUKS (LVM-container inside encrypted parition). I installed dropbear. copied the ssh-key from /etc/initramfs-tools When booting, the process stops to prompt for the password. dropbear starts correctly, but when trying to connect I get prompted for a password. I also modified the initrd, so that dropbear would display some debug-output (-E -F) There I could see [...] login attempt for nonexistent user from [...] everytime I tried to login. I tried this on ubuntu-11.04-server and ubuntu 10.04-server (both amd64). It worked perfectly on 10.04
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/834174 Title: cannot login via ssh when using dropbear in initramfs To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/834174/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
