Date: Wed, 6 Sep 2006 19:47:23 -0400 From: Anish Mistry <mistry.7@osu.edu> To: Dewayne Geraghty <dewayne.geraghty@heuristicsystems.com.au>, freebsd-stable@freebsd.org Subject: Re: Symbolic Links in /dev of a jail Message-ID: <200609061947.37796.mistry.7@osu.edu> In-Reply-To: <010701c6d207$cdddb160$0205000a@white> References: <010701c6d207$cdddb160$0205000a@white>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1473414.ZF6PaQ9hUu Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 06 September 2006 18:57, Dewayne Geraghty wrote: > Generally there is a barrier accessing files/directories that exist > outside a jail. The best way is to create a mount point > (directory) in the jail, and mount_nullfs outside the jail. > E.g in the jail, mkdir /fun > Outside the jail, mount_nullfs /outside/jail/path/to/fun > /insidejail/fun This will make the jail see the "external" file or > directory. Right, I'm not trying to access anything outside of the jail. I've=20 already exposed all of the required device nodes to the jail and it=20 all works if I start iaxmodem and manually create the symlink from=20 the host environment. The resulting link when viewed from the jail=20 still points to the jailed environment, which is fine since that's=20 what I want. > Good luck on getting asterisk and friends to work, that was too > hard, so a "friend" gave me a pabx on a linux machine...I'd be > interested if you're successful on Freebsd. My setup works perfect outside of a jailed environment. Asterisk=20 works fine within the jail (eg. voicemail, menus, etc.), just not=20 iaxmodem+hylafax due to the symlink issue. =2D-=20 Anish Mistry --nextPart1473414.ZF6PaQ9hUu Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBE/14ZxqA5ziudZT0RAjskAJ9cHKjQnJ4+LEmUV4CZv1x3hg3gOgCgg+WE GU5p6+wY9xv5sTq9cQRPkUk= =Q+UF -----END PGP SIGNATURE----- --nextPart1473414.ZF6PaQ9hUu--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609061947.37796.mistry.7>