gentoo-hardened April 2008 archive
Main Archive Page > Month Archives  > gentoo-hardened archives
gentoo-hardened: Re: [gentoo-hardened] Problem with chroot

Re: [gentoo-hardened] Problem with chroot

From: <pageexec_at_nospam>
Date: Thu Apr 10 2008 - 16:27:12 GMT
To: gentoo-hardened@lists.gentoo.org


On 10 Apr 2008 at 12:00, vitamona wrote:

> i was created a jail with app-misc/jail in this way:
>
> # mkdir /chroot
> # mkjailenv /chroot/apache
> # addaliasw /chroot/apache/
>
> but when i try to enter into this chroot something doens't work.
>
> # chroot /chroot/apache/ /bin/sh
> chroot: cannot run command `/bin/sh': No such file or directory

do you have all the necessary dependencies (ld.so/libc/etc) as well in the chroot? in other words, does the same chroot work without a grsec kernel? -- gentoo-hardened@lists.gentoo.org mailing list