[RFC] LFS-6.1.1

Jim Gifford lfs at jg555.com
Mon Oct 10 23:23:15 PDT 2005


Alexander E. Patrakov wrote:

> Jim Gifford wrote:
>
>>>> 3) Patch glibc to fix the issue triggered by openSSH
>>>
>>>
>>>
>> Still doesn't work all archictectures, some people are thinking it's 
>> a issue in ssh itself.
>
>
> It is not an issue in the ssh itself. Testcase:
>
> gcc -o test -ldl test.c
> rm -rf /tmp/foobar; mkdir /tmp/foobar
> ./test
>
> where test.c contains:
>
> #include <dlfcn.h>
> #include <unistd.h>
>
> int main (void)
> {
>   chroot ("/tmp/foobar");
>   dlopen ("libnss_compat.so.2", RTLD_LAZY);
> }
>
> As for "still doesn't work on all architectures", could you please 
> retest this minimal testcase on the failing ones?

The test case does not give any errors. at all. In cross-lfs we use the 
glibc-snapshot from 20050926, which this problem has been fixed.

-- 
------
jim at linuxfromscratch.org
lfs at jg555.com

LFS User # 2577
Registered Linux User # 299986




More information about the lfs-dev mailing list