Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2002 13:54:21 -0400
From:      Chad Leigh -- Shire.Net LLC <chad@shire.net>
To:        "aaron g" <click46@operamail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: JDK in a Jail?
Message-ID:  <6E202D1E-7976-11D6-B30D-0003931BED80@shire.net>
In-Reply-To: <20020606174627.29406.qmail@operamail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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" <chad@shire.net>
> Date: Thu, 6 Jun 2002 13:32:38 -0400
> To: "aaron g" <click46@operamail.com>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6E202D1E-7976-11D6-B30D-0003931BED80>