Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Jun 2011 16:11:45 -0400
From:      Aaron Weeden <amweeden.earlham@gmail.com>
To:        freebsd-jail@freebsd.org
Subject:   NFS export of directory in jail
Message-ID:  <BANLkTi=FsEtVxV0grAottCfMpq4rgc2OPg@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=FsEtVxV0grAottCfMpq4rgc2OPg>