Gentoo Archives: gentoo-hardened

From: pageexec@××××××××.hu
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Problem with chroot
Date: Thu, 10 Apr 2008 16:30:07
Message-Id: 47FE5C00.4508.2953A8E6@pageexec.freemail.hu
In Reply to: [gentoo-hardened] Problem with chroot by vitamona
1 On 10 Apr 2008 at 12:00, vitamona wrote:
2
3 > i was created a jail with app-misc/jail in this way:
4 >
5 > # mkdir /chroot
6 > # mkjailenv /chroot/apache
7 > # addaliasw /chroot/apache/
8 >
9 > but when i try to enter into this chroot something doens't work.
10 >
11 > # chroot /chroot/apache/ /bin/sh
12 > chroot: cannot run command `/bin/sh': No such file or directory
13
14 do you have all the necessary dependencies (ld.so/libc/etc) as well
15 in the chroot? in other words, does the same chroot work without a
16 grsec kernel?
17
18 --
19 gentoo-hardened@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-hardened] Problem with chroot Ned Ludd <solar@g.o>