From owner-freebsd-questions Mon Nov 19 23:44:44 2001 Delivered-To: freebsd-questions@freebsd.org Received: from scaup.prod.itd.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by hub.freebsd.org (Postfix) with ESMTP id 9C85837B416 for ; Mon, 19 Nov 2001 23:44:37 -0800 (PST) Received: from dialup-209.244.107.81.dial1.sanjose1.level3.net ([209.244.107.81] helo=blossom.cjclark.org) by scaup.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 1665a8-0005NV-00; Mon, 19 Nov 2001 23:44:37 -0800 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.3) id fAK7i9802885; Mon, 19 Nov 2001 23:44:09 -0800 (PST) (envelope-from cjc) Date: Mon, 19 Nov 2001 23:44:09 -0800 From: "Crist J. Clark" To: francisv@dagupan.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Help with setting up jail Message-ID: <20011119234409.Y69555@blossom.cjclark.org> Reply-To: cjclark@alum.mit.edu References: <10F29E27A956D511B0940050DA8D86A9340BB1@apmail.dagupan.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <10F29E27A956D511B0940050DA8D86A9340BB1@apmail.dagupan.com>; from francisv@dagupan.com on Tue, Nov 20, 2001 at 02:15:36PM +0800 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Tue, Nov 20, 2001 at 02:15:36PM +0800, francisv@dagupan.com wrote: > Thanks Crist! BTW, do you also know other references/pointers/tips related > to jail (e.g. setting up of web services, ftp, mail, etc.)? Set them up like you normally would. People sometimes forget the obvious, everything that the jail needs to operate must be in the jail (the jail cannot access the parent environment). If something doesn't work, 1) Try the _exact_ same setup in the parent environment. If it doesn't work there either, it's not a jail(8) issue. 2) Try to figure out what the programs are doing that is not allowed in a jail. See if you can configure around it. 3) Figure out if it can be done at all and get into serious hacking to make the programs or jail(8) work. -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message