Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 11945 - sys-libs/glibc-2.3.1-r2 error?!
Summary: sys-libs/glibc-2.3.1-r2 error?!
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-12-11 02:17 UTC by Torgeir Hansen
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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 Torgeir Hansen 2002-12-11 02:17:23 UTC
did a emerge -u world yesterday which included these packages:
--
sys-devel/autoconf-2.54 
sys-apps/texinfo-4.3 
sys-devel/gcc-3.2.1 
sys-libs/glibc-2.3.1-r2 
sys-libs/ncurses-5.3-r1 
sys-apps/bash-2.05b-r3 
dev-lang/python-2.2.2 
sys-apps/portage-2.0.45-r3 
sys-devel/binutils-2.13.90.0.16 
sys-libs/cracklib-2.7-r6 
sys-apps/hdparm-5.3-r1 
--

and now I get this in my (sys)log every time someone logs in:
--
sshd[31414]: PAM unable to dlopen(/lib/security/pam_cracklib.so)
sshd[31414]: PAM [dlerror: /lib/libc.so.6: version `GLIBC_2.3' not found
(required by /usr/lib/libcrack.so.2)]
sshd[31414]: PAM adding faulty module: /lib/security/pam_cracklib.so
--

I tried to re-emerge cracklib but that did not help at all.
I'm also having problems with ssh not being able to resolve 'localhost', I'm
guessing that this is related allthough I don't have the time to investigate
that now. (when logged in, resolving seems to work fine),
resolve-problem occurs when I do this:  `ssh -L110:localhost:110
torgeir@mybox.trenger.ro`
It appears to work fine until I connect on local port 110 on my client, then
mybox syslog tells me:
sshd[20327]: error: connect_to localhost: unknown host (Name or service not known)

#
Comment 1 Torgeir Hansen 2002-12-11 02:17:23 UTC
did a emerge -u world yesterday which included these packages:
--
sys-devel/autoconf-2.54 
sys-apps/texinfo-4.3 
sys-devel/gcc-3.2.1 
sys-libs/glibc-2.3.1-r2 
sys-libs/ncurses-5.3-r1 
sys-apps/bash-2.05b-r3 
dev-lang/python-2.2.2 
sys-apps/portage-2.0.45-r3 
sys-devel/binutils-2.13.90.0.16 
sys-libs/cracklib-2.7-r6 
sys-apps/hdparm-5.3-r1 
--

and now I get this in my (sys)log every time someone logs in:
--
sshd[31414]: PAM unable to dlopen(/lib/security/pam_cracklib.so)
sshd[31414]: PAM [dlerror: /lib/libc.so.6: version `GLIBC_2.3' not found
(required by /usr/lib/libcrack.so.2)]
sshd[31414]: PAM adding faulty module: /lib/security/pam_cracklib.so
--

I tried to re-emerge cracklib but that did not help at all.
I'm also having problems with ssh not being able to resolve 'localhost', I'm
guessing that this is related allthough I don't have the time to investigate
that now. (when logged in, resolving seems to work fine),
resolve-problem occurs when I do this:  `ssh -L110:localhost:110
torgeir@mybox.trenger.ro`
It appears to work fine until I connect on local port 110 on my client, then
mybox syslog tells me:
sshd[20327]: error: connect_to localhost: unknown host (Name or service not known)

#ยค!"!#!"# !! 
I tried to re-emerge pam, and this is what I got now:
--
sshd[3305]: PAM unable to dlopen(/lib/security/pam_env.so)
sshd[3305]: PAM [dlerror: /lib/libc.so.6: version `GLIBC_2.3' not found
(required by /lib/security/pam_env.so)]
sshd[3305]: PAM adding faulty module: /lib/security/pam_env.so
sshd[3305]: PAM unable to dlopen(/lib/security/pam_unix.so)
sshd[3305]: PAM [dlerror: /lib/libc.so.6: version `GLIBC_2.3' not found
(required by /lib/security/pam_unix.so)]
sshd[3305]: PAM adding faulty module: /lib/security/pam_unix.so
sshd[3305]: PAM unable to dlopen(/lib/security/pam_cracklib.so)
sshd[3305]: PAM [dlerror: /lib/libc.so.6: version `GLIBC_2.3' not found
(required by /lib/security/pam_cracklib.so)]
sshd[3305]: PAM adding faulty module: /lib/security/pam_cracklib.so
sshd[3305]: PAM unable to dlopen(/lib/security/pam_limits.so)
sshd[3305]: PAM [dlerror: /lib/libc.so.6: version `GLIBC_2.3' not found
(required by /lib/security/pam_limits.so)]
sshd[3305]: PAM adding faulty module: /lib/security/pam_limits.so
sshd[3305]: PAM rejected by account configuration[28]: Module is unknown
--

