From owner-freebsd-pkgbase@freebsd.org  Mon Apr  6 09:24:09 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 86AE52A9A6E
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Mon,  6 Apr 2020 09:24:09 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "msa1.earth.yoonka.com",
 Issuer "msa1.earth.yoonka.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 48wlV05dw9z3H7q
 for <freebsd-pkgbase@freebsd.org>; Mon,  6 Apr 2020 09:24:08 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from [10.70.7.24] ([10.70.7.24]) (authenticated bits=0)
 by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 0369O7mB055743
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO)
 for <freebsd-pkgbase@freebsd.org>; Mon, 6 Apr 2020 09:24:07 GMT
 (envelope-from list1@gjunka.com)
To: freebsd-pkgbase@freebsd.org
From: Grzegorz Junka <list1@gjunka.com>
Subject: FreeBSD-base and poudriere
Message-ID: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com>
Date: Mon, 6 Apr 2020 10:24:07 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101
 Thunderbird/68.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-GB
X-Rspamd-Queue-Id: 48wlV05dw9z3H7q
X-Spamd-Bar: -----
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149
 as permitted sender) smtp.mailfrom=list1@gjunka.com
X-Spamd-Result: default: False [-5.86 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149:c];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain];
 TO_DN_NONE(0.00)[];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org];
 RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0];
 DMARC_NA(0.00)[gjunka.com];
 IP_SCORE(-3.56)[ip: (-9.32), ipnet: 88.98.192.0/18(-4.66), asn: 56478(-3.73),
 country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Apr 2020 09:24:09 -0000

Is it possible to create a poudriere jail using FreeBSD-base packages?

I am thinking about a scenario where I build kernel/world and base 
packages on the host, then create a poudriere jail to build packages on 
the exact same kernel/world that was build on the host.

This is of course to help mitigate the issue with building 
drm-fbsd12.0-kmod in poudriere that has to be build with the EXACT same 
sources and kernel configuration as the kernel/world.

GrzegorzJ



From owner-freebsd-pkgbase@freebsd.org  Mon Apr  6 09:42:59 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 462362AA8C8
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Mon,  6 Apr 2020 09:42:59 +0000 (UTC)
 (envelope-from mad@madpilot.net)
Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 48wlvj6Cm5z3Jd2
 for <freebsd-pkgbase@freebsd.org>; Mon,  6 Apr 2020 09:42:57 +0000 (UTC)
 (envelope-from mad@madpilot.net)
Received: from mail (mail [192.168.254.3])
 by mail.madpilot.net (Postfix) with ESMTP id 48wlvY5lkPz6dRG;
 Mon,  6 Apr 2020 11:42:49 +0200 (CEST)
Received: from mail.madpilot.net ([192.168.254.3])
 by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026)
 with ESMTP id TDIrbO-F3SJV; Mon,  6 Apr 2020 11:42:47 +0200 (CEST)
Subject: Re: FreeBSD-base and poudriere
To: Grzegorz Junka <list1@gjunka.com>, freebsd-pkgbase@freebsd.org
References: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com>
From: Guido Falsi <mad@madpilot.net>
Autocrypt: addr=mad@madpilot.net; keydata=
 mQENBE+G+l0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-To: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 48wlvj6Cm5z3Jd2
X-Spamd-Bar: -----
X-Spamd-Result: default: False [-5.03 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 R_DKIM_ALLOW(-0.20)[madpilot.net:s=bjowvop61wgh];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];
 R_SPF_ALLOW(-0.20)[+mx]; NEURAL_HAM_LONG(-1.00)[-1.000,0];
 MIME_GOOD(-0.10)[text/plain];
 IP_SCORE(-2.03)[ip: (-8.53), ipnet: 159.69.0.0/16(-0.04), asn: 24940(-1.57),
 country: DE(-0.02)]; RCVD_COUNT_THREE(0.00)[3];
 TO_MATCH_ENVRCPT_SOME(0.00)[];
 DKIM_TRACE(0.00)[madpilot.net:+]; RCPT_COUNT_TWO(0.00)[2];
 DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCVD_TLS_LAST(0.00)[];
 ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE];
 MID_RHS_MATCH_FROM(0.00)[]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Apr 2020 09:42:59 -0000

On 06/04/20 11:24, Grzegorz Junka wrote:
> Is it possible to create a poudriere jail using FreeBSD-base packages?
> 
> I am thinking about a scenario where I build kernel/world and base
> packages on the host, then create a poudriere jail to build packages on
> the exact same kernel/world that was build on the host.

I'm doing a similar thing on head. What I do is run normal svn up; make
buildworld; make buildkernel; make packages on the poudriere machine. I
the upgrade that machine with the new base packages.

After that I perform:

poudriere jail -j ${j} -u -t 359154

where 359154 is the subversion revision I have just compiled in /usr/src.

So I get packages for that exact head revision.

Hope this answers your question.

BTW I have found no way to create a jail with a fixed svn revision from
the get go. When I need to do that, I resort to temporarily modifying
poudriere code at jail.sh:563, adding -r <rev> option. I then revert the
change.

-- 
Guido Falsi <mad@madpilot.net>

From owner-freebsd-pkgbase@freebsd.org  Mon Apr  6 09:56:41 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2F2902AAE56
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Mon,  6 Apr 2020 09:56:41 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "msa1.earth.yoonka.com",
 Issuer "msa1.earth.yoonka.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 48wmCW5QZXz3KTG
 for <freebsd-pkgbase@freebsd.org>; Mon,  6 Apr 2020 09:56:39 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20])
 (authenticated bits=0)
 by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 0369ucMK056230
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO);
 Mon, 6 Apr 2020 09:56:38 GMT (envelope-from list1@gjunka.com)
Subject: Re: FreeBSD-base and poudriere
To: Guido Falsi <mad@madpilot.net>, freebsd-pkgbase@freebsd.org
References: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com>
 <d07d49a6-740f-25f1-f3ba-4d43d6162f1a@madpilot.net>
From: Grzegorz Junka <list1@gjunka.com>
Message-ID: <649a0a62-1ae4-6ec8-308a-4dadc234126a@gjunka.com>
Date: Mon, 6 Apr 2020 09:56:38 +0000
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101
 Thunderbird/68.5.0
MIME-Version: 1.0
In-Reply-To: <d07d49a6-740f-25f1-f3ba-4d43d6162f1a@madpilot.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Rspamd-Queue-Id: 48wmCW5QZXz3KTG
X-Spamd-Bar: -----
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149
 as permitted sender) smtp.mailfrom=list1@gjunka.com
X-Spamd-Result: default: False [-5.86 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];
 R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149:c];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain];
 DMARC_NA(0.00)[gjunka.com]; TO_MATCH_ENVRCPT_SOME(0.00)[];
 RCPT_COUNT_TWO(0.00)[2];
 IP_SCORE(-3.56)[ip: (-9.32), ipnet: 88.98.192.0/18(-4.66), asn: 56478(-3.73),
 country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Apr 2020 09:56:41 -0000


On 06/04/2020 09:42, Guido Falsi wrote:
> On 06/04/20 11:24, Grzegorz Junka wrote:
>> Is it possible to create a poudriere jail using FreeBSD-base packages?
>>
>> I am thinking about a scenario where I build kernel/world and base
>> packages on the host, then create a poudriere jail to build packages on
>> the exact same kernel/world that was build on the host.
> I'm doing a similar thing on head. What I do is run normal svn up; make
> buildworld; make buildkernel; make packages on the poudriere machine. I
> the upgrade that machine with the new base packages.
>
> After that I perform:
>
> poudriere jail -j ${j} -u -t 359154
>
> where 359154 is the subversion revision I have just compiled in /usr/src.
>
> So I get packages for that exact head revision.
>
> Hope this answers your question.
>
> BTW I have found no way to create a jail with a fixed svn revision from
> the get go. When I need to do that, I resort to temporarily modifying
> poudriere code at jail.sh:563, adding -r <rev> option. I then revert the
> change.
>

Thanks, that's interesting. So, poudriere will build the jail from 
sources from that specific revision?

But I think it still won't solve the problem where the base packages 
have been build with modified kernel configuration. Can you supply a 
custom kernel configuration in your method?

If you have already build the kernel and world on the host, why not use

poudriere jail -c -j 12-1 -v 12.1 -m src=/usr/src

GrzegorzJ



From owner-freebsd-pkgbase@freebsd.org  Mon Apr  6 10:09:51 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id E9BAB2AB13A
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Mon,  6 Apr 2020 10:09:51 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "msa1.earth.yoonka.com",
 Issuer "msa1.earth.yoonka.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 48wmVk31yzz3L0c
 for <freebsd-pkgbase@freebsd.org>; Mon,  6 Apr 2020 10:09:49 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20])
 (authenticated bits=0)
 by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 036A9mTq056402
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO)
 for <freebsd-pkgbase@freebsd.org>; Mon, 6 Apr 2020 10:09:49 GMT
 (envelope-from list1@gjunka.com)
To: freebsd-pkgbase@freebsd.org
From: Grzegorz Junka <list1@gjunka.com>
Subject: FreeBSD-base repository and kernel configuration
Message-ID: <77f34559-8655-348a-b06e-113c059182d1@gjunka.com>
Date: Mon, 6 Apr 2020 10:09:48 +0000
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101
 Thunderbird/68.5.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Rspamd-Queue-Id: 48wmVk31yzz3L0c
X-Spamd-Bar: -----
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149
 as permitted sender) smtp.mailfrom=list1@gjunka.com
X-Spamd-Result: default: False [-5.86 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149:c];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org];
 TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[gjunka.com];
 IP_SCORE(-3.56)[ip: (-9.33), ipnet: 88.98.192.0/18(-4.66), asn: 56478(-3.73),
 country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Apr 2020 10:09:52 -0000

Is it possible/feasible to also include the kernel configuration name 
when creating the repository with "make packages"?

I am thinking about a scenario where I have multiple kernel 
configuration (e.g. for testing) and would like to install kernel/world 
from a specific configuration.

Something like /usr/obj/usr/src/repo/FreeBSD:12:amd64:generic/ or 
/usr/obj/usr/src/repo/FreeBSD:12:amd64/generic/

That's assuming that the world might differ when a different kernel 
configuration is used, not sure if that's true, I think it's true with 
regards to some package, e.g. drm-fbsd12.0-kmod.

GrzegorzJ


From owner-freebsd-pkgbase@freebsd.org  Mon Apr  6 10:59:19 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 184042AC539
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Mon,  6 Apr 2020 10:59:19 +0000 (UTC)
 (envelope-from mad@madpilot.net)
Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 48wnbn57ZPz3NQP
 for <freebsd-pkgbase@freebsd.org>; Mon,  6 Apr 2020 10:59:17 +0000 (UTC)
 (envelope-from mad@madpilot.net)
Received: from mail (mail [192.168.254.3])
 by mail.madpilot.net (Postfix) with ESMTP id 48wnbm1r3wz6dRG;
 Mon,  6 Apr 2020 12:59:16 +0200 (CEST)
Received: from mail.madpilot.net ([192.168.254.3])
 by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026)
 with ESMTP id LdW_EVn7iLiW; Mon,  6 Apr 2020 12:59:14 +0200 (CEST)
Subject: Re: FreeBSD-base and poudriere
To: Grzegorz Junka <list1@gjunka.com>, freebsd-pkgbase@freebsd.org
References: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com>
 <d07d49a6-740f-25f1-f3ba-4d43d6162f1a@madpilot.net>
 <649a0a62-1ae4-6ec8-308a-4dadc234126a@gjunka.com>
