Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Static binary confirmation #185

Closed
adminy opened this issue Aug 1, 2022 · 1 comment
Closed

Static binary confirmation #185

adminy opened this issue Aug 1, 2022 · 1 comment

Comments

@adminy
Copy link

adminy commented Aug 1, 2022

Hi,

I was reading this post

and I found a comment about dropbear.

# These two libs are needed for dropbear, 
# even if it's built statically,
# because we don't use PAM
# and dropbear uses libnss to find user
# to authenticate against

cp -L /lib64/libnss_compat.so.2 /rootfs/lib64/
cp -L /lib64/libnss_files.so.2 /rootfs/lib64/

Does that still apply?

@mkj
Copy link
Owner

mkj commented Aug 1, 2022

As far as I know yes - by default glibc has libnss* as dynamic libraries. The alternative would be to build against musl libc, or rebuild glibc with --enable-static-nss

@mkj mkj closed this as completed Aug 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants