From owner-freebsd-stable@FreeBSD.ORG Wed Sep 6 23:47:15 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 570E516A4E0 for ; Wed, 6 Sep 2006 23:47:15 +0000 (UTC) (envelope-from mistry.7@osu.edu) Received: from mail.united-ware.com (am-productions.biz [69.61.164.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7065A43D70 for ; Wed, 6 Sep 2006 23:47:06 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.100] (cpe-24-210-75-119.columbus.res.rr.com [24.210.75.119]) (authenticated bits=0) by mail.united-ware.com (8.13.6/8.13.6) with ESMTP id k86NxXen095375 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 6 Sep 2006 19:59:40 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: Dewayne Geraghty , freebsd-stable@freebsd.org Date: Wed, 6 Sep 2006 19:47:23 -0400 User-Agent: KMail/1.9.1 References: <010701c6d207$cdddb160$0205000a@white> In-Reply-To: <010701c6d207$cdddb160$0205000a@white> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1473414.ZF6PaQ9hUu"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200609061947.37796.mistry.7@osu.edu> X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,MYFREEBSD2, SPF_HELO_SOFTFAIL,SPF_SOFTFAIL autolearn=no version=3.1.3 X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on mail.united-ware.com X-Virus-Scanned: ClamAV 0.88.4/1815/Wed Sep 6 11:42:27 2006 on mail.united-ware.com X-Virus-Status: Clean Cc: Subject: Re: Symbolic Links in /dev of a jail X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Sep 2006 23:47:15 -0000 --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--