From: Guido Falsi <mad@madpilot.net>
Autocrypt: addr=mad@madpilot.net; keydata=
 mQENBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX
 fptkmEo3Rsw816WUrek8dxoUAYdHd+EcpBcnnDzfDH5LW/TZ4gbrFezrHPdRp7wdxi23GN80
 qPwHEwXuF0X4Wy5V0OO8B6VT/nA0ADYnBDhXS52HGIJ/GCUjgqJn+phDTdCFLvrSFdmgx4Wl
 c0W5Z1p5cmDF9l8L/hc959AeyNf7I9dXnjekGM9gVv7UDUYzCifR3U8T0fnfdMmS8NeI9NC+
 wuREpRO4lKOkTnj9TtQJRiptlhcHQiAlG1cFqs7EQo57Tqq6cxD1FycZJLuC32bGbgalABEB
 AAG0Hkd1aWRvIEZhbHNpIDxtYWRAbWFkcGlsb3QubmV0PokBOQQTAQgAIwIbAwIeAQIXgAUL
 CQgHAwUVCgkICwQWAgMBBQJS79AgAhkBAAoJEBrmhg5Wy9KTc0kH/RO64ORBlTbTHaUaOj8F
 Je5O5NU2Pt9Cyt5ZWBRvxntr1zPTJGKRPS9ihlIfqT4ZvEngQGp57EUyFbCpI0UWasTerImM
 tt5WACnGmCzUTB39UXx8Oy4b1EgWeTJQ747e/F1mQLXTNa6ijRBE9fYlTb4gAkPN88/wVV9v
 3PZozKLTg16ghBzHM/P7Lk8L7clPEZChX1FTa/6eSt3nvzfCuTMZbBPJF/ph+q1KyPqRgVfh
 tyhu5dvgMoPz/ni41IfeSrkJTD5RXzdyGR9q4Z1NYeBsLkRjC4LxKAP5KqUsvlOUjKvO1byj
 ApYdMarol+IGkaSk9e3zVYAJkWKjn/ni8Xa5Ag0EUxB7QQEQAKF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7sFpfuxWdEVbtgIdxpzImK
 LXSLA0vOroKAvxFTGBrBq3vxV6eUmaKyd5HbbWejmafY1ua5dcnew9lxpWKLdqkC27Vt0Cku
 +LtTY3325V+BChncwNcJJS7IMmBz6w==
Message-ID: <98f5a68c-90d1-1f9f-4199-aed87d6aabc3@madpilot.net>
Date: Mon, 6 Apr 2020 12:59:13 +0200
In-Reply-To: <649a0a62-1ae4-6ec8-308a-4dadc234126a@gjunka.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 48wnbn57ZPz3NQP
X-Spamd-Bar: -----
X-Spamd-Result: default: False [-5.05 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 R_DKIM_ALLOW(-0.20)[madpilot.net:s=bjowvop61wgh];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];
 R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0];
 MIME_GOOD(-0.10)[text/plain];
 IP_SCORE(-2.05)[ip: (-8.60), ipnet: 159.69.0.0/16(-0.07), asn: 24940(-1.57),
 country: DE(-0.02)]; RCVD_COUNT_THREE(0.00)[3];
 TO_MATCH_ENVRCPT_SOME(0.00)[];
 DKIM_TRACE(0.00)[madpilot.net:+]; RCPT_COUNT_TWO(0.00)[2];
 DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCVD_TLS_LAST(0.00)[];
 ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE];
 MID_RHS_MATCH_FROM(0.00)[]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Apr 2020 10:59:19 -0000

On 06/04/20 11:56, Grzegorz Junka wrote:
> 
> On 06/04/2020 09:42, Guido Falsi wrote:
>> On 06/04/20 11:24, Grzegorz Junka wrote:
>>> Is it possible to create a poudriere jail using FreeBSD-base packages?
>>>
>>> I am thinking about a scenario where I build kernel/world and base
>>> packages on the host, then create a poudriere jail to build packages on
>>> the exact same kernel/world that was build on the host.
>> I'm doing a similar thing on head. What I do is run normal svn up; make
>> buildworld; make buildkernel; make packages on the poudriere machine. I
>> the upgrade that machine with the new base packages.
>>
>> After that I perform:
>>
>> poudriere jail -j ${j} -u -t 359154
>>
>> where 359154 is the subversion revision I have just compiled in /usr/src.
>>
>> So I get packages for that exact head revision.
>>
>> Hope this answers your question.
>>
>> BTW I have found no way to create a jail with a fixed svn revision from
>> the get go. When I need to do that, I resort to temporarily modifying
>> poudriere code at jail.sh:563, adding -r <rev> option. I then revert the
>> change.
>>
> 
> Thanks, that's interesting. So, poudriere will build the jail from
> sources from that specific revision?

Yes, since it will "svn up -r <rev>" it's source tree for that jail.

It will also invalidate and remove all packages if __FreeBSD_version has
changed.

> 
> But I think it still won't solve the problem where the base packages
> have been build with modified kernel configuration. Can you supply a
> custom kernel configuration in your method?

No I can't, but really a modified kernel configuration should not impact
on ports, do you have a specific scenario?

At most ports interact with kernel sources, whatever the configuration.

> 
> If you have already build the kernel and world on the host, why not use
> 
> poudriere jail -c -j 12-1 -v 12.1 -m src=/usr/src

That's an option but I prefer to keep them separated, also because you
will anyway need an updated source tree inside the jail.

But I'm using head, so the scenario is a little different.

For releases I use binary installation and binary updates.

Poudriere will automatically invalidate packages if the release has changed.

-- 
Guido Falsi <mad@madpilot.net>

From owner-freebsd-pkgbase@freebsd.org  Mon Apr  6 11:49:53 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 934EE2AD0BA
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Mon,  6 Apr 2020 11:49:53 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "msa1.earth.yoonka.com",
 Issuer "msa1.earth.yoonka.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 48wpk86X1fz3QbT
 for <freebsd-pkgbase@freebsd.org>; Mon,  6 Apr 2020 11:49:52 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20])
 (authenticated bits=0)
 by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 036Bnomd057757
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO);
 Mon, 6 Apr 2020 11:49:51 GMT (envelope-from list1@gjunka.com)
Subject: Re: FreeBSD-base and poudriere
To: Guido Falsi <mad@madpilot.net>, freebsd-pkgbase@freebsd.org
References: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com>
 <d07d49a6-740f-25f1-f3ba-4d43d6162f1a@madpilot.net>
 <649a0a62-1ae4-6ec8-308a-4dadc234126a@gjunka.com>
 <98f5a68c-90d1-1f9f-4199-aed87d6aabc3@madpilot.net>
From: Grzegorz Junka <list1@gjunka.com>
Message-ID: <acb3e6af-2a75-1c4d-334d-c2719f2ff554@gjunka.com>
Date: Mon, 6 Apr 2020 11:49:50 +0000
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101
 Thunderbird/68.5.0
MIME-Version: 1.0
In-Reply-To: <98f5a68c-90d1-1f9f-4199-aed87d6aabc3@madpilot.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Rspamd-Queue-Id: 48wpk86X1fz3QbT
X-Spamd-Bar: -----
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149
 as permitted sender) smtp.mailfrom=list1@gjunka.com
X-Spamd-Result: default: False [-5.86 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];
 R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain];
 DMARC_NA(0.00)[gjunka.com]; TO_MATCH_ENVRCPT_SOME(0.00)[];
 RCPT_COUNT_TWO(0.00)[2];
 IP_SCORE(-3.56)[ip: (-9.33), ipnet: 88.98.192.0/18(-4.66), asn: 56478(-3.73),
 country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Apr 2020 11:49:53 -0000


>>> I'm doing a similar thing on head. What I do is run normal svn up; make
>>> buildworld; make buildkernel; make packages on the poudriere machine. I
>>> the upgrade that machine with the new base packages.
>>>
>>> After that I perform:
>>>
>>> poudriere jail -j ${j} -u -t 359154
>>>
>>> where 359154 is the subversion revision I have just compiled in /usr/src.
>>>
>>> So I get packages for that exact head revision.
>>>
>>> Hope this answers your question.
>>>
>>> BTW I have found no way to create a jail with a fixed svn revision from
>>> the get go. When I need to do that, I resort to temporarily modifying
>>> poudriere code at jail.sh:563, adding -r <rev> option. I then revert the
>>> change.
>>>
>> Thanks, that's interesting. So, poudriere will build the jail from
>> sources from that specific revision?
> Yes, since it will "svn up -r <rev>" it's source tree for that jail.
>
> It will also invalidate and remove all packages if __FreeBSD_version has
> changed.
>
>> But I think it still won't solve the problem where the base packages
>> have been build with modified kernel configuration. Can you supply a
>> custom kernel configuration in your method?
> No I can't, but really a modified kernel configuration should not impact
> on ports, do you have a specific scenario?
>
> At most ports interact with kernel sources, whatever the configuration.


Yes, I do have a specific scenario of building drm-fbsd12.0-kmod. As I 
was told on the -ports group this package has to be compiled with EXACT 
same sources and kernel configuration as the kernel modules. I don't 
know if that also means building using the kernel compiled from that 
configuration, or if it's enough that the custom kernel configuration is 
active when compiling the port, but definitely it would not be enough to 
just have the kernel sources without the configuration. Unless I 
misunderstood.

GrzegorzJ

From owner-freebsd-pkgbase@freebsd.org  Mon Apr  6 12:12:42 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8EC242AE924
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Mon,  6 Apr 2020 12:12:42 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "msa1.earth.yoonka.com",
 Issuer "msa1.earth.yoonka.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 48wqDT4hldz3xWt
 for <freebsd-pkgbase@freebsd.org>; Mon,  6 Apr 2020 12:12:41 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20])
 (authenticated bits=0)
 by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 036CCdPf058207
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO);
 Mon, 6 Apr 2020 12:12:40 GMT (envelope-from list1@gjunka.com)
Subject: Re: FreeBSD-base and poudriere
From: Grzegorz Junka <list1@gjunka.com>
To: Guido Falsi <mad@madpilot.net>, freebsd-pkgbase@freebsd.org
References: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com>
 <d07d49a6-740f-25f1-f3ba-4d43d6162f1a@madpilot.net>
 <649a0a62-1ae4-6ec8-308a-4dadc234126a@gjunka.com>
 <98f5a68c-90d1-1f9f-4199-aed87d6aabc3@madpilot.net>
 <acb3e6af-2a75-1c4d-334d-c2719f2ff554@gjunka.com>
Message-ID: <954290ed-c947-c539-97f5-d04c25f63213@gjunka.com>
Date: Mon, 6 Apr 2020 12:12:39 +0000
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101
 Thunderbird/68.5.0
MIME-Version: 1.0
In-Reply-To: <acb3e6af-2a75-1c4d-334d-c2719f2ff554@gjunka.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Rspamd-Queue-Id: 48wqDT4hldz3xWt
X-Spamd-Bar: -----
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149
 as permitted sender) smtp.mailfrom=list1@gjunka.com
X-Spamd-Result: default: False [-5.86 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];
 R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149:c];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain];
 DMARC_NA(0.00)[gjunka.com]; TO_MATCH_ENVRCPT_SOME(0.00)[];
 RCPT_COUNT_TWO(0.00)[2];
 IP_SCORE(-3.56)[ip: (-9.33), ipnet: 88.98.192.0/18(-4.67), asn: 56478(-3.73),
 country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Apr 2020 12:12:42 -0000

On 06/04/2020 11:49, Grzegorz Junka wrote:
>
>>>> I'm doing a similar thing on head. What I do is run normal svn up; 
>>>> make
>>>> buildworld; make buildkernel; make packages on the poudriere 
>>>> machine. I
>>>> the upgrade that machine with the new base packages.
>>>>
>>>> After that I perform:
>>>>
>>>> poudriere jail -j ${j} -u -t 359154
>>>>
>>>> where 359154 is the subversion revision I have just compiled in 
>>>> /usr/src.
>>>>
>>>> So I get packages for that exact head revision.
>>>>
>>>> Hope this answers your question.
>>>>
>>>> BTW I have found no way to create a jail with a fixed svn revision 
>>>> from
>>>> the get go. When I need to do that, I resort to temporarily modifying
>>>> poudriere code at jail.sh:563, adding -r <rev> option. I then 
>>>> revert the
>>>> change.
>>>>
>>> Thanks, that's interesting. So, poudriere will build the jail from
>>> sources from that specific revision?
>> Yes, since it will "svn up -r <rev>" it's source tree for that jail.
>>
>> It will also invalidate and remove all packages if __FreeBSD_version has
>> changed.
>>
>>> But I think it still won't solve the problem where the base packages
>>> have been build with modified kernel configuration. Can you supply a
>>> custom kernel configuration in your method?
>> No I can't, but really a modified kernel configuration should not impact
>> on ports, do you have a specific scenario?
>>
>> At most ports interact with kernel sources, whatever the configuration.
>
> Yes, I do have a specific scenario of building drm-fbsd12.0-kmod. As I 
> was told on the -ports group this package has to be compiled with 
> EXACT same sources and kernel configuration as the kernel modules. I 
> don't know if that also means building using the kernel compiled from 
> that configuration, or if it's enough that the custom kernel 
> configuration is active when compiling the port, but definitely it 
> would not be enough to just have the kernel sources without the 
> configuration. Unless I misunderstood.
>
Actually, I just remembered that one can provide custom make.conf. So 
this scenario should be covered by simply adding the KERNCONF with 
custom kernel to the make.conf when creating jail. Oh wait, will it use 
the make.conf when creating a jail or only when building ports?

GrzegorzJ



From owner-freebsd-pkgbase@freebsd.org  Mon Apr  6 13:01:53 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id DD23E2AFA1B
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Mon,  6 Apr 2020 13:01:53 +0000 (UTC) (envelope-from slw@zxy.spb.ru)
Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 48wrKD5bzHz41gT
 for <freebsd-pkgbase@freebsd.org>; Mon,  6 Apr 2020 13:01:52 +0000 (UTC)
 (envelope-from slw@zxy.spb.ru)
Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD))
 (envelope-from <slw@zxy.spb.ru>)
 id 1jLRNo-0008ZX-NX; Mon, 06 Apr 2020 16:01:44 +0300
