atom feed2 messages in org.freebsd.freebsd-jailRe: kern/133265: [jail] is there a so...
FromSent OnAttachments
Bjoern A. ZeebJun 8, 2009 10:29 am 
Eirik ØverbyJun 8, 2009 10:32 am 
Subject:Re: kern/133265: [jail] is there a solution how to run nfs client in jail environment?
From:Eirik Øverby (ltn@anduin.net)
Date:Jun 8, 2009 10:32:33 am
List:org.freebsd.freebsd-jail

Hoi, someone (Landon) did a java16 build on one of our sparc64 jails using NFS in some way for cross-building elsewhere and stuff. Some userland NFS from ports, I believe.

Just fyi. /Eirik

On 8. juni. 2009, at 19.30, Bjoern A. Zeeb wrote:

The following reply was made to PR kern/133265; it has been noted by GNATS.

From: "Bjoern A. Zeeb" <bz@FreeBSD.org> To: bug-@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.