From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 22 10:17:03 2006 Return-Path: X-Original-To: freebsd-emulation@freebsd.org Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 426ED16A420 for ; Wed, 22 Feb 2006 10:17:03 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from www.ebusiness-leidinger.de (jojo.ms-net.de [84.16.236.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6288B43D4C for ; Wed, 22 Feb 2006 10:17:01 +0000 (GMT) (envelope-from Alexander@Leidinger.net) Received: from Andro-Beta.Leidinger.net (p54A5D2B4.dip.t-dialin.net [84.165.210.180]) (authenticated bits=0) by www.ebusiness-leidinger.de (8.13.1/8.13.1) with ESMTP id k1MA3JR5020499; Wed, 22 Feb 2006 11:03:19 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from localhost (localhost [127.0.0.1]) by Andro-Beta.Leidinger.net (8.13.3/8.13.3) with ESMTP id k1MAGw7c020276; Wed, 22 Feb 2006 11:16:59 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde MIME library) with HTTP; Wed, 22 Feb 2006 11:16:58 +0100 Message-ID: <20060222111658.2589ilcqo40w8ccs@netchild.homeip.net> X-Priority: 3 (Normal) Date: Wed, 22 Feb 2006 11:16:58 +0100 From: Alexander Leidinger To: Kris Kennaway References: <28edec3c0602211753p7290e85q3fb23d799c0cf0fc@mail.gmail.com> <20060222015924.GA74781@xor.obsecurity.org> <28edec3c0602211901j63066e01te585c12a42057d1e@mail.gmail.com> <20060222030810.GA75798@xor.obsecurity.org> In-Reply-To: <20060222030810.GA75798@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-Virus-Scanned: by amavisd-new Cc: freebsd-emulation@freebsd.org, "Mars G. Miro" Subject: Re: linprocfs and linux_base port upgrade X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2006 10:17:03 -0000 Kris Kennaway wrote: Regarding the question of the OP: changing "ro" to "ro,noauto" has a similar effect in the race-case. > On Wed, Feb 22, 2006 at 11:01:57AM +0800, Mars G. Miro wrote: > >> > No, it's because it tried and failed to umount linprocfs. Presumably >> > you didnt have linprocfs mounted in your jail, but some packages >> >> Well mounting/unmounting stuff inside the jail is a pain. I now recall >> I had to mount linprocfs from the host to the jail, thus I was able to >> build them. Hrm, perhaps its time for jail__linprocfs_enable >> (as with devfs inside a jail) ... > > I think you're missing my point: if you don't have linprocfs mounted, > ports like jdk will fail. If you do have it mounted, ports like > linux_base will fail [because they need to umount it and remount it]. > > The latter should be fixed so that you can consistently set up a jail > and have it work in both cases. Perhaps (completely untested): @exec mkdir -p %D/proc || true @dirrmtry proc @unexec [ ! -d %D/proc ] || echo "+++ Please unmount linprocfs and remove %D/proc by hand!" and not touching linprocfs at all. Kris, would this work on pointyhat? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 What good is having someone who can walk on water if you don't follow in his footsteps?