Date: Mon, 6 Apr 2020 16:01:44 +0300
From: Slawa Olhovchenkov <slw@zxy.spb.ru>
To: Guido Falsi <mad@madpilot.net>
Cc: Grzegorz Junka <list1@gjunka.com>, freebsd-pkgbase@freebsd.org
Subject: Re: FreeBSD-base and poudriere
Message-ID: <20200406130144.GG8012@zxy.spb.ru>
References: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com>
 <d07d49a6-740f-25f1-f3ba-4d43d6162f1a@madpilot.net>
 <649a0a62-1ae4-6ec8-308a-4dadc234126a@gjunka.com>
 <98f5a68c-90d1-1f9f-4199-aed87d6aabc3@madpilot.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <98f5a68c-90d1-1f9f-4199-aed87d6aabc3@madpilot.net>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-SA-Exim-Connect-IP: <locally generated>
X-SA-Exim-Mail-From: slw@zxy.spb.ru
X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false
X-Rspamd-Queue-Id: 48wrKD5bzHz41gT
X-Spamd-Bar: /
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=none (mx1.freebsd.org: domain of slw@zxy.spb.ru has no SPF policy when
 checking 195.70.199.98) smtp.mailfrom=slw@zxy.spb.ru
X-Spamd-Result: default: False [0.25 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-0.60)[-0.602,0]; RCPT_COUNT_THREE(0.00)[3];
 TO_DN_SOME(0.00)[]; FROM_HAS_DN(0.00)[];
 MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[];
 DMARC_NA(0.00)[zxy.spb.ru]; AUTH_NA(1.00)[];
 NEURAL_HAM_LONG(-0.12)[-0.122,0];
 TO_MATCH_ENVRCPT_SOME(0.00)[]; R_SPF_NA(0.00)[];
 FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[];
 MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:5495, ipnet:195.70.192.0/19, country:RU];
 MID_RHS_MATCH_FROM(0.00)[];
 IP_SCORE(0.08)[asn: 5495(0.38), country: RU(0.01)];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Apr 2020 13:01:53 -0000

On Mon, Apr 06, 2020 at 12:59:13PM +0200, Guido Falsi via freebsd-pkgbase wrote:

> On 06/04/20 11:56, Grzegorz Junka wrote:
> > 
> > On 06/04/2020 09:42, Guido Falsi wrote:
> >> On 06/04/20 11:24, Grzegorz Junka wrote:
> >>> Is it possible to create a poudriere jail using FreeBSD-base packages?
> >>>
> >>> I am thinking about a scenario where I build kernel/world and base
> >>> packages on the host, then create a poudriere jail to build packages on
> >>> the exact same kernel/world that was build on the host.
> >> I'm doing a similar thing on head. What I do is run normal svn up; make
> >> buildworld; make buildkernel; make packages on the poudriere machine. I
> >> the upgrade that machine with the new base packages.
> >>
> >> After that I perform:
> >>
> >> poudriere jail -j ${j} -u -t 359154
> >>
> >> where 359154 is the subversion revision I have just compiled in /usr/src.
> >>
> >> So I get packages for that exact head revision.
> >>
> >> Hope this answers your question.
> >>
> >> BTW I have found no way to create a jail with a fixed svn revision from
> >> the get go. When I need to do that, I resort to temporarily modifying
> >> poudriere code at jail.sh:563, adding -r <rev> option. I then revert the
> >> change.
> >>
> > 
> > Thanks, that's interesting. So, poudriere will build the jail from
> > sources from that specific revision?
> 
> Yes, since it will "svn up -r <rev>" it's source tree for that jail.
> 
> It will also invalidate and remove all packages if __FreeBSD_version has
> changed.
> 
> > 
> > But I think it still won't solve the problem where the base packages
> > have been build with modified kernel configuration. Can you supply a
> > custom kernel configuration in your method?
> 
> No I can't, but really a modified kernel configuration should not impact
> on ports, do you have a specific scenario?
> 
> At most ports interact with kernel sources, whatever the configuration.

NOINET6 don't change __FreeBSD_version but affect all inet-related
modules, for example.

From owner-freebsd-pkgbase@freebsd.org  Mon Apr  6 14:17:58 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7F0372B14B1
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Mon,  6 Apr 2020 14:17:58 +0000 (UTC)
 (envelope-from info.abhach013@gmail.com)
Received: from mail-oi1-x243.google.com (mail-oi1-x243.google.com
 [IPv6:2607:f8b0:4864:20::243])
 (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 48wt114m8gz47VT
 for <freebsd-pkgbase@freebsd.org>; Mon,  6 Apr 2020 14:17:57 +0000 (UTC)
 (envelope-from info.abhach013@gmail.com)
Received: by mail-oi1-x243.google.com with SMTP id w2so13189410oic.5
 for <freebsd-pkgbase@freebsd.org>; Mon, 06 Apr 2020 07:17:57 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=message-id:from:to:subject:date:mime-version:thread-index
 :content-language;
 bh=1co1suKbbOPA6GyjzLhRC48b4kx/+ORpOl0fTAct6BA=;
 b=X2WaumqkC5XcqSivP6ycXGcG/RzSZmDKmHPriUckU5T1n78tSF6sk9aYlcdmyNlWZ7
 ShuX3n+uH4fIXWLo2iP89TBoGbjjZ8LbxgOipeyKrYHx0lvu05EwoBWs69nkq08CvL+G
 /iaPkYSzJBdTFRO3EA5ECG2nP+AEwY3u6V6Y1lhqRNObq64VB1eXdHD33/m1Z+qAvTM6
 lnrvnnN7Ftcpu3vf510hmNTJ9kHgR6ptZXzEAa99kyujHCvk6Zg2yGB2gaSrAuwtsoTz
 EsGL85sH1+FUqE3ddwAzshM5hWdOrLETOybS0W+5DqCGk2WDZYyrgY1bU+Z5KADmI/cx
 UPPQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:message-id:from:to:subject:date:mime-version
 :thread-index:content-language;
 bh=1co1suKbbOPA6GyjzLhRC48b4kx/+ORpOl0fTAct6BA=;
 b=h2KmacLGYk31S8a2sAphEYD+X9MXElvIdOsBsVsru5lh1kr9Xd9yNdWyB3DUhveCfr
 iRN0+vVd3I5r7BdhaEWRnY/3jjxNHU+X6raanutG3eKbAZQQGC2nCyRn12/LggRnmD6o
 72hd6zfVeWeHn28AMgsGHoFCEfAlQj2fVuzfyAk6OUsANhEGpImpevXUzgojri4mRkDM
 o8Zq/M9rpN3k/YNWbMLKkbf/L4eQnrqCiF5fBq6F+hN72YqM0UlPnb4qbY90YwXKQ1sn
 /YXXi9EN+AQYNB1Z68yo1QjyKgKsWUYdppqbLHSysCqJ3l4K1zBQmmB1/1+nYRL71s5H
 9mCA==
X-Gm-Message-State: AGi0PuZF2dt0bwNG//CfdAqsTNBphH6pxVOFurD7a3xKaDZY779ui2OM
 m1ioAnTI/TU/wNy1HoJc+9pmMSZi
X-Google-Smtp-Source: APiQypJ0VxH34Mx28Uxf6DVtqRfZDK4GzX4Zn6URgvEt13Xr1AxFwB6mYOJJtMhwGbnG0+8JJS/NVg==
X-Received: by 2002:a17:90a:d3cf:: with SMTP id
 d15mr7677185pjw.134.1586182187218; 
 Mon, 06 Apr 2020 07:09:47 -0700 (PDT)
Received: from adminPC ([203.192.236.237])
 by smtp.gmail.com with ESMTPSA id y6sm3703070pjw.23.2020.04.06.07.09.45
 for <freebsd-pkgbase@freebsd.org>
 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128);
 Mon, 06 Apr 2020 07:09:46 -0700 (PDT)
Message-ID: <5e8b382a.1c69fb81.4139e.e047@mx.google.com>
X-Google-Original-Message-ID: <15ba01d60c1d$08029460$1807bd20$@abhach013@gmail.com>
From: "Praveen" <info.abhach013@gmail.com>
To: <freebsd-pkgbase@freebsd.org>
Subject: about apps
Date: Mon, 6 Apr 2020 19:39:23 +0530
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: AdYMGzqQNvZGgdYmRaWaMhJjc4XQug==
Content-Language: en-us
X-Rspamd-Queue-Id: 48wt114m8gz47VT
X-Spamd-Bar: ++++++
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=gmail.com header.s=20161025 header.b=X2Waumqk;
 dmarc=pass (policy=none) header.from=gmail.com;
 spf=pass (mx1.freebsd.org: domain of infoabhach013@gmail.com designates
 2607:f8b0:4864:20::243 as permitted sender)
 smtp.mailfrom=infoabhach013@gmail.com
X-Spamd-Result: default: False [6.81 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[];
 R_SPF_ALLOW(0.00)[+ip6:2607:f8b0:4000::/36:c];
 FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[];
 RCVD_COUNT_THREE(0.00)[3]; DKIM_TRACE(0.00)[gmail.com:+];
 DMARC_POLICY_ALLOW(0.00)[gmail.com,none];
 RECEIVED_SPAMHAUS_PBL(0.00)[237.236.192.203.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net
 : 127.0.0.11]; FROM_EQ_ENVFROM(0.00)[];
 MIME_TRACE(0.00)[0:+,1:+,2:~];
 FREEMAIL_ENVFROM(0.00)[gmail.com];
 ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US];
 TAGGED_FROM(0.00)[];
 DWL_DNSWL_NONE(0.00)[gmail.com.dwl.dnswl.org : 127.0.5.0];
 ARC_NA(0.00)[];
 RECEIVED_SPAMHAUS_XBL(5.00)[237.236.192.203.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net
 : 127.0.0.4]; R_DKIM_ALLOW(0.00)[gmail.com:s=20161025];
 FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[];
 MIME_GOOD(-0.10)[multipart/alternative,text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org];
 NEURAL_SPAM_MEDIUM(0.84)[0.840,0]; RCPT_COUNT_ONE(0.00)[1];
 BAD_REP_POLICIES(0.10)[]; IP_SCORE_FREEMAIL(0.00)[];
 IP_SCORE(0.00)[ip: (0.10), ipnet: 2607:f8b0::/32(-0.33), asn: 15169(-0.43),
 country: US(-0.05)]; NEURAL_SPAM_LONG(0.97)[0.973,0];
 RCVD_IN_DNSWL_NONE(0.00)[3.4.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org
 : 127.0.5.0]; RCVD_TLS_ALL(0.00)[]; GREYLIST(0.00)[pass,body]
X-Spam: Yes
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Apr 2020 14:17:58 -0000

Hi freebsd-pkgbase@freebsd.org,

 

Greetings!

 

Do you want a Mobile Apps (Android/iOS app) for your Business?

 

We develop low cost mobile applications for global enterprises that help
them grow their business.

 

We have expertise in:

 

. Mobile App for Finance company
. Mobile App for Insurance company
. Taxi/Food Delivery App
. Restaurant App
. Health Industry App
. Real-estate listing App
. E-learning App
. E-commerce App

 

If interested, please write me back with your requirement and ideas, 

 

Thanks,

Praveen

(India)

 


From owner-freebsd-pkgbase@freebsd.org  Mon Apr  6 14:21:26 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7BEB52B175E
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Mon,  6 Apr 2020 14:21:26 +0000 (UTC)
 (envelope-from mad@madpilot.net)
Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 48wt506prFz47jy
 for <freebsd-pkgbase@freebsd.org>; Mon,  6 Apr 2020 14:21:24 +0000 (UTC)
 (envelope-from mad@madpilot.net)
Received: from mail (mail [192.168.254.3])
 by mail.madpilot.net (Postfix) with ESMTP id 48wt4y4Tgxz6ddk;
 Mon,  6 Apr 2020 16:21:22 +0200 (CEST)
Received: from mail.madpilot.net ([192.168.254.3])
 by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026)
 with ESMTP id 7HWJy6nsa7bJ; Mon,  6 Apr 2020 16:21:20 +0200 (CEST)
Subject: Re: FreeBSD-base and poudriere
To: Slawa Olhovchenkov <slw@zxy.spb.ru>
Cc: Grzegorz Junka <list1@gjunka.com>, freebsd-pkgbase@freebsd.org
References: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com>
 <d07d49a6-740f-25f1-f3ba-4d43d6162f1a@madpilot.net>
 <649a0a62-1ae4-6ec8-308a-4dadc234126a@gjunka.com>
 <98f5a68c-90d1-1f9f-4199-aed87d6aabc3@madpilot.net>
 <20200406130144.GG8012@zxy.spb.ru>
From: Guido Falsi <mad@madpilot.net>
Autocrypt: addr=mad@madpilot.net; keydata=
 mQENBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OP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R5oZJVNA/k4X2H7M3JUr1BSc32L7BJt8M7A
 ntul6k17J0L8GmkvLvTUtQTO+p+DYQMna2ngD3PbAvQRcbEGnkg9ABrdEF0Wp4Gx+gGGWsyF
 KlHvPdMtgWAy3JsS+rQapG6LoW3yUJpwpEpA86KdBwARAQABiQEfBCgBCAAJBQJTEH0NAh0B
 AAoJEBrmhg5Wy9KTMZcIAMSsidGF4KpjGcKzhkNK0sEpevcelQ6DzgT7kcXuq6LQ6YOrbof2
 /KPgGie9/ToFZfJXH8zE5GefqkKvHZbYssWilFvkI90F9n138kG205NB/2zlaQb74/v9ZMXJ
 XcipnIx+T2tOMCBgHJU41IMJmB+NfRt5A6CDytJdhWxqppsEo5jjy/7tJM1Nn47G87tAV8qV
 NUtzbS6zdnbHB4W2BJwCObbVv8epL3hu/L5efV2j2tSbVTmyvK/ClYMBqdtUo3uPX75GF/Ku
 YDCOP1BTA5zzmzp4PMVd+gmHcMgCZKY6lvcEtdi5FLI0we2kcY8ffPvM2d6MNhFsGLaVI95J
 0oqJAR8EGAECAAkFAk+G+l0CGwwACgkQGuaGDlbL0pM18Qf9HTNNhu8N0ISKtmR8lgPhJuu8
 9rOEa8KKEatr4fQ7gL+hmYOEqZ/yHLcPQvGxbAlLR7F0SheKvAEk4B1aFwGULPo0SzuO0d/W
 tVMEbGa95JTm/6mfiymWMlWf8UifD1MDKzzPR7Om0ybeoPM8S/RQTboUU1WLpwd4mg9pVJlK
 0xr55GOSHNf4m7S+P1kvl3xgmEj14zVMq9yJBNWFlsQK5ciifh7sFpfuxWdEVbtgIdxpzImK
 LXSLA0vOroKAvxFTGBrBq3vxV6eUmaKyd5HbbWejmafY1ua5dcnew9lxpWKLdqkC27Vt0Cku
 +LtTY3325V+BChncwNcJJS7IMmBz6w==
Message-ID: <ef51e13b-e730-fe40-85da-1ac41c1d9da5@madpilot.net>
Date: Mon, 6 Apr 2020 16:21:19 +0200
In-Reply-To: <20200406130144.GG8012@zxy.spb.ru>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 48wt506prFz47jy
X-Spamd-Bar: -----
X-Spamd-Result: default: False [-5.07 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 R_DKIM_ALLOW(-0.20)[madpilot.net:s=bjowvop61wgh];
 FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3];
 R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0];
 MIME_GOOD(-0.10)[text/plain];
 IP_SCORE(-2.07)[ip: (-8.66), ipnet: 159.69.0.0/16(-0.10), asn: 24940(-1.57),
 country: DE(-0.02)]; TO_DN_SOME(0.00)[];
 RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[];
 DKIM_TRACE(0.00)[madpilot.net:+];
 DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCVD_TLS_LAST(0.00)[];
 ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE];
 MID_RHS_MATCH_FROM(0.00)[]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Apr 2020 14:21:26 -0000

On 06/04/20 15:01, Slawa Olhovchenkov wrote:
> On Mon, Apr 06, 2020 at 12:59:13PM +0200, Guido Falsi via freebsd-pkgbase wrote:
> 
>> On 06/04/20 11:56, Grzegorz Junka wrote:
>>>
>>> On 06/04/2020 09:42, Guido Falsi wrote:
>>>> On 06/04/20 11:24, Grzegorz Junka wrote:
>>>>> Is it possible to create a poudriere jail using FreeBSD-base packages?
>>>>>
>>>>> I am thinking about a scenario where I build kernel/world and base
>>>>> packages on the host, then create a poudriere jail to build packages on
>>>>> the exact same kernel/world that was build on the host.
>>>> I'm doing a similar thing on head. What I do is run normal svn up; make
>>>> buildworld; make buildkernel; make packages on the poudriere machine. I
>>>> the upgrade that machine with the new base packages.
>>>>
>>>> After that I perform:
>>>>
>>>> poudriere jail -j ${j} -u -t 359154
>>>>
>>>> where 359154 is the subversion revision I have just compiled in /usr/src.
>>>>
>>>> So I get packages for that exact head revision.
>>>>
>>>> Hope this answers your question.
>>>>
>>>> BTW I have found no way to create a jail with a fixed svn revision from
>>>> the get go. When I need to do that, I resort to temporarily modifying
>>>> poudriere code at jail.sh:563, adding -r <rev> option. I then revert the
>>>> change.
>>>>
>>>
>>> Thanks, that's interesting. So, poudriere will build the jail from
>>> sources from that specific revision?
>>
>> Yes, since it will "svn up -r <rev>" it's source tree for that jail.
>>
>> It will also invalidate and remove all packages if __FreeBSD_version has
>> changed.
>>
>>>
>>> But I think it still won't solve the problem where the base packages
>>> have been build with modified kernel configuration. Can you supply a
>>> custom kernel configuration in your method?
>>
>> No I can't, but really a modified kernel configuration should not impact
>> on ports, do you have a specific scenario?
>>
>> At most ports interact with kernel sources, whatever the configuration.
> 
> NOINET6 don't change __FreeBSD_version but affect all inet-related
> modules, for example.
> 

__FreeBSD_version can be changed only via commit it's unrelated to options.

Anyway I accept your correction, but I don't see the issue anyway,
changing such kernel configurations is not something one does every day
or should be done without planning for it.

-- 
Guido Falsi <mad@madpilot.net>

From owner-freebsd-pkgbase@freebsd.org  Mon Apr  6 14:22:59 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0FF9C2B1E35
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Mon,  6 Apr 2020 14:22:59 +0000 (UTC)
 (envelope-from mad@madpilot.net)
Received: from mail.madpilot.net (vogon.madpilot.net [159.69.1.99])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 48wt6n6rmBz483b
 for <freebsd-pkgbase@freebsd.org>; Mon,  6 Apr 2020 14:22:57 +0000 (UTC)
 (envelope-from mad@madpilot.net)
Received: from mail (mail [192.168.254.3])
 by mail.madpilot.net (Postfix) with ESMTP id 48wt6m3qjmz6ddk;
 Mon,  6 Apr 2020 16:22:56 +0200 (CEST)
Received: from mail.madpilot.net ([192.168.254.3])
 by mail (mail.madpilot.net [192.168.254.3]) (amavisd-new, port 10026)
 with ESMTP id MmrMsPj4-OQN; Mon,  6 Apr 2020 16:22:54 +0200 (CEST)
Subject: Re: FreeBSD-base and poudriere
To: Grzegorz Junka <list1@gjunka.com>, freebsd-pkgbase@freebsd.org
References: <8c4f0ffe-6961-f119-0034-0becf860b616@gjunka.com>
 <d07d49a6-740f-25f1-f3ba-4d43d6162f1a@madpilot.net>
 <649a0a62-1ae4-6ec8-308a-4dadc234126a@gjunka.com>
 <98f5a68c-90d1-1f9f-4199-aed87d6aabc3@madpilot.net>
 <acb3e6af-2a75-1c4d-334d-c2719f2ff554@gjunka.com>
From: Guido Falsi <mad@madpilot.net>
Autocrypt: addr=mad@madpilot.net; keydata=
 mQENBE+G+l0BCADi/WBQ0aRJfnE7LBPsM0G3m/m3Yx7OPu4iYFvS84xawmRHtCNjWIntsxuX
 fptkm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8M7A
 ntul6k17J0L8GmkvLvTUtQTO+p+DYQMna2ngD3PbAvQRcbEGnkg9ABrdEF0Wp4Gx+gGGWsyF
 KlHvPdMtgWAy3JsS+rQapG6LoW3yUJpwpEpA86KdBwARAQABiQEfBCgBCAAJBQJTEH0NAh0B
 AAoJEBrmhg5Wy9KTMZcIAMSsidGF4KpjGcKzhkNK0sEpevcelQ6DzgT7kcXuq6LQ6YOrbof2
 /KPgGie9/ToFZfJXH8zE5GefqkKvHZbYssWilFvkI90F9n138kG205NB/2zlaQb74/v9ZMXJ
 XcipnIx+T2tOMCBgHJU41IMJmB+NfRt5A6CDytJdhWxqppsEo5jjy/7tJM1Nn47G87tAV8qV
 NUtzbS6zdnbHB4W2BJwCObbVv8epL3hu/L5efV2j2tSbVTmyvK/ClYMBqdtUo3uPX75GF/Ku
 YDCOP1BTA5zzmzp4PMVd+gmHcMgCZKY6lvcEtdi5FLI0we2kcY8ffPvM2d6MNhFsGLaVI95J
 0oqJAR8EGAECAAkFAk+G+l0CGwwACgkQGuaGDlbL0pM18Qf9HTNNhu8N0ISKtmR8lgPhJuu8
 9rOEa8KKEatr4fQ7gL+hmYOEqZ/yHLcPQvGxbAlLR7F0SheKvAEk4B1aFwGULPo0SzuO0d/W
 tVMEbGa95JTm/6mfiymWMlWf8UifD1MDKzzPR7Om0ybeoPM8S/RQTboUU1WLpwd4mg9pVJlK
 0xr55GOSHNf4m7S+P1kvl3xgmEj14zVMq9yJBNWFlsQK5ciifh7sFpfuxWdEVbtgIdxpzImK
 LXSLA0vOroKAvxFTGBrBq3vxV6eUmaKyd5HbbWejmafY1ua5dcnew9lxpWKLdqkC27Vt0Cku
 +LtTY3325V+BChncwNcJJS7IMmBz6w==
Message-ID: <ab310304-fcee-8a0b-8c1a-06fd7b33020c@madpilot.net>
Date: Mon, 6 Apr 2020 16:22:53 +0200
In-Reply-To: <acb3e6af-2a75-1c4d-334d-c2719f2ff554@gjunka.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 48wt6n6rmBz483b
X-Spamd-Bar: -----
X-Spamd-Result: default: False [-5.09 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 R_DKIM_ALLOW(-0.20)[madpilot.net:s=bjowvop61wgh];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];
 R_SPF_ALLOW(-0.20)[+mx:c]; NEURAL_HAM_LONG(-1.00)[-1.000,0];
 MIME_GOOD(-0.10)[text/plain];
 IP_SCORE(-2.09)[ip: (-8.72), ipnet: 159.69.0.0/16(-0.13), asn: 24940(-1.57),
 country: DE(-0.02)]; RCVD_COUNT_THREE(0.00)[3];
 TO_MATCH_ENVRCPT_SOME(0.00)[];
 DKIM_TRACE(0.00)[madpilot.net:+]; RCPT_COUNT_TWO(0.00)[2];
 DMARC_POLICY_ALLOW(-0.50)[madpilot.net,quarantine];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 RCVD_TLS_LAST(0.00)[];
 ASN(0.00)[asn:24940, ipnet:159.69.0.0/16, country:DE];
 MID_RHS_MATCH_FROM(0.00)[]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Apr 2020 14:22:59 -0000

