Date: Wed, 08 Jun 2011 10:18:49 +0200 From: Alexander Leidinger <Alexander@Leidinger.net> To: Aaron Weeden <amweeden.earlham@gmail.com> Cc: freebsd-jail@freebsd.org Subject: Re: NFS export of directory in jail Message-ID: <20110608101849.46154sh8xynwxwtl@webmail.leidinger.net> In-Reply-To: <BANLkTi=FsEtVxV0grAottCfMpq4rgc2OPg@mail.gmail.com> References: <BANLkTi=FsEtVxV0grAottCfMpq4rgc2OPg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Quoting Aaron Weeden <amweeden.earlham@gmail.com> (from Mon, 6 Jun 2011 16:11:45 -0400): > 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? As long as ezjail does not automount/-unmount a part of this tree during start/stop: No. Bye, Alexander. -- The ripest fruit falls first. -- William Shakespeare, "Richard II" http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110608101849.46154sh8xynwxwtl>