From owner-freebsd-questions@FreeBSD.ORG Wed Nov 16 02:45:10 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4DE71065676 for ; Wed, 16 Nov 2011 02:45:10 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 001DE8FC08 for ; Wed, 16 Nov 2011 02:45:00 +0000 (UTC) Received: by ggnk3 with SMTP id k3so11671467ggn.13 for ; Tue, 15 Nov 2011 18:45:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.50.217.195 with SMTP id pa3mr30825075igc.12.1321411500100; Tue, 15 Nov 2011 18:45:00 -0800 (PST) Sender: aimass@yabarana.com Received: by 10.231.14.200 with HTTP; Tue, 15 Nov 2011 18:45:00 -0800 (PST) In-Reply-To: References: <20110811233804.GC6585@eggman.experts-exchange.com> Date: Tue, 15 Nov 2011 21:45:00 -0500 X-Google-Sender-Auth: JFQlX4N9HOnITrWyoklX941y8Gg Message-ID: From: Alejandro Imass To: Jason Helfman Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Subject: Re: ports make search not working in jails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Nov 2011 02:45:10 -0000 On Thu, Aug 18, 2011 at 3:05 PM, Alejandro Imass wrote: > On Thu, Aug 11, 2011 at 7:38 PM, Jason Helfman wrote: >> On Thu, Aug 11, 2011 at 11:05:14AM -0400, Alejandro Imass thus spake: >>> >>> On Thu, Aug 11, 2011 at 10:15 AM, Alejandro Imass wrote: >>>> >>>> Hi, > [...] > Today I noticed something interesting... > [...] OK, so it happened to me again on a new server and here is the cause: When you initialize ezjail if you forget the -p to include ports you can actually fix this by re-initializing with ezjail-admin update -p -i and perhaps -P afterwards. The problem arises if you had already created a jail _before_ you realized you forgot the -p switch. When you try to fetchindex it will tell you the error I originally posted. All you have to do on those jails that you created before fixing it with -p is just create the directory /var/ports inside each one of those jails. >From then on, the fetchindex will work and everything else will work as well. I'm guessing this would fix itself if you install a first port without fetching the index, which is probably what happened to me before when it seemed to start working. For the thread history i must conclude my last post on this was wrong and the actual way to fix it is by creating the directory in the problematic jails. Best, -- Alejandro Imass