On 06/04/20 13:49, Grzegorz Junka wrote:
> 
>>>> I'm doing a similar thing on head. What I do is run normal svn up; make
>>>> buildworld; make buildkernel; make packages on the poudriere machine. I
>>>> the upgrade that machine with the new base packages.
>>>>
>>>> After that I perform:
>>>>
>>>> poudriere jail -j ${j} -u -t 359154
>>>>
>>>> where 359154 is the subversion revision I have just compiled in
>>>> /usr/src.
>>>>
>>>> So I get packages for that exact head revision.
>>>>
>>>> Hope this answers your question.
>>>>
>>>> BTW I have found no way to create a jail with a fixed svn revision from
>>>> the get go. When I need to do that, I resort to temporarily modifying
>>>> poudriere code at jail.sh:563, adding -r <rev> option. I then revert
>>>> the
>>>> change.
>>>>
>>> Thanks, that's interesting. So, poudriere will build the jail from
>>> sources from that specific revision?
>> Yes, since it will "svn up -r <rev>" it's source tree for that jail.
>>
>> It will also invalidate and remove all packages if __FreeBSD_version has
>> changed.
>>
>>> But I think it still won't solve the problem where the base packages
>>> have been build with modified kernel configuration. Can you supply a
>>> custom kernel configuration in your method?
>> No I can't, but really a modified kernel configuration should not impact
>> on ports, do you have a specific scenario?
>>
>> At most ports interact with kernel sources, whatever the configuration.
> 
> 
> Yes, I do have a specific scenario of building drm-fbsd12.0-kmod. As I
> was told on the -ports group this package has to be compiled with EXACT
> same sources and kernel configuration as the kernel modules. I don't
> know if that also means building using the kernel compiled from that
> configuration, or if it's enough that the custom kernel configuration is
> active when compiling the port, but definitely it would not be enough to
> just have the kernel sources without the configuration. Unless I
> misunderstood.

I'm not sure that's the case for drm-fbsd12.0-kmod. I think it only
needs the same exact kernel sources.

The to actually use drm you will need a running kernel with the required
parts, but that should not change how the package is built.

-- 
Guido Falsi <mad@madpilot.net>

From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 12:39:33 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 79B9A2B8F68
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 12:39:33 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "msa1.earth.yoonka.com",
 Issuer "msa1.earth.yoonka.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 48zvb85DBcz4b4q
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 12:39:32 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20])
 (authenticated bits=0)
 by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 03BCdUmA078175
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO)
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 12:39:31 GMT
 (envelope-from list1@gjunka.com)
To: freebsd-pkgbase@freebsd.org
From: Grzegorz Junka <list1@gjunka.com>
Subject: /root on a separate dataset breaks FreeBSD-base installation
Message-ID: <97d9e8d2-faa8-f02a-6a8e-008056486c65@gjunka.com>
Date: Sat, 11 Apr 2020 12:39:30 +0000
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101
 Thunderbird/68.5.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Content-Language: en-US
X-Rspamd-Queue-Id: 48zvb85DBcz4b4q
X-Spamd-Bar: -----
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149
 as permitted sender) smtp.mailfrom=list1@gjunka.com
X-Spamd-Result: default: False [-5.87 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0];
 FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149:c];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org];
 TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]; DMARC_NA(0.00)[gjunka.com];
 IP_SCORE(-3.57)[ip: (-9.35), ipnet: 88.98.192.0/18(-4.68), asn: 56478(-3.74),
 country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 12:39:33 -0000

I am following https://wiki.freebsd.org/PkgBase

This:

pkg install -g 'FreeBSD-*'

fails with this:

[2/800] Extracting FreeBSD-runtime-12.1_3:   4%
pkg: Fail to create hardlink: 
/root/.pkgtemp..cshrc.v5sxGCRu3GlP:Cross-device link
[2/800] Extracting FreeBSD-runtime-12.1_3: 100%

/root is in a different ZFS dataset. It works fine if it's not. Why pkg 
is using /root/.pkgtemp instead of /tmp or /var/tmp? It doesn't matter 
from where I run the command, looks like the path is hardcoded.

Can I workaround with some option to pkg?

GrzegorzJ



From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 13:27:26 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8495F2B9DA8
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 13:27:26 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "msa1.earth.yoonka.com",
 Issuer "msa1.earth.yoonka.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 48zwfP42fkz4dST
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 13:27:25 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20])
 (authenticated bits=0)
 by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 03BDRN4n078790
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO)
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 13:27:24 GMT
 (envelope-from list1@gjunka.com)
To: freebsd-pkgbase@freebsd.org
From: Grzegorz Junka <list1@gjunka.com>
Subject: Using etcupdate with pkgbase
Message-ID: <799195bc-5c77-c022-6b62-e8f3433422dd@gjunka.com>
Date: Sat, 11 Apr 2020 13:27:23 +0000
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101
 Thunderbird/68.5.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Rspamd-Queue-Id: 48zwfP42fkz4dST
X-Spamd-Bar: -----
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149
 as permitted sender) smtp.mailfrom=list1@gjunka.com
X-Spamd-Result: default: False [-5.87 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain];
 TO_DN_NONE(0.00)[];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org];
 RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0];
 DMARC_NA(0.00)[gjunka.com];
 IP_SCORE(-3.57)[ip: (-9.35), ipnet: 88.98.192.0/18(-4.68), asn: 56478(-3.74),
 country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 13:27:26 -0000

I have reinstalled the base system from FreeBSD pacakges build on a 
different server. I have also created a tarball to use with etcupdate

root@build:~ # etcupdate build -s /usr/src-12-1-p3 
/usr/obj/usr/src-12-1-p3_etc.tgz

I have extracted it on the destination host

root@host:/tmp # etcupdate extract -t /tmp/src-12-1-p3_etc.tgz

How am I supposed to maintain etc updates going forward? Just running 
etcupdate returns with an error:

root@host:~ # etcupdate
Failed to build new tree.


From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 15:08:28 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0D9002BB671
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 15:08:28 +0000 (UTC)
 (envelope-from manu@bidouilliste.com)
Received: from mx.blih.net (mx.blih.net [212.83.155.74])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "mx.blih.net", Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 48zyty5GYMz3FmL
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 15:08:26 +0000 (UTC)
 (envelope-from manu@bidouilliste.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com;
 s=mx; t=1586617698;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=COVq7gDKKo1WdGWvfIMWMxTSDI9qZWFYvghKVROtdeM=;
 b=jBPvbBbElTlDTsZWEpXpnfRwj/6M5xIVmePfZjHAvFm36lsxSqRh0YjnfFOHrz37c9S4z5
 paiBrwjdorFhuWGkO/JxCOqwb/J409OmSjsgv9+WDINEhxmby7zgROT7oEw9Y7Ge2QDT6g
 yIoncf8e3niyNUF5GeSun4WmuGaR+lw=
Received: from skull.home.blih.net (lfbn-idf2-1-900-181.w86-238.abo.wanadoo.fr
 [86.238.131.181]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 1e28d63b
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sat, 11 Apr 2020 15:08:18 +0000 (UTC)
Date: Sat, 11 Apr 2020 17:08:16 +0200
From: Emmanuel Vadot <manu@bidouilliste.com>
To: Grzegorz Junka <list1@gjunka.com>
Cc: freebsd-pkgbase@freebsd.org
Subject: Re: Using etcupdate with pkgbase
Message-Id: <20200411170816.c6318b4fa6074f64335fcdab@bidouilliste.com>
In-Reply-To: <799195bc-5c77-c022-6b62-e8f3433422dd@gjunka.com>
References: <799195bc-5c77-c022-6b62-e8f3433422dd@gjunka.com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 48zyty5GYMz3FmL
X-Spamd-Bar: ---
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=bidouilliste.com header.s=mx header.b=jBPvbBbE;
 dmarc=pass (policy=none) header.from=bidouilliste.com;
 spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates
 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com
X-Spamd-Result: default: False [-3.83 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[];
 R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[];
 TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MV_CASE(0.50)[];
 MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0];
 TO_MATCH_ENVRCPT_SOME(0.00)[];
 DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2];
 DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 IP_SCORE(-1.33)[ip: (-9.04), ipnet: 212.83.128.0/19(1.94), asn: 12876(0.43),
 country: FR(0.00)]; 
 ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 15:08:28 -0000


 Hello,

On Sat, 11 Apr 2020 13:27:23 +0000
Grzegorz Junka <list1@gjunka.com> wrote:

> I have reinstalled the base system from FreeBSD pacakges build on a 
> different server. I have also created a tarball to use with etcupdate
> 
> root@build:~ # etcupdate build -s /usr/src-12-1-p3 
> /usr/obj/usr/src-12-1-p3_etc.tgz
> 
> I have extracted it on the destination host
> 
> root@host:/tmp # etcupdate extract -t /tmp/src-12-1-p3_etc.tgz
> 
> How am I supposed to maintain etc updates going forward? Just running 
> etcupdate returns with an error:
> 
> root@host:~ # etcupdate
> Failed to build new tree.
> 

 You're not supposed to use etcupdate with pkgbase, the pkgs have the
configuration files taggued and so pkg(8) will attempt a 3 way merge on
them.

 Cheers,

-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>

From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 15:12:35 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 5AB112BB9D6
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 15:12:35 +0000 (UTC)
 (envelope-from manu@bidouilliste.com)
Received: from mx.blih.net (mx.blih.net [212.83.155.74])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "mx.blih.net", Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 48zyzk2Rvkz3G9B
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 15:12:34 +0000 (UTC)
 (envelope-from manu@bidouilliste.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com;
 s=mx; t=1586617952;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=XuMAVa8/4GCYUqitAEbMRcQaTA6QWcNqCwD7hcxlnG8=;
 b=fn/IlBzZwqXFMw0DsDgCYVn2avvDWDJxdpj5JUlqEFT7GUK3NnGeduzeS1oiXZXi7Ff0hw
 5orC3CoIR7o3OcndF1qL9QxqbqOyv2Q0TXd5ogZIGoZTauL3RYTfFfumka8enqEdGDO3bK
 8Kk8Xk2sIHdlCM/tWhf+yCVjUzAWtbU=
Received: from skull.home.blih.net (lfbn-idf2-1-900-181.w86-238.abo.wanadoo.fr
 [86.238.131.181]) by mx.blih.net (OpenSMTPD) with ESMTPSA id d03787d7
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sat, 11 Apr 2020 15:12:32 +0000 (UTC)
Date: Sat, 11 Apr 2020 17:12:30 +0200
From: Emmanuel Vadot <manu@bidouilliste.com>
To: Grzegorz Junka <list1@gjunka.com>
Cc: freebsd-pkgbase@freebsd.org
Subject: Re: /root on a separate dataset breaks FreeBSD-base installation
Message-Id: <20200411171230.7a763370da92990c17aff4e1@bidouilliste.com>
In-Reply-To: <97d9e8d2-faa8-f02a-6a8e-008056486c65@gjunka.com>
References: <97d9e8d2-faa8-f02a-6a8e-008056486c65@gjunka.com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0)
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Rspamd-Queue-Id: 48zyzk2Rvkz3G9B
X-Spamd-Bar: ---
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=bidouilliste.com header.s=mx header.b=fn/IlBzZ;
 dmarc=pass (policy=none) header.from=bidouilliste.com;
 spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates
 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com
X-Spamd-Result: default: False [-3.85 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[];
 R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[];
 TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; MV_CASE(0.50)[];
 MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-1.000,0];
 TO_MATCH_ENVRCPT_SOME(0.00)[];
 DKIM_TRACE(0.00)[bidouilliste.com:+]; RCPT_COUNT_TWO(0.00)[2];
 DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 IP_SCORE(-1.35)[ip: (-9.09), ipnet: 212.83.128.0/19(1.92), asn: 12876(0.43),
 country: FR(0.00)]; 
 ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 15:12:35 -0000

On Sat, 11 Apr 2020 12:39:30 +0000
Grzegorz Junka <list1@gjunka.com> wrote:

> I am following https://wiki.freebsd.org/PkgBase
>=20
> This:
>=20
> pkg install -g 'FreeBSD-*'
>=20
> fails with this:
>=20
> [2/800] Extracting FreeBSD-runtime-12.1_3:=A0=A0 4%
> pkg: Fail to create hardlink:=20
> /root/.pkgtemp..cshrc.v5sxGCRu3GlP:Cross-device link
> [2/800] Extracting FreeBSD-runtime-12.1_3: 100%
>=20
> /root is in a different ZFS dataset. It works fine if it's not. Why pkg=20
> is using /root/.pkgtemp instead of /tmp or /var/tmp? It doesn't matter=20
> from where I run the command, looks like the path is hardcoded.

 pkg(8) first extract the file to the target directory but with a
temporary name, if it was using /tmp/ or /var/tmp/ it would have to
potentially move the file from one partition to another while right now
it can just rename it after having dealt with the old copy.

 Can you zfs list on this box please ?

> Can I workaround with some option to pkg?
>=20
> GrzegorzJ
>=20
>=20
> _______________________________________________
> freebsd-pkgbase@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase
> To unsubscribe, send any mail to "freebsd-pkgbase-unsubscribe@freebsd.org"


--=20
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>

From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 15:51:03 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 759072BC6C0
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 15:51:03 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "msa1.earth.yoonka.com",
 Issuer "msa1.earth.yoonka.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 48zzr55bnrz3JL1
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 15:51:01 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20])
 (authenticated bits=0)
 by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 03BFowHX080814
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO);
 Sat, 11 Apr 2020 15:50:58 GMT (envelope-from list1@gjunka.com)
