1 |
I've just installed app-misc/jail and created the chroot'ed environment |
2 |
(following http://gentoo-wiki.com/HOWTO_Jail). Now when I try to do a |
3 |
'su - prisoner' or 'ssh prisoner@localhost' I'm only getting a "jail: |
4 |
execve() : No such file or directory" and if I do a starce this is what I |
5 |
get: |
6 |
|
7 |
getuid() = 1003 |
8 |
getgid() = 100 |
9 |
setgid(0) = -1 EPERM (Operation not permitted) |
10 |
write(2, "jail: can\'t chroot(). (Is jail o"..., 74jail: can't chroot(). (Is |
11 |
jail owned by root and has setuid permissions?) |
12 |
) = 74 |
13 |
exit_group(-1) = ? |
14 |
|
15 |
# ll /usr/bin/jail |
16 |
-rws--x--x 1 root root 19136 Aug 26 14:08 /usr/bin/jail* |
17 |
|
18 |
Any suggestions on how to solve? |
19 |
-- |
20 |
Dan Johansson, <http://www.dmj.nu> |
21 |
*************************************************** |
22 |
This message is printed on 100% recycled electrons! |
23 |
*************************************************** |