reassign 505168 libc6
thanks

The GNU Libc has hardcoded path to nscd socket, so there is no possibility
to use nscd with fakechroot environment.

The Scratchbox2 project provides some patches for Libc:

https://maemo.gitorious.org/scratchbox2/scratchbox2/source/173e4b7081bb5f5965ca90bee037231ab4e88c64:external_patches/glibc-2.10-nscd-socket-location.4.patch

Perhaps libc6 maintaners could accept this patch. If not, there is no other
way to deal with this problem.

Regards,



2008/11/10 Jameson Graef Rollins <jroll...@finestructure.net>

> Package: fakechroot
> Version: 2.8-1
> Severity: important
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> I have found that on systems running nscd, certain (all?) nameservice
> calls are not properly faked when running fakechroot, which can cause
> improper failures in the chrooted environment.  For instance, useradd
> fails in a fakechroot when the host system is running nscd:
>
> hydra:/scratch/jrollins 0$ PC -eFH | grep [n]scd
> root     28566     1  0 44073  3416   6 Oct30 ?        00:01:05
> /usr/sbin/nscd
> hydra:/scratch/jrollins 0$ getent passwd | grep jrollins
> jrollins:x:2000:2000:Jamie Rollins:/home/jrollins:/bin/bash
> hydra:/scratch/jrollins 0$ fakeroot fakechroot chroot testroot
> root@hydra:/# PS1='$? \h:\w\$ '
> 0 hydra:/# getent passwd | grep jrollins
> 1 hydra:/# useradd jrollins
> useradd: user jrollins exists
> 9 hydra:/# exit
> exit
> hydra:/scratch/jrollins 9$
>
> This is particularly problematic when running debootstrap with the
> fakechroot variant, ie:
>
> fakeroot fakechroot debootstrap --variant=fakechroot lenny testroot
>
> Postinst scripts that call useradd to add users that already exist in
> the meta system will fail, causing the debootstrap to fail.  This
> makes the debootstrap fakechroot variant unusable on systems running
> nscd.
>
> I believe that this bug is somewhat related to 413918 [0], but since
> systems with nscd are still failing with fakechroot 2.8, the problem
> persists.
>
> I wish I understood this stuff better to be able to speak to what the
> problem could be.  Hopefully smarter people can.
>
> Thanks much for maintaining fakechroot.
>
> jamie.
>
> [0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=413918
>
>
> - -- System Information:
> Debian Release: lenny/sid
>   APT prefers testing
>   APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental')
> Architecture: i386 (i686)
>
> Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages fakechroot depends on:
> ii  libc6                         2.7-15     GNU C Library: Shared
> libraries
>
> fakechroot recommends no packages.
>
> fakechroot suggests no packages.
>
> - -- no debconf information
>
>  LocalWords:  eFH grep
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iQIcBAEBAgAGBQJJF72WAAoJEO00zqvie6q8aDkQAK2v6fUdb8W6l2TX24I9JjGd
> dNFRMQbJ/U1RkDp2ZBsXqPB1wIiW+InqPLVbHDT4H5oVYXKXs531ZptoPMnDaFK9
> 6fP4teAwblHRPhY7asOdjdUEWhuJqcQ0NhMUbDk8S4zyamspltLhwB3gzIxZGI2p
> f2MZjUZXmQ1pwSHNp21Wvo7mWfY/R3Dwxkm0yvUc3rdEeNkZNH8C3wkqfeOcoTtv
> S7K+PLsTxZpyOCqR1DqJHIHljXcScLerkhzVrcRvtn0QbVCk7kFnBxN11Oeo3z12
> i2WAyLuTa/zTouPgfQQfpCtR6ALXrCkzfrlyd7sydTuuIqZLC3HW+pLWJvyaDbUI
> nA4UvkKa4EvE+UgWNZZPRxLQAb58YAjSZsY/3xbELQLQ0Te6G0edCfECH8kLErSw
> JtXoZikdIkzod2dBL2WiAKpZM5UqylPIgxU9gnHrUCMOEnJUbNJSNVkuWVtBfEC5
> j+BzPPYc1HAlhbC9qabtR/xLcwuQZMcZFi3XV8j6IBDPOWmXQI3oWED/PTlmBYEj
> mLrV/joqlOuzPGBvNAZj4t0N4U9Gipua6Rpo4FkTRyHI8Sxi0K52Rf6WKpFVD/tf
> e8MlTw3NkdtN9mJr/KwI9BXCP2Qk1G1hfB/TfVQEv8X2z12S8PHwKW54Ol/eovVw
> 51sDGnPZ4UeCvTnHm3nL
> =yDUP
> -----END PGP SIGNATURE-----
>
>
>


-- 
Piotr Roszatycki

Reply via email to