Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60864 - OpenSSH fails when compiled with USE="static"
Summary: OpenSSH fails when compiled with USE="static"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Ahlberg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-19 01:43 UTC by Jason Stubbs (RETIRED)
Modified: 2004-08-20 12:33 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 Jason Stubbs (RETIRED) gentoo-dev 2004-08-19 01:43:50 UTC
Settings of:

[ebuild   R   ] sys-libs/pam-0.77  +berkdb -pwdb -(selinux)  0 kB
[ebuild   R   ] net-misc/openssh-3.8.1_p1-r1  -X509 -chroot -ipv6 -kerberos -ldap +pam -(selinux) -skey -smartcard +static +tcpd -(uclibc)  140 kB

Yields the following when attempting to ssh in:

sshd[7231]: PAM unable to dlopen(/lib/security/pam_stack.so)
sshd[7231]: PAM [dlerror: /lib/security/pam_stack.so: undefined symbol: _pam_make_env]
sshd[7231]: PAM adding faulty module: /lib/security/pam_stack.so
sshd[7231]: PAM unable to dlopen(/lib/security/pam_shells.so)
sshd[7231]: PAM [dlerror: /lib/security/pam_shells.so: undefined symbol: pam_set_data]
sshd[7231]: PAM adding faulty module: /lib/security/pam_shells.so
sshd[7231]: PAM unable to dlopen(/lib/security/pam_nologin.so)
sshd[7231]: PAM [dlerror: /lib/security/pam_nologin.so: undefined symbol: pam_get_item]
sshd[7231]: PAM adding faulty module: /lib/security/pam_nologin.so
sshd[7231]: error: PAM: Module is unknown for root from 192.168.1.32
sshd[7231]: Failed password for root from 192.168.1.32 port 33038 ssh2
sshd[7231]: Failed password for root from 192.168.1.32 port 33038 ssh2
sshd[7231]: Failed password for root from 192.168.1.32 port 33038 ssh2

revdep-rebuild showed no breakage. Changes to pam's settings had no affect. Disabling static in openssh fixed it.

Portage 2.0.50-r9 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.6.8.1-ck1)
=================================================================
System uname: 2.6.8-ck1 i686 Intel(R) Xeon(TM) CPU 2.40GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.gg3.net/pub/linux/gentoo http://gentoo.osuosl.org"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://gentoo.gg3.net/gentoo-portage"
USE="berkdb cjk crypt gdbm mbox mmx ncurses nls nptl pam perl python readline snmp sse ssl static tcpd x86 xml"


Reproducible: Always
Steps to Reproduce:
Comment 1 Daniel Ahlberg (RETIRED) gentoo-dev 2004-08-20 12:33:25 UTC
Fixed in CVS, thanks!