Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 May 2005 11:36:03 -0700
From:      George Hartzell <hartzell@kestrel.alerce.com>
To:        "Marc G. Fournier" <scrappy@hub.org>
Cc:        Eirik =?ISO-8859-1?B?2A==?=verby <ltning@anduin.net>
Subject:   Re: unionfs limitations?
Message-ID:  <17021.2707.856366.112695@satchel.alerce.com>
In-Reply-To: <20050507110403.D42300@ganymede.hub.org>
References:  <BEA25BFA.14AC3%ltning@anduin.net> <20050507110403.D42300@ganymede.hub.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Marc G. Fournier writes:
 > On Sat, 7 May 2005, Eirik [ISO-8859-1] =D8verby wrote:
 >=20
 > > On 07-05-05 03:19, "George Hartzell" <hartzell@kestrel.alerce.com>=
 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.



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