Date: Fri, 28 May 2010 15:07:53 -0700 (PDT) From: Tim Gustafson <tjg@soe.ucsc.edu> To: freebsd-jail@freebsd.org Subject: Mounting NFS From Within a Jail Message-ID: <945052632.315351275084473673.JavaMail.root@mail-01.cse.ucsc.edu> In-Reply-To: <580521541.315331275084459494.JavaMail.root@mail-01.cse.ucsc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?945052632.315351275084473673.JavaMail.root>