Your message dated Thu, 28 Jan 2016 13:53:42 +1300
with message-id <[email protected]>
and subject line Re: Bug#812840: Configures initramfs SSH login with locked 
root account
has caused the Debian Bug report #812840,
regarding Configures initramfs SSH login with locked root account
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 [email protected]
immediately.)


-- 
812840: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=812840
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dropbear
Version: 2014.65-1
Severity: normal

After installing dropbear and adding DROPBEAR=y to initramfs.conf,
the system starts with dropbear listening on port 22/tcp alright.
Yay!

Even the SSH authorized_keys file is pre-populated, which is also
a nice touch.

Unfortunately, though, root login does not work. The reason is
discerned from running dropbear with -F -E and then seeing

  [149] Jan 27 04:05:09 User account 'root' is locked

I had a look around, and I think the problem is simply that
/etc/passwd defines /root as root's homedir, whereas initramfs
mounts the target system there at some stage! Changing the homedir
to /root/root enables logging in, but obviously requires /root to be
mounted.

Maybe the best would be to create /roothome during setup for the
purpose of this package?

Note that this applies to the stable package, i.e. before the
dropbox-initramfs split-off.

-- 
 .''`.   martin f. krafft <[email protected]> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


--- End Message ---
--- Begin Message ---
Version: 2015.71-1

also sprach Guilhem Moulin <[email protected]> [2016-01-28 01:02 +1300]:
> This was reported in #558115 and fixed (for 2015.68-1) in 5b724213:
> 
>     
> https://anonscm.debian.org/cgit/collab-maint/dropbear.git/commit/?id=5b724213ea3818508d9060c0a5ce11dab1827f26
> 
> At which initramfs stage did you try to log in? 

After the rootfs was mounted, as you suspected.

> Could you try to apply 5b724213 and see if that works for you?

I installed the version in Sid and confirm that the problem is gone!
Thanks.

-- 
 .''`.   martin f. krafft <[email protected]> @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


--- End Message ---

Reply via email to