Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2015 21:15:48 -0200
From:      Cassiano Peixoto <peixotocassiano@gmail.com>
To:        Ben Woods <woodsb02@gmail.com>
Cc:        "freebsd-ports@freebsd.org" <freebsd-ports@freebsd.org>
Subject:   Re: Poudriere in a jail error
Message-ID:  <CAJajdNWQcsEFWbSNk%2BYTfM9=cyo22GOd_PK9O-r0euikO0HU%2BA@mail.gmail.com>
In-Reply-To: <CAOc73CBqxh-bVAJ2ZaoNFc4FNo2u%2B_nb-7VTxxZ2FXeTCAud=w@mail.gmail.com>
References:  <CAJajdNUUwcj28j3obhBO7Pq_m7QVojL6%2BUF26RNW1fGMRXhYkQ@mail.gmail.com> <CAOc73CBqxh-bVAJ2ZaoNFc4FNo2u%2B_nb-7VTxxZ2FXeTCAud=w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ben,

I just found out a fix using the url you sent me. I used poudriere -x
bulk... to debug the problem.

By default a jail doesn't start with loopback interface and poudriere try
to build a jail inside a jail using loopback interface.

So to fix it i added the following to /etc/jail.conf in host system and
restart my jail:

ip4.addr=xx.xx.xx.xx, 127.0.0.1;

Thanks for your tip.

On Thu, Jan 29, 2015 at 8:39 PM, Ben Woods <woodsb02@gmail.com> wrote:

> That looks similar to this bug entry:
> https://github.com/freebsd/poudriere/issues/216
>
> Does that information help at all?
>
>
> On Friday, January 30, 2015, Cassiano Peixoto <peixotocassiano@gmail.com>
> wrote:
>
>> Hi,
>>
>> I'm trying to run Poudriere inside a jail to build my packages but i'm
>> having the following error:
>>
>> [00:00:00] ====>> Creating the reference jail... done
>> [00:00:03] ====>> Mounting system devices for 10amd64-system
>> [00:00:03] ====>> Mounting ports/packages/distfiles
>> [00:00:03] ====>> Using packages from previously failed build
>> [00:00:03] ====>> Mounting packages from:
>> /poudriere/data/packages/10amd64-system
>> [00:00:03] ====>> Mounting /var/db/ports from:
>> /usr/local/etc/poudriere.d/options
>> [00:00:03] ====>> Appending to make.conf:
>> /usr/local/etc/poudriere.d/make.conf
>> /etc/resolv.conf -> /poudriere/data/.m/10amd64-system/ref/etc/resolv.conf
>> [00:00:03] ====>> Starting jail 10amd64-system
>> jail: jail_set: Operation not permitted
>> [00:00:03] ====>> Cleaning up
>> [00:00:03] ====>> Umounting file systems
>>
>> Any idea what's going on?
>>
>> Thanks
>> _______________________________________________
>> freebsd-ports@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
>> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>>
>
>
> --
>
> --
> From: Benjamin Woods
> woodsb02@gmail.com
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJajdNWQcsEFWbSNk%2BYTfM9=cyo22GOd_PK9O-r0euikO0HU%2BA>