Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2012 20:17:36 +0800
From:      Fbsd8 <fbsd8@a1poweruser.com>
To:        Bernt Hansson <bah@bananmonarki.se>
Cc:        questions FreeBSD <FreeBSD-questions@freebsd.org>
Subject:   Re: Jail and questions
Message-ID:  <4F5F3AE0.4020101@a1poweruser.com>
In-Reply-To: <4F5E83A2.5000809@bananmonarki.se>
References:  <4F5E83A2.5000809@bananmonarki.se>

next in thread | previous in thread | raw e-mail | index | archive | help
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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F5F3AE0.4020101>