From owner-freebsd-questions@FreeBSD.ORG Wed Aug 8 14:03:09 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 6EB0C106564A for ; Wed, 8 Aug 2012 14:03:09 +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 5535D8FC12 for ; Wed, 8 Aug 2012 14:03:09 +0000 (UTC) Received: from [10.0.10.3] ([173.88.199.104]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 8 Aug 2012 07:02:04 -0700 Message-ID: <5022715C.9010301@a1poweruser.com> Date: Wed, 08 Aug 2012 10:02:04 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: blackfriar References: <1344347348.23440.5.camel@blackfriar.inhio.eu> In-Reply-To: <1344347348.23440.5.camel@blackfriar.inhio.eu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Aug 2012 14:02:05.0015 (UTC) FILETIME=[641DF670:01CD756E] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: freebsd-questions@freebsd.org Subject: Re: NFS within a Jail?! 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: Wed, 08 Aug 2012 14:03:09 -0000 blackfriar wrote: > Hi everybody! > I'm wondering if it's possible to run in a "clear fashion" an NFS server > within a jail on FreeBSD 9.0. > > I'm having some issues that make me think this is not supposed to work. > I've googled it but I couldn't find much especially on releases prior > 5!! > > A quick tip would be great .... I don't really wanna waste hours on this > not very relevant issue. > > Many thanks in advance. > Quick answer is "No, NFS only runs on the host system". Long answer is; NFS requires rpcbind to function. rpcbind is dependent on a network stack. Jails do not have their own network stack, they use the hosts network stack. There is some experimental software to give each jail its own network stack but I sure would not deploy a production system based on this.