Skip site navigation (1)Skip section navigation (2)
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

[-- Attachment #1 --]
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 
already exposed all of the required device nodes to the jail and it 
all works if I start iaxmodem and manually create the symlink from 
the host environment.  The resulting link when viewed from the jail 
still points to the jailed environment, which is fine since that's 
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 
works fine within the jail (eg. voicemail, menus, etc.), just not 
iaxmodem+hylafax due to the symlink issue.

-- 
Anish Mistry

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQBE/14ZxqA5ziudZT0RAjskAJ9cHKjQnJ4+LEmUV4CZv1x3hg3gOgCgg+WE
GU5p6+wY9xv5sTq9cQRPkUk=
=Q+UF
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609061947.37796.mistry.7>