Bug#521863: popen broken on some systems
reassign 521863 linux-image-2.6.26-1-amd64
forcemerge 518921 521863
thanks
On Mon, Mar 30, 2009 at 06:50:38PM +0200, Bill Allombert wrote:
> On Mon, Mar 30, 2009 at 06:41:26PM +0200, Bill Allombert wrote:
> > On Mon, Mar 30, 2009 at 05:36:36PM +0200, Bill Allombert wrote:
> > > Package: libc6
> > > Version: 2.9-6
> > > Severity: important
> > >
> > > Hello Debian GLIBC maintainers,
> > >
> > > popen is broken on some systems, though details are scare,
> > > it seems it affect some amd64 with libc6 version 2.9-6 and
> > > kernel 2.6.26-1-amd64.
> >
> > I can now reproduce this problem in a i386 sid chroot on a
> > lenny-amd64 system running 2.6.26-1-amd64.
>
> test case:
> # chroot /home/ia32
> # cat bug.c
> #include <stdio.h>
>
> int main(void)
> {
> FILE *foo = popen("ls","r");
> pclose(foo);
> return 0;
> }
> # gcc bug.c -o bug
> # ./bug
> # bin bug debootstrap etc lib mnt proc sbin srv test usr
> boot bug.c dev home media opt root selinux sys tmp var
> # exit
> # /home/ia32/bug
> #
>
> The same 32-bit binary work correctly outside the chroot (in the
> amd64-lenny system, with libc6-i386 installed).
>
It's a know kernel problem for i386 installations with an amd64 kernel.
Possible solutions:
- install kernel linux-image-2.6.29-1-amd64
- install linux-image-2.6.26-1-amd64 from stable-proposed-updates
Possible workarounds
- install an i386 kernel
- install libc6-i386
Reassigning an merging the bug.
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
Reply to: