From owner-freebsd-jail@FreeBSD.ORG Mon Jun 6 20:40:54 2011 Return-Path: Delivered-To: freebsd-jail@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D6FB1106566C for ; Mon, 6 Jun 2011 20:40:54 +0000 (UTC) (envelope-from amweeden.earlham@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6C4A88FC15 for ; Mon, 6 Jun 2011 20:40:53 +0000 (UTC) Received: by wwk4 with SMTP id 4so1864314wwk.1 for ; Mon, 06 Jun 2011 13:40:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=eV0jTecrx7feuCl8enpdGxMn2/BSUnpnJGptb+aAVfk=; b=Oj+lEywXhvzYpmAC69a0MLP2xMVxsLqhxCtIpHl4hujy5io4gHOYLOqI/qIKIsdtrc EhnIyQjQRERwpIWRqJqWCJoan1Sw9X8mQ7qBaD7k8ofnJE4KHckp7MutWdG0veDn1vNO FmKWuZCRmkoMjHxFl3gZ2Sl6IsrmaFXdjn4xU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ECkRNHKF/jOeFeZpVrDQYSO3mk9ZMzz/SfJioelE9Qlo2DGe+eq7XTcD0N8XFDO2aM 6tG2nZQBG7leIZHUuHb70KCxf3fF5yFs9LeeD0TFXNJ1jmVu86oc+CNElk4QDXR0O5BH szk8QvsE+04w/pX3N9ubGmSxQfNlr4Yctj5cs= MIME-Version: 1.0 Received: by 10.227.108.233 with SMTP id g41mr5446415wbp.22.1307391105529; Mon, 06 Jun 2011 13:11:45 -0700 (PDT) Received: by 10.227.137.75 with HTTP; Mon, 6 Jun 2011 13:11:45 -0700 (PDT) Date: Mon, 6 Jun 2011 16:11:45 -0400 Message-ID: From: Aaron Weeden To: freebsd-jail@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: NFS export of directory in jail X-BeenThere: freebsd-jail@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion about FreeBSD jail\(8\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jun 2011 20:40:54 -0000 I am wondering if a parent can export NFS from a mount point inside of a jail running on that host. More specifically, here is the scenario: The parent, murphy, is FreeBSD 8.2-STABLE, running ezjail version 3.0. A jail, positron, is rooted on murphy in /usr/local/jails1/positron. positron has a directory, /clients. murphy will export this directory using NFS. murphy's /etc/exports looks like this: /usr/local/jails1/positron/clients -network 192.168 -mask 255.255.255.0 -maproot=root I have been told that funny things can happen if a parent tries to access part of a jail without using jexec. Will something weird happen to murphy or positron in the scenario described above? Thanks, Aaron