From owner-freebsd-emulation@FreeBSD.ORG Wed Feb 22 10:55:08 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 311D916A420 for ; Wed, 22 Feb 2006 10:55:08 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D61D43D55 for ; Wed, 22 Feb 2006 10:55:07 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 29EA11A3C1C; Wed, 22 Feb 2006 02:55:07 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EC451521FC; Wed, 22 Feb 2006 05:55:03 -0500 (EST) Date: Wed, 22 Feb 2006 05:55:03 -0500 From: Kris Kennaway To: Alexander Leidinger Message-ID: <20060222105503.GA86596@xor.obsecurity.org> References: <28edec3c0602211753p7290e85q3fb23d799c0cf0fc@mail.gmail.com> <20060222015924.GA74781@xor.obsecurity.org> <28edec3c0602211901j63066e01te585c12a42057d1e@mail.gmail.com> <20060222030810.GA75798@xor.obsecurity.org> <20060222111658.2589ilcqo40w8ccs@netchild.homeip.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rwEMma7ioTxnRzrJ" Content-Disposition: inline In-Reply-To: <20060222111658.2589ilcqo40w8ccs@netchild.homeip.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-emulation@freebsd.org, "Mars G. Miro" , Kris Kennaway 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:55:08 -0000 --rwEMma7ioTxnRzrJ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 22, 2006 at 11:16:58AM +0100, Alexander Leidinger wrote: > Kris Kennaway wrote: >=20 > Regarding the question of the OP: changing "ro" to "ro,noauto" has a simi= lar > effect in the race-case. >=20 > >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. >=20 > 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. >=20 > Kris, would this work on pointyhat? I don't think so: I posted a log excerpt of what fails when linprocfs remains mounted (because the umount doesn't work somehow) during the install. cpio needs to be told somehow not to try and write into /proc. Kris --rwEMma7ioTxnRzrJ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD/EMHWry0BWjoQKURAqTCAJ9K+vOObFOqodrq3UqSK6HjZ0FuaACg/eil IRKn5+OO3wJqCEx5/2T48mE= =IQZU -----END PGP SIGNATURE----- --rwEMma7ioTxnRzrJ--