Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523342 - net-misc/dropbear-2014.65[static] fails to authenticate users
Summary: net-misc/dropbear-2014.65[static] fails to authenticate users
Status: RESOLVED DUPLICATE of bug 509748
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-21 01:09 UTC by Sven E.
Modified: 2014-10-20 16:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven E. 2014-09-21 01:09:31 UTC
When building dropbear statically and linking against glibc, dropbear claims every user is nonexistant.

During the build messages like using 'xyz' in statically linked applications requires at runtime the shared libraries from glibcversion used for linking.

Even though these are available on the system, calls to getspnam() fail and dropbear assumes the username is nonexistant.

Reproducible: Always
Comment 1 Sven E. 2014-09-21 03:27:16 UTC
For the sake of completeness, I built a glibc with static nss. This eleminates the messages about the DSO that need to be in place during runtime, but auth still keeps failing.

Rebuilding dropbear with -static fixes the problem.

Can this be related to an upgrade of glibc or shadow?
Comment 2 SpanKY gentoo-dev 2014-10-20 16:51:00 UTC
you must provide `emerge --info` with every bug report

*** This bug has been marked as a duplicate of bug 509748 ***