From owner-freebsd-questions Thu Jun 6 10:54: 7 2002 Delivered-To: freebsd-questions@freebsd.org Received: from hobbiton.shire.net (frogmorton.shire.net [204.228.145.136]) by hub.freebsd.org (Postfix) with ESMTP id 9AE3F37B407 for ; Thu, 6 Jun 2002 10:53:55 -0700 (PDT) Received: from [68.64.98.90] (helo=lime.objectwerks.com) by hobbiton.shire.net with asmtp (Exim 3.36 #9) id 17G1SM-000Hin-00; Thu, 06 Jun 2002 13:53:54 -0400 Date: Thu, 6 Jun 2002 13:54:21 -0400 Subject: Re: JDK in a Jail? Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v481) Cc: freebsd-questions@freebsd.org To: "aaron g" From: Chad Leigh -- Shire.Net LLC In-Reply-To: <20020606174627.29406.qmail@operamail.com> Message-Id: <6E202D1E-7976-11D6-B30D-0003931BED80@shire.net> Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.481) 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 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... Chad > > thanks > - aarong > > ----- Original Message ----- > From: "Chad Leigh -- Shire.Net LLC" > Date: Thu, 6 Jun 2002 13:32:38 -0400 > To: "aaron g" > Subject: Re: JDK in a Jail? > > >> >> On Thursday, June 6, 2002, at 01:22 , aaron g wrote: >> >>> Well it seems the -java people have a lot more to worry >>> about than getting a JDK working in a jail [with good >>> reason! congrats to bill huey on HotSpot success] >>> >>> In anyevent, I was curious if anyone on the list has gotten >>> or tried to get either the native 1.3 JDK or linux binary >>> 1.4 JDK working in a jail environment. I googled and >>> perused the handbook but found nothing helpful at all. >>> >>> >> >> Since a running jail is kind of like its own machine, you should be >> able >> to just install one. I have not tried it but can think of nothing to >> stop it from working. I do have customers who have compiled apache and >> mod_perl and all sorts of things and they just work inside the jail. >> Just copy over the ports and try a make... >> >> The one thing that just occurred to me. Do you have the Linux compat >> stuff installed? >> >> best >> Chad >> >> > > > -- > _______________________________________________ > Download the free Opera browser at http://www.opera.com/ > > Powered by Outblaze > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message