jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] debian x64 probably bash-library related problem


From: Martin
Subject: Re: [Jailkit-users] debian x64 probably bash-library related problem
Date: Sat, 09 Apr 2011 15:57:19 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Lightning/1.0b2 Thunderbird/3.1.9

Hi there,
as first i want to say thank you! The problem is now solved.
Solution was to copy entire directories : /lib /lib32 and /lib64 from original system to /home/jail/lib, /home/jail/lib32 and /home/jail/lib64 Now all binaries are able to run, the problem was that ld-linux.so.2 was not properly copied to jail, there was only 64 bit version of this .so lib. It possible that jailkit doesn't copied necessary libraries to jail (because of 64bit system that has /lib, /lib64 and /lib32 directories in root), when it was created.. maybe I did some mistake at jail creation steps..

Thanks a lot for helping me.
regards,

Martin


On 4/9/11 9:10 AM, Olivier Sessink wrote:
On 04/09/2011 02:16 AM, Martin wrote:
wow, you've probably found the problem :)

this is outside the(from) jail :
address@hidden:/home/jail/home/ac016# ldd ./i686
linux-gate.so.1 => (0xf76ee000)
libdl.so.2 => /lib32/libdl.so.2 (0xf76e1000)
libpthread.so.0 => /lib32/libpthread.so.0 (0xf76c8000)
libc.so.6 => /lib32/libc.so.6 (0xf7580000)
/lib/ld-linux.so.2 (0xf76ef000)

do all these libraries exist inside the jail? including /lib/ld-linux.so.2 ?

Olivier





reply via email to

[Prev in Thread] Current Thread [Next in Thread]