From owner-freebsd-stable@FreeBSD.ORG Sat May 7 01:19:14 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 D710116A4D4 for ; Sat, 7 May 2005 01:19:14 +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 7222943D58 for ; Sat, 7 May 2005 01:19:12 +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 9AC6721BF; Fri, 6 May 2005 18:18:32 -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 6DA312181; Fri, 6 May 2005 18:18:32 -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 j471JKNe013174 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 May 2005 18:19:21 -0700 (PDT) (envelope-from hartzell@satchel.alerce.com) Received: (from hartzell@localhost) by satchel.alerce.com (8.13.1/8.13.1/Submit) id j471JJHh013170; Fri, 6 May 2005 18:19:19 -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: <17020.6038.618856.265788@satchel.alerce.com> Date: Fri, 6 May 2005 18:19:18 -0700 To: Eirik =?ISO-8859-1?B?2A==?=verby In-Reply-To: References: 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" 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 01:19:15 -0000 Eirik =D8verby writes: > Hi, >=20 > I just started playing with mounting ports into jails using unionfs > (mount_unionfs -b /usr/ports_jail /usr/local/jails/jail-0/usr/ports)= , and > many things seem to work fine. > However, when trying to install either of mysql41-server or mysql41-= client, > I see the following: >=20 > [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: mysqlc= lient.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 >=20 > Stop in /usr/ports/databases/mysql41-server. >=20 > 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've started just using a virgin ports tree as the underpinnings for my unionfs'ed jails. Is there any chance that you've installed mysql-server on the host? g.