Gentoo Archives: gentoo-hardened

From: vitamona <vitamona@×××××.com>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Problem with chroot
Date: Fri, 11 Apr 2008 10:43:30
Message-Id: fb9836e60804110343w795e4fa3pd94ea650a088c35e@mail.gmail.com
In Reply to: Re: [gentoo-hardened] Problem with chroot by pageexec@freemail.hu
1 On Fri, Apr 11, 2008 at 10:54 AM, <pageexec@××××××××.hu> wrote:
2 > you don't have the ld-linux.so.2 symlink so no wonder that dynamically
3 > linked binaries fail to start, but i don't know about bb yet, it should
4 > be statically linked and run even in your current setup. btw, is /chroot
5 > a special mount with noexec perhaps (although that should have produced
6 > a different error already)?
7
8 Hi,
9 i'm a really stupid :-(
10
11 # cp /lib/ld-2.6.1.so ${CHROOT}/lib/
12 # cd ${CHROOT}/lib/
13 # ln -s ld-2.6.1.so ld-linux.so.2
14 # chroot ${CHROOT} /bin/sh
15 sh-3.2 #
16
17 Thanks a lot at all
18 --
19 gentoo-hardened@l.g.o mailing list