From nobody@FreeBSD.org  Wed Apr  1 08:36:19 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0DA1B1065670
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  1 Apr 2009 08:36:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id D71728FC15
	for <freebsd-gnats-submit@FreeBSD.org>; Wed,  1 Apr 2009 08:36:18 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n318aHAT040685
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 1 Apr 2009 08:36:17 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n318aHt4040684;
	Wed, 1 Apr 2009 08:36:17 GMT
	(envelope-from nobody)
Message-Id: <200904010836.n318aHt4040684@www.freebsd.org>
Date: Wed, 1 Apr 2009 08:36:17 GMT
From: peter garstea <pg@fincombank.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: is there a solution how to run nfs client in jail environment?
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         133265
>Category:       kern
>Synopsis:       [jail] is there a solution how to run nfs client in jail environment?
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-jail
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 01 08:40:03 UTC 2009
>Closed-Date:    
>Last-Modified:  Mon Jun  8 17:30:07 UTC 2009
>Originator:     peter garstea
>Release:        7.1
>Organization:
fcb
>Environment:
FreeBSD jail.bfc-internal.com 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #2: Fri Mar 27 13:04:22 EET 2009     admin@jail.bfc-internal.com:/usr/obj/usr/src/sys/kernel.2009-26-03  i386
>Description:
cannot run nfs server/client in jail
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-i386->freebsd-bugs 
Responsible-Changed-By: brucec 
Responsible-Changed-When: Thu Apr 9 23:13:39 UTC 2009 
Responsible-Changed-Why:  
Not i386 specific. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133265 
Responsible-Changed-From-To: freebsd-bugs->freebsd-jail 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Apr 10 02:15:18 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=133265 

From: Jilles Tjoelker <jilles@stack.nl>
To: bug-followup@FreeBSD.org, pg@fincombank.com
Cc:  
Subject: Re: kern/133265: [jail] is there a solution how to run nfs client
	in jail environment?
Date: Sat, 11 Apr 2009 18:33:57 +0200

 Consider using mount in the outside system, specifying a path under the
 jail root, for example
 basebox# mount -t nfs somehost:/path /jails/jail001/nfsmount
 
 -- 
 Jilles Tjoelker

From: "Bjoern A. Zeeb" <bz@FreeBSD.org>
To: bug-followup@FreeBSD.org, pg@fincombank.com
Cc:  
Subject: Re: kern/133265: [jail] is there a solution how to run nfs client
 in jail environment?
Date: Mon, 8 Jun 2009 17:18:35 +0000 (UTC)

 The general answer is:  it is not possible.
 
 You could do the NFS mount from the base system and have the
 mountpoint within the visbility of the jail.
 
 You may get around enabling raw_sockets but if that works somehow I
 wouldn't rely on it and you'll have to be aware of what globally
 enabling raw sockets means.
 
 With FreeBSD 8 it will hopefully be possible as you may have your own
 network stack oer jail.  I am just not sure if the NFS code is there
 ("fully virtualized") yet to make it work.
 
 -- 
 Bjoern A. Zeeb                      The greatest risk is not taking one.
>Unformatted:
