[Bug 834174] Re: cannot login via ssh when using dropbear in initramfs

Benjamin Drung bdrung at debian.org
Thu Nov 22 16:28:15 UTC 2012


Thanks. I have uploaded your fix to precise-proposed and quantal-
proposed.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/834174

Title:
  cannot login via ssh when using dropbear in initramfs

Status in “dropbear” package in Ubuntu:
  Fix Released
Status in “dropbear” source package in Precise:
  New
Status in “dropbear” source package in Quantal:
  New
Status in “dropbear” package in Debian:
  Fix Released

Bug description:
  Impact:
  Multiarch users of dropbear generate broken initramfs images (without libnss*).

  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.

  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,

  ----

  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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dropbear/+bug/834174/+subscriptions



More information about the Ubuntu-sponsors mailing list