and did I mention that I cannot log in via ssh anymore? :D

And, the actual lib is there:
/lib/libc-2.3.1.so
/lib/libc.so.6 -> libc-2.3.1.so
--
[09:12]root@mybox:/lib> strings libc-2.3.1.so |grep GLIBC_2.3
GLIBC_2.3
GLIBC_2.3.1
--

I'll try to rsync and rm -f /usr/portage/distfiles/* && emerge glibc 

:(
Comment 2 SpanKY gentoo-dev 2002-12-11 13:11:57 UTC
what does `qpkg -I -v glibc` show ? 
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-11 14:04:27 UTC
 # ls -l /lib/libdl*

And paste please.
Comment 4 Torgeir Hansen 2002-12-11 14:55:33 UTC
Here's the thing, since this is my dns,web,email,ftp,cvs,shell - whatever server,
downtime is bad. really bad. So - I'm currently re-installing.
Where I can find the qpkg tool? (emerge -s does not reveal anything)
I am interested in helping finding the problem, so I will re-emerge the glibc-2.3.1 after the system install is complete
.. and a backup of system binaries and libraries..
Comment 5 Torgeir Hansen 2002-12-11 14:59:29 UTC
Btw, I tried to downgrade from 2.3.1 to 2.2.5 again by marking 2.3.1 as ~x86 and emerge -u glibc (I think it was),
but that really did not help, and the result is that even though I got a backup of /lib, it only says libdl-2.2.5.so (11796bytes) and libdl.so.2
Comment 6 Torgeir Hansen 2002-12-12 01:39:25 UTC
While reinstalling I noticed that the system wants to install perl-5.8.. 
which is marked as ~x86 .. and a `grep -r KEYWORD /etc/make.*` confirmed my
thought - the system has not set ~x86 as an accepted keyword (or ARCH..), just
x86 there.
Apparently I have tried ~x86 at one point, as I had /etc/make.conf~ that had
~x86 enabled. 

I'm wondering if this is cached somewhere on the system (/var/cache/*/* ?), as
with my settings, perl-5.8 should really not have been enabled.
If there is a cache-bug then that could possibly be the reason that if fucked up
the rest of my system?!
(I did not remove /var/cache when I re-installed now)

Comment 7 Torgeir Hansen 2002-12-12 11:48:34 UTC
Okey, the re-install is complete, and this time the glibc-upgrade was sucessfull! :)
One big differance between this and my previous glibc-upgrade, was that
this upgrade was done from local console, but the first one that went bad was
done via a ssh-connection.
Hope this won't happen again! :O
Comment 8 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-12 20:55:34 UTC
Great.  I will keep looking into this, as it is critical that upgrades will
be without issue ...
Comment 9 Torgeir Hansen 2002-12-14 10:25:41 UTC
All hope is not lost;
I have two systems running 1.4; one of which I update manually remote (the one
that failed horribly), and one that updates automagically every night (cronjob)
- the latter system updated successfully to glibc-2.3! :)
Comment 10 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-14 14:51:16 UTC
Weird one to be honest.  I did a bootstrap and emerge system with the old
binutils and glibc-2.2.5, and then afterwards updated binutils and glibc.
Went with no problem :/  So I really guess its a problem that only occurs
once in a few hundred times ?
Comment 11 Torgeir Hansen 2002-12-14 15:06:47 UTC
Did you do it locally or via ssh? I'm thinking that the library rollover fails
when done over ssh (or any other remove mecanism i guess)?
Comment 12 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-15 17:35:01 UTC
Hrm, nope ... did you try to restart sshd ?
Comment 13 Torgeir Hansen 2002-12-16 01:20:53 UTC
Nope, the thought didn't even cross my mind since I only got errors about the
missing GLIBC_2.3, like this one:

/bin/sh: /lib/libc.so.6: version `GLIBC_2.3' not found (required by /bin/sh)

Unfortunately I haven't got the opportunity, nor the time to test this theory
myself in the near future.
Comment 14 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-16 13:11:30 UTC
Have a look at:

  http://bugs.gentoo.org/show_bug.cgi?id=12078#c5
Comment 15 Torgeir Hansen 2002-12-16 13:17:54 UTC
haha, I suck! ;(

Nice to have an answer, though :)
Comment 16 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-27 18:11:27 UTC
This should be fixed.