Поставил Jail 1.9, собрал, установил.
$mkjailenv /home/jail
mkjailenv
A component of Jail (version 1.9 for linux)
http://www.gsyc.inf.uc3m.es/~assman/jail/
Juan M. Casillas <assman@gsyc.inf.uc3m.es>Making chrooted environment into /home/jail
Doing preinstall()
Doing special_devices()
Doing gen_template_password()
Doing postinstall()
Done.
$addjailsw /home/jail
addjailsw
A component of Jail (version 1.9 for linux)
http://www.gsyc.inf.uc3m.es/~assman/jail/
Juan M. Casillas <assman@gsyc.inf.uc3m.es>Guessing head args()
Can't build dependencies for /usr/bin/head
Guessing cat args()
Can't build dependencies for /bin/cat
Guessing pwd args()
Can't build dependencies for /bin/pwd
Guessing ln args()
Can't build dependencies for /bin/ln
Guessing mkdir args()
Can't build dependencies for /bin/mkdir
Guessing rmdir args()
Can't build dependencies for /bin/rmdir
Guessing ls args()
Can't build dependencies for /bin/ls
Guessing sh args()
Can't build dependencies for /bin/sh
Guessing mv args()
Can't build dependencies for /bin/mv
Guessing rm args()
Can't build dependencies for /bin/rm
Guessing more args()
Can't build dependencies for /bin/more
Guessing grep args()
Can't build dependencies for /bin/grep
Guessing vi args(-c q)
Can't build dependencies for /bin/vi
Guessing id args()
Can't build dependencies for /usr/bin/id
Guessing cp args()
Can't build dependencies for /bin/cp
Guessing tail args()
Can't build dependencies for /usr/bin/tail
Guessing touch args()
Can't build dependencies for /bin/touchDone.
Помню, что была какая-то фигня, типа какой-то тулзы не хватало.
Но найти в архиве не могу.
Да, не надо говорить "поставь perl" - perl есть. awk тоже.
Лично я бы на ее месте использовал ldd (binutils).
>Лично я бы на ее месте использовал ldd (binutils).На месте кого? jail'a???
>>Лично я бы на ее месте использовал ldd (binutils).
>
>На месте кого? jail'a???Все-все-все. Ищем jail.conf, в нем ставим $DEBUG=1; и вдумчиво изучив
результаты повторения команды addjailsw /home/jail, выясняем что
ей не хватало strace. Уфффф...