Linux computability

Mark Bucciarelli mark at gaiahost.coop
Fri Oct 28 07:32:32 PDT 2005


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



More information about the freebsd-questions mailing list