From owner-freebsd-questions Fri Aug 18 10:32:46 2000 Delivered-To: freebsd-questions@freebsd.org Received: from beta.root-servers.ch (beta.root-servers.ch [195.49.33.19]) by hub.freebsd.org (Postfix) with SMTP id 8D4A937B423 for ; Fri, 18 Aug 2000 10:32:43 -0700 (PDT) Received: (qmail 33710 invoked from network); 18 Aug 2000 17:32:42 -0000 Received: from client80-30.hispeed.ch (HELO 10.2.2.100) (62.2.80.30) by alpha.root-servers.ch with SMTP; 18 Aug 2000 17:32:42 -0000 Date: Fri, 18 Aug 2000 19:34:32 +0200 From: Gabriel Ambuehl X-Mailer: The Bat! (v1.45 Beta/6) Personal Organization: BUZ Internet Services X-Priority: 3 (Normal) Message-ID: <2035541776.20000818193432@buz.ch> To: The Hermit Hacker Cc: freebsd-questions@freebsd.org Subject: Re: jail'd environments ... one quick question ... In-reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello The, Friday, August 18, 2000, 6:26:29 PM, you wrote: > can someone tell me how much disk space I should need to allocate *per* > jail? and each jail will require its own /usr/local directory, > etc? Hard to say. IIRC the dejanews procedure ended up with almost 100mb data in the jaildir. You can, however, delete everything you don't need to run the software which you intend to run in the jail. For CGI (mainly Perl + Modules), you can calculate with something like 15mb or so. > there is no way of 'nfs mounting' an existing /usr to /jail/usr so > that it can share those resources, which would be especially helpful when > doing an upgrade of the system? :) Never tried. The idea itself sounds interesting... BTW: I'd really like to know if anyone got sbox or some other cgiwrapper with either chroot or even jail got running under FreeBSD and Apache (preferably one which sids to the owner of the script being run and does a chroot()/jail() (meaning I don't need to set something in apache.conf)). Best regards, Gabriel To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message