Jail and questions

Fbsd8 fbsd8 at a1poweruser.com
Tue Mar 13 12:18:47 UTC 2012


Bernt Hansson wrote:
> Hello list
> 
> I've setup a 32-bit jail on amd64 freebsd 8.2-stable.
> 
> It works, sort of, but when i run portsnap extract in the jail it say
> 
> Building new INDEX files... make_index: fopen(/dev/stdin): No such file 
> or directory
> 
> #ls /dev
> 
> lrwxr-xr-x  1 root  wheel    12  6 Mar 02:56 log -> /var/run/log
> -rw-r--r--  1 root  wheel    76 12 Mar 23:09 null
> -rw-r--r--  1 root  wheel     0 10 Mar 03:01 stderr
> -rw-r--r--  1 root  wheel  1360  7 Mar 04:44 stdout
> 
> Where is stdin?
> 
> or running #ps ps: /boot/kernel/kernel: No such file or directory
> 
> 

Jails don't boot the host so they don't need /boot directory. I would 
say you have created the jail directory tree incorrectly.

Give the qjail port a try for simply jail creation and admin.



More information about the freebsd-questions mailing list