Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Nov 2011 21:45:00 -0500
From:      Alejandro Imass <ait@p2ee.org>
To:        Jason Helfman <jhelfman@e-e.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: ports make search not working in jails
Message-ID:  <CAHieY7S3F5n%2BEyMLGqUNAcg3=TnBfUyURFUCTLy4fOrj%2BGupqQ@mail.gmail.com>
In-Reply-To: <CAHieY7R3%2BCVTpdOUN==Tu161oPpqSfwT1kLKFUf7D72mutrs%2Bg@mail.gmail.com>
References:  <CAHieY7Q9rneK-LbjmP8U7wUdVEgty6HD4ZiAsbU8XN22iB%2BGHQ@mail.gmail.com> <CAHieY7T7vsDZOjLuoLjXb3e4f-BmdLkTajxL9bW%2BN2LAPQtxXQ@mail.gmail.com> <20110811233804.GC6585@eggman.experts-exchange.com> <CAHieY7R3%2BCVTpdOUN==Tu161oPpqSfwT1kLKFUf7D72mutrs%2Bg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 18, 2011 at 3:05 PM, Alejandro Imass <ait@p2ee.org> wrote:
> On Thu, Aug 11, 2011 at 7:38 PM, Jason Helfman <jhelfman@e-e.com> 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 <ait@p2ee.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHieY7S3F5n%2BEyMLGqUNAcg3=TnBfUyURFUCTLy4fOrj%2BGupqQ>