[CentOS] chroot problem.

Matty

matty91 at gmail.com
Sat Jan 2 23:43:42 UTC 2010


On Wed, Dec 30, 2009 at 12:56 PM, nate <centos at linuxpowered.net> wrote:
> Frank M. Ramaekers wrote:
>
>> It's there, I'm not sure what the problem is:
>> # ls -l /bin/bash
>> -rwxr-xr-x  1 root root 859120 Oct 24  2008 /bin/bash
>> # ls -l /chroot/mysql/bin/bash
>> -rwxr-xr-x  1 root root 859120 Oct 24  2008 /chroot/mysql/bin/bash
>
> Make sure all of the libraries that bash needs are in the
> chroot? ldd <path to binary>

If you are missing binaries / libraries, you can use yum with the
alternate root option to resolve them. Check out the following
document for additional information:

http://prefetch.net/articles/yumchrootlinux.html

Hope this helps,
- Ryan
--
http://prefetch.net



More information about the CentOS mailing list