Subject: Re: Using etcupdate with pkgbase
To: Emmanuel Vadot <manu@bidouilliste.com>
Cc: freebsd-pkgbase@freebsd.org
References: <799195bc-5c77-c022-6b62-e8f3433422dd@gjunka.com>
 <20200411170816.c6318b4fa6074f64335fcdab@bidouilliste.com>
From: Grzegorz Junka <list1@gjunka.com>
Message-ID: <ceff2f18-f8ea-8daa-79a3-a71a3707e3ca@gjunka.com>
Date: Sat, 11 Apr 2020 15:50:58 +0000
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101
 Thunderbird/68.5.0
MIME-Version: 1.0
In-Reply-To: <20200411170816.c6318b4fa6074f64335fcdab@bidouilliste.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Rspamd-Queue-Id: 48zzr55bnrz3JL1
X-Spamd-Bar: -----
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149
 as permitted sender) smtp.mailfrom=list1@gjunka.com
X-Spamd-Result: default: False [-5.87 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];
 R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149:c];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain];
 DMARC_NA(0.00)[gjunka.com]; TO_MATCH_ENVRCPT_SOME(0.00)[];
 RCPT_COUNT_TWO(0.00)[2];
 IP_SCORE(-3.57)[ip: (-9.35), ipnet: 88.98.192.0/18(-4.68), asn: 56478(-3.74),
 country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 15:51:03 -0000


On 11/04/2020 15:08, Emmanuel Vadot wrote:
>   Hello,
>
> On Sat, 11 Apr 2020 13:27:23 +0000
> Grzegorz Junka <list1@gjunka.com> wrote:
>
>> I have reinstalled the base system from FreeBSD pacakges build on a
>> different server. I have also created a tarball to use with etcupdate
>>
>> root@build:~ # etcupdate build -s /usr/src-12-1-p3
>> /usr/obj/usr/src-12-1-p3_etc.tgz
>>
>> I have extracted it on the destination host
>>
>> root@host:/tmp # etcupdate extract -t /tmp/src-12-1-p3_etc.tgz
>>
>> How am I supposed to maintain etc updates going forward? Just running
>> etcupdate returns with an error:
>>
>> root@host:~ # etcupdate
>> Failed to build new tree.
>>
>   You're not supposed to use etcupdate with pkgbase, the pkgs have the
> configuration files taggued and so pkg(8) will attempt a 3 way merge on
> them.
>

Thanks for quick update. Is the wiki outdated then?

https://wiki.freebsd.org/PkgBase#Initial_setup

See point 8.


--GrzegorzJ


From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 15:52:26 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1DF522BC72B
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 15:52:26 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "msa1.earth.yoonka.com",
 Issuer "msa1.earth.yoonka.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 48zzsj3FL5z3JfS
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 15:52:25 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20])
 (authenticated bits=0)
 by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 03BFqNmr080821
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO);
 Sat, 11 Apr 2020 15:52:23 GMT (envelope-from list1@gjunka.com)
Subject: Re: /root on a separate dataset breaks FreeBSD-base installation
To: Emmanuel Vadot <manu@bidouilliste.com>
Cc: freebsd-pkgbase@freebsd.org
References: <97d9e8d2-faa8-f02a-6a8e-008056486c65@gjunka.com>
 <20200411171230.7a763370da92990c17aff4e1@bidouilliste.com>
From: Grzegorz Junka <list1@gjunka.com>
Message-ID: <95f4cc8a-a4c2-cadb-f8c3-b0fed7df28c1@gjunka.com>
Date: Sat, 11 Apr 2020 15:52:23 +0000
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101
 Thunderbird/68.5.0
MIME-Version: 1.0
In-Reply-To: <20200411171230.7a763370da92990c17aff4e1@bidouilliste.com>
Content-Language: en-US
X-Rspamd-Queue-Id: 48zzsj3FL5z3JfS
X-Spamd-Bar: ----
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149
 as permitted sender) smtp.mailfrom=list1@gjunka.com
X-Spamd-Result: default: False [-4.84 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.98)[-0.980,0];
 FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[];
 R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149:c];
 NEURAL_HAM_LONG(-1.00)[-1.000,0];
 MIME_GOOD(-0.10)[multipart/alternative,text/plain];
 DMARC_NA(0.00)[gjunka.com]; URI_COUNT_ODD(1.00)[3];
 TO_MATCH_ENVRCPT_SOME(0.00)[]; RCPT_COUNT_TWO(0.00)[2];
 IP_SCORE(-3.56)[ip: (-9.34), ipnet: 88.98.192.0/18(-4.67), asn: 56478(-3.73),
 country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~];
 ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Content-Filtered-By: Mailman/MimeDel 2.1.29
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 15:52:26 -0000


On 11/04/2020 15:12, Emmanuel Vadot wrote:
> On Sat, 11 Apr 2020 12:39:30 +0000
> Grzegorz Junka <list1@gjunka.com> wrote:
>
>> I am following https://wiki.freebsd.org/PkgBase
>>
>> This:
>>
>> pkg install -g 'FreeBSD-*'
>>
>> fails with this:
>>
>> [2/800] Extracting FreeBSD-runtime-12.1_3:   4%
>> pkg: Fail to create hardlink:
>> /root/.pkgtemp..cshrc.v5sxGCRu3GlP:Cross-device link
>> [2/800] Extracting FreeBSD-runtime-12.1_3: 100%
>>
>> /root is in a different ZFS dataset. It works fine if it's not. Why pkg
>> is using /root/.pkgtemp instead of /tmp or /var/tmp? It doesn't matter
>> from where I run the command, looks like the path is hardcoded.
>   pkg(8) first extract the file to the target directory but with a
> temporary name, if it was using /tmp/ or /var/tmp/ it would have to
> potentially move the file from one partition to another while right now
> it can just rename it after having dealt with the old copy.
>
>   Can you zfs list on this box please ?

root@moon:~ # zfs list
NAME                 USED  AVAIL  REFER  MOUNTPOINT
tank6               3.35G  25.9G    88K  none
tank6/ROOT          1.89G  25.9G    88K  none
tank6/ROOT/default  1.89G  25.9G  1.89G  /
tank6/e             4.50M  25.9G    88K  none
tank6/e/tmp           96K  25.9G    96K  /tmp
tank6/e/var_db_pkg  4.32M  25.9G  4.32M  /var/db/pkg
tank6/es            26.4M  25.9G    88K  none
tank6/es/root         88K  25.9G    88K  /root
tank6/es/usr_home    136K  25.9G   136K  /usr/home
tank6/es/usr_local  26.1M  25.9G  26.1M  /usr/local
tank6/j               88K  25.9G    88K  /j
tank6/m              176K  25.9G    88K  none
tank6/m/var_mail      88K  25.9G    88K  /var/mail
tank6/t               88K  25.9G    88K  none
tank6/var           1.38G  25.9G  1.38G  /var
tank6/var/empty       88K  25.9G    88K  /var/empty
tank6/var/tmp         88K  25.9G    88K  /var/tmp



From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 16:21:58 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 794122BD04E
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 16:21:58 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "msa1.earth.yoonka.com",
 Issuer "msa1.earth.yoonka.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4900Wn3x1pz3L3X
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 16:21:57 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20])
 (authenticated bits=0)
 by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 03BGLtZb081254
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO)
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 16:21:56 GMT
 (envelope-from list1@gjunka.com)
To: freebsd-pkgbase@freebsd.org
From: Grzegorz Junka <list1@gjunka.com>
Subject: Minimal set of pkbase packages
Message-ID: <18d8bee5-0a2d-6928-ad67-ea60378b3241@gjunka.com>
Date: Sat, 11 Apr 2020 16:21:55 +0000
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101
 Thunderbird/68.5.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Rspamd-Queue-Id: 4900Wn3x1pz3L3X
X-Spamd-Bar: -----
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149
 as permitted sender) smtp.mailfrom=list1@gjunka.com
X-Spamd-Result: default: False [-5.86 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0];
 FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149:c];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain];
 TO_DN_NONE(0.00)[];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org];
 RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0];
 DMARC_NA(0.00)[gjunka.com];
 IP_SCORE(-3.56)[ip: (-9.34), ipnet: 88.98.192.0/18(-4.67), asn: 56478(-3.73),
 country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 16:21:58 -0000

Can anyone help with a minimal set of packages to install and start a 
functional jail? By functional I mean one that allows to login as root 
with jexec jailname sh.

Actually, is there any description available what each package is for? 
Files +MANIFEST and +COMPACT_MANIFEST don't seem to convey any description.

--GrzegorzJ



From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 16:42:52 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 627D12BD46E
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 16:42:52 +0000 (UTC)
 (envelope-from freebsd-rwg@gndrsh.dnsmgr.net)
Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4900zv4tDzz3Lyp
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 16:42:51 +0000 (UTC)
 (envelope-from freebsd-rwg@gndrsh.dnsmgr.net)
Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1])
 by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 03BGgn6D023632;
 Sat, 11 Apr 2020 09:42:49 -0700 (PDT)
 (envelope-from freebsd-rwg@gndrsh.dnsmgr.net)
Received: (from freebsd-rwg@localhost)
 by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 03BGgn1I023631;
 Sat, 11 Apr 2020 09:42:49 -0700 (PDT) (envelope-from freebsd-rwg)
