From owner-freebsd-jail@FreeBSD.ORG Fri May 28 22:25:22 2010 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 C0E811065670 for ; Fri, 28 May 2010 22:25:22 +0000 (UTC) (envelope-from tjg@soe.ucsc.edu) Received: from mail-01.cse.ucsc.edu (mail-01.cse.ucsc.edu [128.114.48.32]) by mx1.freebsd.org (Postfix) with ESMTP id AEF4A8FC1C for ; Fri, 28 May 2010 22:25:22 +0000 (UTC) Received: from mail-01.cse.ucsc.edu (mail-01.cse.ucsc.edu [128.114.48.32]) by mail-01.cse.ucsc.edu (Postfix) with ESMTP id ACF131008305 for ; Fri, 28 May 2010 15:07:53 -0700 (PDT) Date: Fri, 28 May 2010 15:07:53 -0700 (PDT) From: Tim Gustafson To: freebsd-jail@freebsd.org Message-ID: <945052632.315351275084473673.JavaMail.root@mail-01.cse.ucsc.edu> In-Reply-To: <580521541.315331275084459494.JavaMail.root@mail-01.cse.ucsc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [128.114.49.22] X-Mailer: Zimbra 5.0.20_GA_3127.RHEL5_64 (ZimbraWebClient - FF3.0 ([unknown])/5.0.20_GA_3127.RHEL5_64) Subject: Mounting NFS From Within a 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: Fri, 28 May 2010 22:25:22 -0000 Hi, I previously sent this message to the freebsd-questions list, but I think perhaps I should have posted it to the freebsd-jail list instead. Is it possible to mount an NFS file system from within a jail? On my jail host, I have: security.jail.mount_allowed: 1 >From the jail host, I can mount just fine: root@jailhost: mount /dev/da0s1a on / (ufs, local) devfs on /dev (devfs, local, multilabel) nfsserver:/usr/ports on /usr/ports (nfs) nfsserver:/usr/src on /usr/src (nfs) nfsserver:/usr/obj on /usr/obj (nfs) However, from within a jail, I get: root@jailguest: mount nfsserver:/usr/ports /usr/ports mount_nfs: /usr/ports, : Operation not permitted Am I missing something else here? Tim Gustafson Baskin School of Engineering UC Santa Cruz tjg@soe.ucsc.edu 831-459-5354