From owner-freebsd-stable@FreeBSD.ORG Sat May 7 14:06:08 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 662B416A4DB for ; Sat, 7 May 2005 14:06:08 +0000 (GMT) Received: from hub.org (hub.org [200.46.204.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id 274DC43D6B for ; Sat, 7 May 2005 14:06:07 +0000 (GMT) (envelope-from scrappy@hub.org) Received: from localhost (unknown [200.46.204.144]) by hub.org (Postfix) with ESMTP id 99EED64E37C; Sat, 7 May 2005 11:06:06 -0300 (ADT) Received: from hub.org ([200.46.204.220]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 35290-05; Sat, 7 May 2005 14:06:01 +0000 (GMT) Received: from ganymede.hub.org (blk-222-81-172.eastlink.ca [24.222.81.172]) by hub.org (Postfix) with ESMTP id 27AB164DCC0; Sat, 7 May 2005 11:06:06 -0300 (ADT) Received: by ganymede.hub.org (Postfix, from userid 1000) id 5DEF838C2D; Sat, 7 May 2005 11:06:05 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by ganymede.hub.org (Postfix) with ESMTP id 5CC1338BFD; Sat, 7 May 2005 11:06:05 -0300 (ADT) Date: Sat, 7 May 2005 11:06:05 -0300 (ADT) From: "Marc G. Fournier" To: Eirik =?ISO-8859-1?B?2A==?=verby In-Reply-To: Message-ID: <20050507110403.D42300@ganymede.hub.org> References: MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-144879048-1115474765=:42300" X-Virus-Scanned: by amavisd-new at hub.org cc: "stable@freebsd.org" cc: hartzell@alerce.com Subject: Re: unionfs limitations? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list 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 14:06:08 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-144879048-1115474765=:42300 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE On Sat, 7 May 2005, Eirik [ISO-8859-1] =D8verby wrote: > On 07-05-05 03:19, "George Hartzell" wrote: > >> Eirik =D8verby writes: >>> Hi, >>> >>> I just started playing with mounting ports into jails using unionfs >>> (mount_unionfs -b /usr/ports_jail /usr/local/jails/jail-0/usr/ports), a= nd >>> many things seem to work fine. >>> However, when trying to install either of mysql41-server or mysql41-cli= ent, >>> I see the following: >>> >>> [root@mpi1] /usr/ports/databases/mysql41-server# make install >>> =3D=3D=3D> Installing for mysql-server-4.1.11_1 >>> =3D=3D=3D> mysql-server-4.1.11_1 depends on shared library: mysqlclie= nt.14 - >>> found >>> =3D=3D=3D> Generating temporary packing list >>> =3D=3D=3D> Checking if databases/mysql41-server already installed >>> ln: POSIX: Operation not supported >>> *** Error code 1 >>> >>> Stop in /usr/ports/databases/mysql41-server. >>> >>> Did I miss out on something, or is this not going to work? Do I need to >>> think in other ways? >>> [...] >> >> 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 and >> install stuff onto the "host" machine, the ports infrastructure in the >> jail gets kind of confused. It seems to be checking for the files in >> the dependencies, doesn't find them, goes to make them, and then >> [depending on what state the relevant port directory is in], things >> get "odd". > > I noticed that pretty early on, yea ;) Has 5.x *really* gone that far downhill? :( 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 ... ---- Marc G. Fournier Hub.Org Networking Services (http://www.hub.org) Email: scrappy@hub.org Yahoo!: yscrappy ICQ: 7615664 --0-144879048-1115474765=:42300--