From: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
Message-Id: <202004111642.03BGgn1I023631@gndrsh.dnsmgr.net>
Subject: Re: /root on a separate dataset breaks FreeBSD-base installation
In-Reply-To: <97d9e8d2-faa8-f02a-6a8e-008056486c65@gjunka.com>
To: Grzegorz Junka <list1@gjunka.com>
Date: Sat, 11 Apr 2020 09:42:49 -0700 (PDT)
CC: freebsd-pkgbase@freebsd.org
X-Mailer: ELM [version 2.4ME+ PL121h (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
X-Rspamd-Queue-Id: 4900zv4tDzz3Lyp
X-Spamd-Bar: /
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF
 policy when checking 69.59.192.140)
 smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net
X-Spamd-Result: default: False [0.91 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-0.10)[-0.103,0]; FROM_HAS_DN(0.00)[];
 TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[text/plain];
 RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[dnsmgr.net];
 AUTH_NA(1.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[];
 RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(0.08)[0.080,0];
 R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[];
 MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US];
 MID_RHS_MATCH_FROM(0.00)[];
 IP_SCORE(0.03)[ip: (0.13), ipnet: 69.59.192.0/19(0.06), asn: 13868(0.03),
 country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 16:42:52 -0000

[ Charset UTF-8 unsupported, converting... ]
> I am following https://wiki.freebsd.org/PkgBase
> 
> This:
> 
> pkg install -g 'FreeBSD-*'
> 
> fails with this:
> 
> [2/800] Extracting FreeBSD-runtime-12.1_3:?? 4%
> pkg: Fail to create hardlink: 
> /root/.pkgtemp..cshrc.v5sxGCRu3GlP:Cross-device link
                 ^^^^^^


> [2/800] Extracting FreeBSD-runtime-12.1_3: 100%
> 
> /root is in a different ZFS dataset. It works fine if it's not. Why pkg 
> is using /root/.pkgtemp instead of /tmp or /var/tmp? It doesn't matter 
> from where I run the command, looks like the path is hardcoded.

The failure is caused by the fact that /.cshrc and /root/.cshrc
are hardlinked to each other.  A hardlink can not cross a
ZFS dataset or a ufs mount point.

> 
> Can I workaround with some option to pkg?

I doubt that.

> GrzegorzJ

-- 
Rod Grimes                                                 rgrimes@freebsd.org

From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 16:53:30 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id C885F2BD7CA
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 16:53:30 +0000 (UTC)
 (envelope-from manu@bidouilliste.com)
Received: from mx.blih.net (mx.blih.net [212.83.155.74])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "mx.blih.net", Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4901D94KkCz3MRS
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 16:53:29 +0000 (UTC)
 (envelope-from manu@bidouilliste.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com;
 s=mx; t=1586624007;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=1ChDBQX5PcQ13iqhdIH+5M1/K1Iy8lyIk8lnEeZE9Yk=;
 b=BFqu+XiGwcav+Isr4Qz0TdLzz5RjONbHhqGbULmPhSYtAVYqbRGLzYRsj2mAAbzWJSq09j
 G+WNzpZe142TbqXpQbWa3KrYtFSLKZQPbo+2yANVMwdWzkqtyT9d8GYXA0sRUW1ep9oKMz
 hikeWirekJWlPu0eA1/g7R+sgGoWwNU=
Received: from skull.home.blih.net (lfbn-idf2-1-900-181.w86-238.abo.wanadoo.fr
 [86.238.131.181]) by mx.blih.net (OpenSMTPD) with ESMTPSA id c9598cb1
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sat, 11 Apr 2020 16:53:27 +0000 (UTC)
Date: Sat, 11 Apr 2020 18:53:24 +0200
From: Emmanuel Vadot <manu@bidouilliste.com>
To: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
Cc: Grzegorz Junka <list1@gjunka.com>, freebsd-pkgbase@freebsd.org
Subject: Re: /root on a separate dataset breaks FreeBSD-base installation
Message-Id: <20200411185324.2d1f50eeb3fb4ce9d1030926@bidouilliste.com>
In-Reply-To: <202004111642.03BGgn1I023631@gndrsh.dnsmgr.net>
References: <97d9e8d2-faa8-f02a-6a8e-008056486c65@gjunka.com>
 <202004111642.03BGgn1I023631@gndrsh.dnsmgr.net>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 4901D94KkCz3MRS
X-Spamd-Bar: ---
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=bidouilliste.com header.s=mx header.b=BFqu+XiG;
 dmarc=pass (policy=none) header.from=bidouilliste.com;
 spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates
 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com
X-Spamd-Result: default: False [-3.86 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[];
 R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[];
 RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx];
 MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[];
 TO_MATCH_ENVRCPT_SOME(0.00)[];
 DKIM_TRACE(0.00)[bidouilliste.com:+];
 DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 IP_SCORE(-1.36)[ip: (-9.14), ipnet: 212.83.128.0/19(1.91), asn: 12876(0.43),
 country: FR(0.00)]; 
 ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 16:53:30 -0000

On Sat, 11 Apr 2020 09:42:49 -0700 (PDT)
"Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> wrote:

> [ Charset UTF-8 unsupported, converting... ]
> > I am following https://wiki.freebsd.org/PkgBase
> > 
> > This:
> > 
> > pkg install -g 'FreeBSD-*'
> > 
> > fails with this:
> > 
> > [2/800] Extracting FreeBSD-runtime-12.1_3:?? 4%
> > pkg: Fail to create hardlink: 
> > /root/.pkgtemp..cshrc.v5sxGCRu3GlP:Cross-device link
>                  ^^^^^^
> 
> 
> > [2/800] Extracting FreeBSD-runtime-12.1_3: 100%
> > 
> > /root is in a different ZFS dataset. It works fine if it's not. Why pkg 
> > is using /root/.pkgtemp instead of /tmp or /var/tmp? It doesn't matter 
> > from where I run the command, looks like the path is hardcoded.
> 
> The failure is caused by the fact that /.cshrc and /root/.cshrc
> are hardlinked to each other.  A hardlink can not cross a
> ZFS dataset or a ufs mount point.

 Ah right.

> > 
> > Can I workaround with some option to pkg?
> 
> I doubt that.

 Someone (tm) should add support for this in pkg.

> > GrzegorzJ
> 
> -- 
> Rod Grimes                                                 rgrimes@freebsd.org
> _______________________________________________
> freebsd-pkgbase@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase
> To unsubscribe, send any mail to "freebsd-pkgbase-unsubscribe@freebsd.org"


-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>

From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 17:03:39 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7D9A32BD9CC
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 17:03:39 +0000 (UTC)
 (envelope-from freebsd-rwg@gndrsh.dnsmgr.net)
Received: from gndrsh.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140])
 (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
 (Client did not present a certificate)
 by mx1.freebsd.org (Postfix) with ESMTPS id 4901Rt5tSGz3MrC
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 17:03:38 +0000 (UTC)
 (envelope-from freebsd-rwg@gndrsh.dnsmgr.net)
Received: from gndrsh.dnsmgr.net (localhost [127.0.0.1])
 by gndrsh.dnsmgr.net (8.13.3/8.13.3) with ESMTP id 03BH3XZP023721;
 Sat, 11 Apr 2020 10:03:33 -0700 (PDT)
 (envelope-from freebsd-rwg@gndrsh.dnsmgr.net)
Received: (from freebsd-rwg@localhost)
 by gndrsh.dnsmgr.net (8.13.3/8.13.3/Submit) id 03BH3Xmu023720;
 Sat, 11 Apr 2020 10:03:33 -0700 (PDT) (envelope-from freebsd-rwg)
From: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>
Message-Id: <202004111703.03BH3Xmu023720@gndrsh.dnsmgr.net>
Subject: Re: /root on a separate dataset breaks FreeBSD-base installation
In-Reply-To: <20200411185324.2d1f50eeb3fb4ce9d1030926@bidouilliste.com>
To: Emmanuel Vadot <manu@bidouilliste.com>
Date: Sat, 11 Apr 2020 10:03:33 -0700 (PDT)
CC: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>,
 Grzegorz Junka <list1@gjunka.com>, freebsd-pkgbase@freebsd.org
X-Mailer: ELM [version 2.4ME+ PL121h (25)]
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII
X-Rspamd-Queue-Id: 4901Rt5tSGz3MrC
X-Spamd-Bar: /
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=none (mx1.freebsd.org: domain of freebsd-rwg@gndrsh.dnsmgr.net has no SPF
 policy when checking 69.59.192.140)
 smtp.mailfrom=freebsd-rwg@gndrsh.dnsmgr.net
X-Spamd-Result: default: False [0.86 / 15.00]; ARC_NA(0.00)[];
 NEURAL_HAM_MEDIUM(-0.14)[-0.137,0]; FROM_HAS_DN(0.00)[];
 RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[];
 MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[];
 DMARC_NA(0.00)[dnsmgr.net]; AUTH_NA(1.00)[];
 TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(0.06)[0.058,0];
 R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[];
 MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:13868, ipnet:69.59.192.0/19, country:US];
 MID_RHS_MATCH_FROM(0.00)[];
 IP_SCORE(0.03)[ip: (0.13), ipnet: 69.59.192.0/19(0.06), asn: 13868(0.03),
 country: US(-0.05)]; RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 17:03:39 -0000

> On Sat, 11 Apr 2020 09:42:49 -0700 (PDT)
> "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> wrote:
> 
> > [ Charset UTF-8 unsupported, converting... ]
> > > I am following https://wiki.freebsd.org/PkgBase
> > > 
> > > This:
> > > 
> > > pkg install -g 'FreeBSD-*'
> > > 
> > > fails with this:
> > > 
> > > [2/800] Extracting FreeBSD-runtime-12.1_3:?? 4%
> > > pkg: Fail to create hardlink: 
> > > /root/.pkgtemp..cshrc.v5sxGCRu3GlP:Cross-device link
> >                  ^^^^^^
> > 
> > 
> > > [2/800] Extracting FreeBSD-runtime-12.1_3: 100%
> > > 
> > > /root is in a different ZFS dataset. It works fine if it's not. Why pkg 
> > > is using /root/.pkgtemp instead of /tmp or /var/tmp? It doesn't matter 
> > > from where I run the command, looks like the path is hardcoded.
> > 
> > The failure is caused by the fact that /.cshrc and /root/.cshrc
> > are hardlinked to each other.  A hardlink can not cross a
> > ZFS dataset or a ufs mount point.
> 
>  Ah right.
> 
> > > 
> > > Can I workaround with some option to pkg?
> > 
> > I doubt that.
> 
>  Someone (tm) should add support for this in pkg.

An option to convert hardlinks to symlinks or duplicate files could be done.  

For the person with this problem there are ways to work around it
by not making /root a seperate dataset, create /toor data set,
set toor login home to /toor, use that for what ever it is that
made you feel you needed to have /root as its own data set.

> > > GrzegorzJ
> > Rod Grimes                                                 rgrimes@freebsd.org
> Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>
-- 
Rod Grimes                                                 rgrimes@freebsd.org

From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 17:04:09 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id C2F3A2BD9F9
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 17:04:09 +0000 (UTC)
 (envelope-from manu@bidouilliste.com)
Received: from mx.blih.net (mx.blih.net [212.83.155.74])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 server-signature RSA-PSS (4096 bits)
 client-signature RSA-PSS (2048 bits) client-digest SHA256)
 (Client CN "mx.blih.net", Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4901ST0TZmz3Mrs
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 17:04:08 +0000 (UTC)
 (envelope-from manu@bidouilliste.com)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com;
 s=mx; t=1586624647;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=ZDVJ2i84r0zRm86nLuoIsQ2CcwY3TEKymSzqnTHi1aI=;
 b=Xx6nwgyaalayvsGC4mbPPLvrsn+uUqSCmP03gYndUzFikvLdLFgDYDbjvw2vT/jWmsoHxR
 RKGmkV/7VCvPJYT4lI5DdtYUnhbcaLU7CPUFblgp6EndzbKM2Q2Xp/jPd0REPzzIYTjD6Y
 60nXQcI0loa03I2MS2sF/rekq4eud8s=
Received: from skull.home.blih.net (lfbn-idf2-1-900-181.w86-238.abo.wanadoo.fr
 [86.238.131.181]) by mx.blih.net (OpenSMTPD) with ESMTPSA id e6f96238
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Sat, 11 Apr 2020 17:04:07 +0000 (UTC)
Date: Sat, 11 Apr 2020 19:04:05 +0200
From: Emmanuel Vadot <manu@bidouilliste.com>
To: Emmanuel Vadot <manu@bidouilliste.com>
Cc: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>, Grzegorz Junka
 <list1@gjunka.com>, freebsd-pkgbase@freebsd.org
Subject: Re: /root on a separate dataset breaks FreeBSD-base installation
Message-Id: <20200411190405.0301a8e6e44151476e1c9a14@bidouilliste.com>
In-Reply-To: <20200411185324.2d1f50eeb3fb4ce9d1030926@bidouilliste.com>
References: <97d9e8d2-faa8-f02a-6a8e-008056486c65@gjunka.com>
 <202004111642.03BGgn1I023631@gndrsh.dnsmgr.net>
 <20200411185324.2d1f50eeb3fb4ce9d1030926@bidouilliste.com>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-Rspamd-Queue-Id: 4901ST0TZmz3Mrs
X-Spamd-Bar: ---
Authentication-Results: mx1.freebsd.org;
 dkim=pass header.d=bidouilliste.com header.s=mx header.b=Xx6nwgya;
 dmarc=pass (policy=none) header.from=bidouilliste.com;
 spf=pass (mx1.freebsd.org: domain of manu@bidouilliste.com designates
 212.83.155.74 as permitted sender) smtp.mailfrom=manu@bidouilliste.com
X-Spamd-Result: default: False [-3.87 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[];
 R_DKIM_ALLOW(-0.20)[bidouilliste.com:s=mx];
 NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; FROM_HAS_DN(0.00)[];
 RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+mx:c];
 MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_DN_SOME(0.00)[];
 TO_MATCH_ENVRCPT_SOME(0.00)[];
 DKIM_TRACE(0.00)[bidouilliste.com:+];
 DMARC_POLICY_ALLOW(-0.50)[bidouilliste.com,none];
 FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+];
 IP_SCORE(-1.37)[ip: (-9.19), ipnet: 212.83.128.0/19(1.90), asn: 12876(0.43),
 country: FR(0.00)]; 
 ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 17:04:09 -0000

On Sat, 11 Apr 2020 18:53:24 +0200
Emmanuel Vadot <manu@bidouilliste.com> wrote:

> On Sat, 11 Apr 2020 09:42:49 -0700 (PDT)
> "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> wrote:
> 
> > [ Charset UTF-8 unsupported, converting... ]
> > > I am following https://wiki.freebsd.org/PkgBase
> > > 
> > > This:
> > > 
> > > pkg install -g 'FreeBSD-*'
> > > 
> > > fails with this:
> > > 
> > > [2/800] Extracting FreeBSD-runtime-12.1_3:?? 4%
> > > pkg: Fail to create hardlink: 
> > > /root/.pkgtemp..cshrc.v5sxGCRu3GlP:Cross-device link
> >                  ^^^^^^
> > 
> > 
> > > [2/800] Extracting FreeBSD-runtime-12.1_3: 100%
> > > 
> > > /root is in a different ZFS dataset. It works fine if it's not. Why pkg 
> > > is using /root/.pkgtemp instead of /tmp or /var/tmp? It doesn't matter 
> > > from where I run the command, looks like the path is hardcoded.
> > 
> > The failure is caused by the fact that /.cshrc and /root/.cshrc
> > are hardlinked to each other.  A hardlink can not cross a
> > ZFS dataset or a ufs mount point.
> 
>  Ah right.
> 
> > > 
> > > Can I workaround with some option to pkg?
> > 
> > I doubt that.
> 
>  Someone (tm) should add support for this in pkg.

 I of course meant adding support to either proper error reporting or
