Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2000 19:34:32 +0200
From:      Gabriel Ambuehl <gabriel_ambuehl@buz.ch>
To:        The Hermit Hacker <scrappy@hub.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: jail'd environments ... one quick question ...
Message-ID:  <2035541776.20000818193432@buz.ch>
In-Reply-To: <Pine.BSF.4.21.0008181322430.3758-100000@thelab.hub.org>
References:  <Pine.BSF.4.21.0008181322430.3758-100000@thelab.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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