On Tue, Oct 09, 2012 at 09:09:05AM -0300, Pedro Bulach Gapski wrote:
> > > However, we are not able to login into the initramfs.
> > >
> > > dropbear refuses the keys with:
> > > 'Login attempt for nonexistent user from <x.x.x.x>'
> > >
> > > On the client, the so-called attempt uses ssh and provides root as the
> > user.
> >
> > Could you try to upgrade dropbear to the version currently found in
> > unstable (2012.55-1.2) and see if it helps?
> >
> 
> It does not. I verified that /etc/passwd is present and contains one entry
> for the root user.
> 
> Furthermore, the sid version no longer prints log messages to the console
> inside the initramfs, while the wheezy version does. dropbear was invoked
> from the shell as 'dropbear -FE -p XXX'

If it does not print the log message, then it probably means it is now
able to use getpwnam(3) properly. Is the authorized_keys file present?
Is it correct? Does it have the right permissions?

Eventually, you could try to modify
`/usr/share/initramfs-tools/hooks/dropbear` to add:

    copy_exec /usr/bin/strace

Then use strace when starting dropbear from the initramfs shell. That
could help us solving the problem.

-- 
Jérémy Bobbio                        .''`. 
[email protected]               : :   :             [email protected]
                                    `. `'` 
                                      `-

Attachment: signature.asc
Description: Digital signature

Reply via email to