On Thu, Aug 18, 2011 at 3:05 PM, Alejandro Imass <a...@p2ee.org> wrote:
> On Thu, Aug 11, 2011 at 7:38 PM, Jason Helfman <jhelf...@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 <a...@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
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to