From owner-freebsd-questions@FreeBSD.ORG Mon Mar 12 23:29:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5704A106566B for ; Mon, 12 Mar 2012 23:29:57 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 07F398FC16 for ; Mon, 12 Mar 2012 23:29:56 +0000 (UTC) Received: from mail.unitedinsong.com.au (bell.herveybayaustralia.com.au [192.168.0.40]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 747655C28 for ; Tue, 13 Mar 2012 09:43:27 +1000 (EST) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.177]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id EB1405C22 for ; Tue, 13 Mar 2012 09:43:26 +1000 (EST) Message-ID: <4F5E85B8.9010107@herveybayaustralia.com.au> Date: Tue, 13 Mar 2012 09:24:40 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4F5E83A2.5000809@bananmonarki.se> In-Reply-To: <4F5E83A2.5000809@bananmonarki.se> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Jail and questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2012 23:29:57 -0000 On 03/13/12 09:15, 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 You may have to unhide it and enable the specific rules for the jail system. I thought stdin was enabled by default, but I could be wrong.