From owner-freebsd-stable@FreeBSD.ORG Sat May 7 18:36:03 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B46416A4DB for ; Sat, 7 May 2005 18:36:03 +0000 (GMT) Received: from merlin.alerce.com (w094.z064001164.sjc-ca.dsl.cnc.net [64.1.164.94]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87BF343D7F for ; Sat, 7 May 2005 18:36:02 +0000 (GMT) (envelope-from hartzell@kestrel.alerce.com) Received: from merlin.alerce.com (localhost [127.0.0.1]) by merlin.alerce.com (Postfix) with ESMTP id B2B1C2181; Sat, 7 May 2005 11:35:21 -0700 (PDT) Received: from satchel.alerce.com (w092.z064001164.sjc-ca.dsl.cnc.net [64.1.164.92]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) Authority" (verified OK)) by merlin.alerce.com (Postfix) with ESMTP id 88197215F; Sat, 7 May 2005 11:35:21 -0700 (PDT) Received: from satchel.alerce.com (localhost [127.0.0.1]) by satchel.alerce.com (8.13.1/8.13.1) with ESMTP id j47Ia6uh013456 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 7 May 2005 11:36:07 -0700 (PDT) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.1/8.13.1/Submit) id j47Ia4iJ013453; Sat, 7 May 2005 11:36:04 -0700 (PDT) (envelope-from hartzell) From: George Hartzell MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: <17021.2707.856366.112695@satchel.alerce.com> Date: Sat, 7 May 2005 11:36:03 -0700 To: "Marc G. Fournier" In-Reply-To: <20050507110403.D42300@ganymede.hub.org> References: <20050507110403.D42300@ganymede.hub.org> X-Mailer: VM 7.17 under 21.4 (patch 15) "Security Through Obscurity" XEmacs Lucid X-Virus-Scanned: ClamAV using ClamSMTP cc: "stable@freebsd.org" cc: hartzell@alerce.com cc: Eirik =?ISO-8859-1?B?2A==?=verby Subject: Re: unionfs limitations? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hartzell@alerce.com List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2005 18:36:03 -0000 Marc G. Fournier writes: > On Sat, 7 May 2005, Eirik [ISO-8859-1] =D8verby wrote: >=20 > > On 07-05-05 03:19, "George Hartzell" = wrote: > >[...] > >> Here's one unionfs/jail gotcha that's bitten me a couple of times= . If > >> you actually *use* (or, have used) the ports directory to build a= nd > >> install stuff onto the "host" machine, the ports infrastructure i= n the > >> jail gets kind of confused. It seems to be checking for the file= s in > >> the dependencies, doesn't find them, goes to make them, and then > >> [depending on what state the relevant port directory is in], thin= gs > >> get "odd". > > > > I noticed that pretty early on, yea ;) >=20 > Has 5.x *really* gone that far downhill? :( That particular problem isn't a 5.x thing *at all*, it's just a consequence of the way ports work (recording some info as dot files in the work directory) and dependencies are tracked (looking for files out in /usr/local). As soon as I thought about it, it was clear what *I'd* done. > I've been doing the above since about day one ... *but* ... is this = the=20 > case if you set WRKDIRPREFIX=3D to somewhere else in /etc/make.conf?= I=20 > don't build the actual port *in* /usr/ports, so the only thing that = gets=20 > written in /usr/ports is /usr/ports/distfiles ... I think that having the work directories to something else would have avoided the problem quite nicely. Again, it's not a FreeBSD 5 isse at all, just me getting exactly what I asked for.... g.