Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Oct 2005 10:32:24 -0400
From:      Mark Bucciarelli <mark@gaiahost.coop>
To:        Michael Christie <michael@christie.org.au>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Linux computability
Message-ID:  <20051028143224.GD428@rabbit>
In-Reply-To: <435B1576.6060406@christie.org.au>
References:  <435B1576.6060406@christie.org.au>

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




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