Date: Thu, 27 May 2010 17:02:12 -0700 (PDT) From: Tim Gustafson <tjg@soe.ucsc.edu> To: freebsd-questions@freebsd.org Subject: Mounting NFS From Within a Jail Message-ID: <377823664.285941275004932013.JavaMail.root@mail-01.cse.ucsc.edu> In-Reply-To: <660565869.285811275004810706.JavaMail.root@mail-01.cse.ucsc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi, 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?377823664.285941275004932013.JavaMail.root>