From owner-freebsd-questions@FreeBSD.ORG Fri Oct 28 14:32:31 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEB1E16A41F for ; Fri, 28 Oct 2005 14:32:31 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from biodiesel.gaiahost.coop (biodiesel.gaiahost.coop [64.95.78.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id A18D243D45 for ; Fri, 28 Oct 2005 14:32:31 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from localhost (host-64-65-195-19.spr.choiceone.net [::ffff:64.65.195.19]) (AUTH: LOGIN mark@hubcapconsulting.com) by biodiesel.gaiahost.coop with esmtp; Fri, 28 Oct 2005 10:32:25 -0400 id 0081C07F.4362367B.00007DA8 Received: by localhost (sSMTP sendmail emulation); Fri, 28 Oct 2005 10:32:24 -0400 Date: Fri, 28 Oct 2005 10:32:24 -0400 From: Mark Bucciarelli To: Michael Christie Message-ID: <20051028143224.GD428@rabbit> Mail-Followup-To: Michael Christie , freebsd-questions@freebsd.org References: <435B1576.6060406@christie.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <435B1576.6060406@christie.org.au> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: Linux computability X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Oct 2005 14:32:32 -0000 On Sun, Oct 23, 2005 at 02:45:42PM +1000, Michael Christie wrote: > Now Linux programs run in side of the jail. Thanks for posting what you had success with. I followed your instructions, but when I try to install the java/jdk14 port inside the jail, I get the message that I need to mount /compat/linux/proc. Could it be a difference in the value of security.jail.getfsstatroot? What is the value of this param on your machine? Any other ideas? Details (FreeBSD 5.4): bash-2.05b# mount | grep linprocfs linprocfs on /web/jail/myjail/compat/linux/proc (linprocfs, local) bash-2.05b# jexec 41 /usr/local/bin/bash bash-2.05b# cd /usr/ports/java/jdk14 bash-2.05b# make install clean [...] ERROR: You have to have LINPROCFS mounted before starting to build of native JDK 1.4.2. You may do it by following set of commands: # kldload linprocfs # # and # # # mount -t linprocfs linprocfs /compat/linux/proc # # *** Error code 1 # # Stop in /usr/ports/java/jdk14. m