fallback to symbolic link.

> > > GrzegorzJ
> > 
> > -- 
> > Rod Grimes                                                 rgrimes@freebsd.org
> > _______________________________________________
> > freebsd-pkgbase@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase
> > To unsubscribe, send any mail to "freebsd-pkgbase-unsubscribe@freebsd.org"
> 
> 
> -- 
> Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>
> _______________________________________________
> freebsd-pkgbase@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase
> To unsubscribe, send any mail to "freebsd-pkgbase-unsubscribe@freebsd.org"


-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>

From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 17:19:56 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id CA62E2BDD13
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 17:19:56 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "msa1.earth.yoonka.com",
 Issuer "msa1.earth.yoonka.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4901ph0JGvz3NRR
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 17:19:55 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20])
 (authenticated bits=0)
 by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 03BHJrbD082082
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO);
 Sat, 11 Apr 2020 17:19:53 GMT (envelope-from list1@gjunka.com)
Subject: Re: /root on a separate dataset breaks FreeBSD-base installation
To: "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>,
 Emmanuel Vadot <manu@bidouilliste.com>
Cc: freebsd-pkgbase@freebsd.org
References: <202004111703.03BH3Xmu023720@gndrsh.dnsmgr.net>
From: Grzegorz Junka <list1@gjunka.com>
Message-ID: <ee68e0a4-94c0-765c-a69f-57bdf5a7c93f@gjunka.com>
Date: Sat, 11 Apr 2020 17:19:53 +0000
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101
 Thunderbird/68.5.0
MIME-Version: 1.0
In-Reply-To: <202004111703.03BH3Xmu023720@gndrsh.dnsmgr.net>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Rspamd-Queue-Id: 4901ph0JGvz3NRR
X-Spamd-Bar: -----
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149
 as permitted sender) smtp.mailfrom=list1@gjunka.com
X-Spamd-Result: default: False [-5.86 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0];
 FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3];
 R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149];
 NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain];
 DMARC_NA(0.00)[gjunka.com]; TO_DN_SOME(0.00)[];
 TO_MATCH_ENVRCPT_SOME(0.00)[];
 IP_SCORE(-3.56)[ip: (-9.34), ipnet: 88.98.192.0/18(-4.67), asn: 56478(-3.74),
 country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 17:19:56 -0000


On 11/04/2020 17:03, Rodney W. Grimes wrote:
>> On Sat, 11 Apr 2020 09:42:49 -0700 (PDT)
>> "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net> wrote:
>>
>>> [ Charset UTF-8 unsupported, converting... ]
>>>> I am following https://wiki.freebsd.org/PkgBase
>>>>
>>>> This:
>>>>
>>>> pkg install -g 'FreeBSD-*'
>>>>
>>>> fails with this:
>>>>
>>>> [2/800] Extracting FreeBSD-runtime-12.1_3:?? 4%
>>>> pkg: Fail to create hardlink:
>>>> /root/.pkgtemp..cshrc.v5sxGCRu3GlP:Cross-device link
>>>                   ^^^^^^
>>>
>>>
>>>> [2/800] Extracting FreeBSD-runtime-12.1_3: 100%
>>>>
>>>> /root is in a different ZFS dataset. It works fine if it's not. Why pkg
>>>> is using /root/.pkgtemp instead of /tmp or /var/tmp? It doesn't matter
>>>> from where I run the command, looks like the path is hardcoded.
>>> The failure is caused by the fact that /.cshrc and /root/.cshrc
>>> are hardlinked to each other.  A hardlink can not cross a
>>> ZFS dataset or a ufs mount point.
>>   Ah right.
>>
>>>> Can I workaround with some option to pkg?
>>> I doubt that.
>>   Someone (tm) should add support for this in pkg.
> An option to convert hardlinks to symlinks or duplicate files could be done.
>
> For the person with this problem there are ways to work around it
> by not making /root a seperate dataset, create /toor data set,
> set toor login home to /toor, use that for what ever it is that
> made you feel you needed to have /root as its own data set.


Did you mean - set root login home to /toor? Or create a new toor user?

I think the same will be with .profile which also looks like it's 
hardlinked.

Wouldn't pkg already have to handle this for normal port packages 
somehow? Or they never create hardlinks? Is it worth raising bug/feature 
in bugzilla for pkg?

--GrzegorzJ



From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 17:44:31 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3C7742BE91D
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 17:44:31 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from msa1.earth.yoonka.com (yoonka.com [88.98.225.149])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "msa1.earth.yoonka.com",
 Issuer "msa1.earth.yoonka.com" (not verified))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4902M23J5xz3QNJ
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 17:44:30 +0000 (UTC)
 (envelope-from list1@gjunka.com)
Received: from crayon2.yoonka.com (crayon2.yoonka.com [10.70.7.20])
 (authenticated bits=0)
 by msa1.earth.yoonka.com (8.15.2/8.15.2) with ESMTPSA id 03BHiSxD082459
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO)
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 17:44:29 GMT
 (envelope-from list1@gjunka.com)
Subject: Re: Minimal set of pkbase packages
From: Grzegorz Junka <list1@gjunka.com>
To: freebsd-pkgbase@freebsd.org
References: <18d8bee5-0a2d-6928-ad67-ea60378b3241@gjunka.com>
Message-ID: <0608e4e7-12d2-5fee-d88a-5e7209239557@gjunka.com>
Date: Sat, 11 Apr 2020 17:44:28 +0000
User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101
 Thunderbird/68.5.0
MIME-Version: 1.0
In-Reply-To: <18d8bee5-0a2d-6928-ad67-ea60378b3241@gjunka.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
X-Rspamd-Queue-Id: 4902M23J5xz3QNJ
X-Spamd-Bar: -----
Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none;
 spf=pass (mx1.freebsd.org: domain of list1@gjunka.com designates 88.98.225.149
 as permitted sender) smtp.mailfrom=list1@gjunka.com
X-Spamd-Result: default: False [-5.86 / 15.00]; ARC_NA(0.00)[];
 RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0];
 FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:88.98.225.149:c];
 TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain];
 TO_DN_NONE(0.00)[];
 PREVIOUSLY_DELIVERED(0.00)[freebsd-pkgbase@freebsd.org];
 RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-1.00)[-1.000,0];
 DMARC_NA(0.00)[gjunka.com];
 IP_SCORE(-3.56)[ip: (-9.34), ipnet: 88.98.192.0/18(-4.67), asn: 56478(-3.74),
 country: GB(-0.07)]; FROM_EQ_ENVFROM(0.00)[];
 R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+];
 ASN(0.00)[asn:56478, ipnet:88.98.192.0/18, country:GB];
 MID_RHS_MATCH_FROM(0.00)[]; RCVD_TLS_ALL(0.00)[];
 RCVD_COUNT_TWO(0.00)[2]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 17:44:31 -0000

On 11/04/2020 16:21, Grzegorz Junka wrote:
> Can anyone help with a minimal set of packages to install and start a 
> functional jail? By functional I mean one that allows to login as root 
> with jexec jailname sh.
>
> Actually, is there any description available what each package is for? 
> Files +MANIFEST and +COMPACT_MANIFEST don't seem to convey any 
> description.
>

I just figured out myself. Mostly followed from 
http://freebsd.1045724.x6.nabble.com/Creating-jails-from-pkgbase-packages-tt6327893.html

Basically, on the host on which pkg-base is already installed and working:

Create /jail/test/etc (where jail/test is the jail's root)

scp worldstage/etc/master.password from the build directory, e.g. 
/usr/obj/usr/src/amd64.amd64/worldstage/etc/master.password, to 
/jail/test/etc

Then install with

pkg -r /jail/test install FreeBSD-runtime

Runtime's postinstall will automatically use the master.password to 
populate appropriate files. Then create jail.conf as usually. That 
allows to start a minimal jail and jexec sh to it.


I wonder, why /etc/master.password isn't automatically included in any 
of the base packages?


--GrzegorzJ



From owner-freebsd-pkgbase@freebsd.org  Sat Apr 11 19:55:20 2020
Return-Path: <owner-freebsd-pkgbase@freebsd.org>
Delivered-To: freebsd-pkgbase@mailman.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
 by mailman.nyi.freebsd.org (Postfix) with ESMTP id D8FC12796B2
 for <freebsd-pkgbase@mailman.nyi.freebsd.org>;
 Sat, 11 Apr 2020 19:55:20 +0000 (UTC)
 (envelope-from bsd-lists@BSDforge.com)
Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com
 [24.113.41.81])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (Client CN "ultimatedns.net",
 Issuer "Let's Encrypt Authority X3" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4905Fz6R86z43gL
 for <freebsd-pkgbase@freebsd.org>; Sat, 11 Apr 2020 19:55:19 +0000 (UTC)
 (envelope-from bsd-lists@BSDforge.com)
Received: from udns.ultimatedns.net (localhost [IPv6:0:0:0:0:0:0:0:1])
 by udns.ultimatedns.net (8.15.2/8.15.2) with ESMTPS id 03BJthJZ073373
 (version=TLSv1.2 cipher=DHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO);
 Sat, 11 Apr 2020 12:55:49 -0700 (PDT)
 (envelope-from bsd-lists@BSDforge.com)
X-Mailer: Cypht
MIME-Version: 1.0
Cc: <freebsd-pkgbase@freebsd.org>
In-Reply-To: <18d8bee5-0a2d-6928-ad67-ea60378b3241@gjunka.com>
From: Chris <bsd-lists@BSDforge.com>
Reply-To: bsd-lists@BSDforge.com
To: Grzegorz Junka <list1@gjunka.com>
Subject: Re: Minimal set of pkbase packages
Date: Sat, 11 Apr 2020 12:55:49 -0700
Message-Id: <2bad73a44bb526449dab9ea4750bf8ee@udns.ultimatedns.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Rspamd-Queue-Id: 4905Fz6R86z43gL
X-Spamd-Bar: -
Authentication-Results: mx1.freebsd.org;
	none
X-Spamd-Result: default: False [-1.69 / 15.00];
 NEURAL_HAM_MEDIUM(-0.76)[-0.760,0];
 ASN(0.00)[asn:11404, ipnet:24.113.0.0/16, country:US];
 local_wl_ip(0.00)[24.113.41.81];
 NEURAL_HAM_LONG(-0.93)[-0.930,0]
X-BeenThere: freebsd-pkgbase@freebsd.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Packaging the FreeBSD base system." <freebsd-pkgbase.freebsd.org>
List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-pkgbase/>
List-Post: <mailto:freebsd-pkgbase@freebsd.org>
List-Help: <mailto:freebsd-pkgbase-request@freebsd.org?subject=help>
List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-pkgbase>, 
 <mailto:freebsd-pkgbase-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sat, 11 Apr 2020 19:55:20 -0000

On Sat, 11 Apr 2020 16:21:55 +0000 Grzegorz Junka list1@gjunka=2Ecom said

> Can anyone help with a minimal set of packages to install and start a=20
> functional jail? By functional I mean one that allows to login as root=20
> with jexec jailname sh=2E
>=20
> Actually, is there any description available what each package is for?=20
> Files +MANIFEST and +COMPACT_MANIFEST don't seem to convey any descriptio=
n=2E

You can simply extract "base" from any official distribution into a target
jail folder/dir && you're good to go! :)

EXAMPLE from freebsd memstick

# mount /dev/da1s2a /mnt/

# cp -p /mnt/usr/freebsd-dist/base=2Etxz /place/to/jaildir
# cd /place/to/jaildir
# tar xvJf base=2Etxz && rm base=2Etxz

DONE! :)

you could also copy and use kernel=2Etxz if you needed to
do anything kernel related=2E

--Chris
>=20
> --GrzegorzJ
>=20
>=20
> _______________________________________________
> freebsd-pkgbase@freebsd=2Eorg mailing list
> https://lists=2Efreebsd=2Eorg/mailman/listinfo/freebsd-pkgbase
> To unsubscribe, send any mail to "freebsd-pkgbase-unsubscribe@freebsd=2Eorg=
"