Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#454638: libc6 unusable on kernel 2.6.9 due to opendir/O_CLOEXEC problems

0 views
Skip to first unread message

H. S. Teoh

unread,
Dec 6, 2007, 3:20:10 PM12/6/07
to
Package: libc6
Version: 2.7-3
Severity: grave
Justification: renders system (mostly) unusable

Hi, I upgraded libc6 to 2.7-3 using apt-get on a system running kernel
2.6.9 with SMP (unfortunately I don't have the option of changing this
kernel, it's provided by my colo provider), and dpkg crashed with
"Unknown error 530". Subsequently, everything that scanned directories
crashed with the same error (ls, dpkg, etc.). Eventually, I found out
that the filesystem was still intact; I could cd into directories, and
ls works on the current directory. My current shell (presumably still
linked to the old shared lib) can still scan directories (`echo
/path/name/*` works). Pathnames that referenced individual files also
worked; but any new process besides my current shell that used opendir()
crashed with the same error. Then I found this:

http://www.nabble.com/-Bug-libc-5227--New:-opendir-and-O_CLOEXEC-problems-with-Linux-2.6.9-5.ELsmp-kernel-t4705183.html

It seems that glibc 2.7 has problems with opendir() and O_CLOEXEC on
kernel 2.6.9 with SMP enabled. Downgrading to glibc2.6 fixed all my
problems.

I presume libc6 2.7 works on the most recent kernels, but it's very
not-nice for people running 2.6.9 with smp to upgrade libc6 and find
their system almost completely unusable.


T

--
"How are you doing?" "Doing what?"

--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Pierre Habouzit

unread,
Dec 6, 2007, 4:10:15 PM12/6/07
to
tag 454638 + wontfix
Severity 454638 normal
thanks

On jeu, déc 06, 2007 at 07:42:17 +0000, H. S. Teoh wrote:
> Package: libc6
> Version: 2.7-3
> Severity: grave
> Justification: renders system (mostly) unusable

Nope, that breaks _your_ system, sorry for that, but Debian never
released a 2.6.9, etch has 2.6.18 and I just tried, it works fine on it.
So we are backward compatible _enough_ to work properly on etch, which
is what we want to do.

Sorry.
--
·O· Pierre Habouzit
··O madc...@debian.org
OOO http://www.madism.org

0 new messages