From owner-freebsd-questions@FreeBSD.ORG Tue Mar 13 12:18:47 2012 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D1D09106566C for ; Tue, 13 Mar 2012 12:18:47 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id B5CA58FC18 for ; Tue, 13 Mar 2012 12:18:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; q=dns/txt; s=DKIM-NAME-SERVICES; d=a1poweruser.com; h=From:To:Cc:Subject:Message-ID:X-Sender:X-Envelope-From; l=500; bh=0lzXu+iGjfR1NmE7AiR4YauBTGcIvTE7LvAcmm9FCj4=; b=Sde5nCUy67zbPulL8W8oYxGsrvVomHdmKgpOlkHyKSKNBQPFhX9t6JkJcG3KS4ktu6q25qYXq1phwnFcpIA8UDqlhF9uuWT50DLBgoYOv4IFzOEML5ec4ydhanwTzqzQFZnr02StZOIabnVMuhDt92iWmh5F5ApVeEBPr20hngQ= Received: from [192.168.1.107] ([120.29.64.34]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 13 Mar 2012 05:17:41 -0700 Message-ID: <4F5F3AE0.4020101@a1poweruser.com> Date: Tue, 13 Mar 2012 20:17:36 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Bernt Hansson 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 X-OriginalArrivalTime: 13 Mar 2012 12:17:41.0840 (UTC) FILETIME=[49D64D00:01CD0113] X-Sender: fbsd8@a1poweruser.com X-Envelope-From: fbsd8*a1poweruser.com Cc: questions FreeBSD Subject: Re: Jail and questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Mar 2012 12:18:47 -0000 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.