From owner-freebsd-questions Thu Jun 6 14:14: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from arpa.com (arpa.com [199.245.173.5]) by hub.freebsd.org (Postfix) with ESMTP id 101A637B406 for ; Thu, 6 Jun 2002 14:13:58 -0700 (PDT) Received: by arpa.com (Postfix, from userid 103) id AAFAAF0406; Thu, 6 Jun 2002 16:13:57 -0500 (CDT) Date: Thu, 6 Jun 2002 16:13:57 -0500 From: Chip Norkus To: "Chad Leigh -- Shire. Net LLC" Cc: aaron g , freebsd-questions@freebsd.org Subject: Re: JDK in a Jail? Message-ID: <20020606161357.S1929@arpa.com> References: <20020606174627.29406.qmail@operamail.com> <6E202D1E-7976-11D6-B30D-0003931BED80@shire.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <6E202D1E-7976-11D6-B30D-0003931BED80@shire.net>; from chad@shire.net on Thu, Jun 06, 2002 at 01:54:21PM -0400 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 Thu Jun 06, 2002; 01:54PM -0400 Chad Leigh -- Shire. Net LLC propagated the following: > > On Thursday, June 6, 2002, at 01:46 , aaron g wrote: > > > Hmm, should have mentioned what I have tried already. The first thing I > > did was copy the ports tree over and just try a simple port install. I > > did not install linux_compat in the host environment and this is where > > I ran into problems. Many of the needed steps [notably "mknod"] are > > impossible to do in a jail environment. > > > > Would rebuilding the host environment with linux_compat and then > > rebuilding the jail resolve my problem? I haven't tried this yet since > > I've already rebuilt my apache jail thrice times now. > > Try this. Install linux_compat in the host, install the jdks you want > to run in the host, copy over the jdks from the host into the jail > directory structure. Once built, they should work I would expect. I > have not tried this yet but maybe I will in my test jail... > You might also try simply compiling the (FreeBSD native) jdk in the host environment, and doing a 'make package', then copying the package itself into the jail and doing a pkg_add. Just don't redistribute your package, or the flying monkeys will get you. > Chad > [snip] > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -wd -- chip norkus; unix geek and programmer; wd@arpa.com "question = (to) ? be : !be;" --Shakespeare http://telekinesis.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message