From nobody Sat Apr 27 09:01:41 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4VRNrK1q4Xz5JBZG for ; Sat, 27 Apr 2024 09:01:53 +0000 (UTC) (envelope-from freebsd@grem.de) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VRNrJ4tJXz4GyS; Sat, 27 Apr 2024 09:01:52 +0000 (UTC) (envelope-from freebsd@grem.de) Authentication-Results: mx1.freebsd.org; none Received: by mail.evolve.de (OpenSMTPD) with ESMTP id fd959aa3; Sat, 27 Apr 2024 09:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; s=20180501; bh=YRjlWhc3kfVP6Z xAb9R5c5n3nbY=; b=GR2jd+hqkep8qrH5Ieuz5gAHU+5TOqGEk2HpMm+/HBz0bB b5f6p54Q6KHCxabpg6V0qlKHCVsNd0eoV99hkLBdBOLY1Ms4FKxdJ+VnUWzvOblj S/I1Op1c7nHIWl4YWMMv5jnrswoJF3lu8/d6Jld/rEV/7BM9Nrlwj68MHWOkhchI KYeLJUoJsFTS0kSnmsN2IMI6eQdqncu1F3eA8lt/JzYtpJP2409xlq8IPFqW6Ae/ oXtJTfYY0s5OQ3eYxmcLH+pHQNAT2McBzRybOOPk4jjieuMXIIvOMSwVDf24PsGl nvL0Y7qnsp8V3h7vUM2gvuZ9uw2s0ddWB0nxjcsg== DomainKey-Signature: a=rsa-sha1; c=nofws; d=grem.de; h=content-type :content-transfer-encoding:mime-version:subject:from:in-reply-to :date:cc:message-id:references:to; q=dns; s=20180501; b=AXsgzQwz pgmqSMHdeFAOJClkjC0K7sKUYmSrmcU9RSrkh+2L7ayg8TewyaOEi3NvyI4YJEW2 10cSSmpg6GRp32LCgMvwSjtqZzBQ2OvVV3Jb+sBPW4eDDSMmrHg/Tp5cH+scX+0m 57eL1r+/1H9/PwswWk8wE8qUu3T+VonHBKyGuNGVLsyv0eYVRqv714S2OyotoHoA +ET9ooidaXJGL3Ksy/xsGM9hGPya4HXb2LvYQjbRdy3QvQHRyJm6oXi31uYfbQUV kwN3p20zmZb7F8l2Q/QyJ/Sv1mRPc2dmJvMxbksuW8ccMj9zzNe09QzAgpu5VSye xp/FzlG3onz/FA== Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 092053dc (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Sat, 27 Apr 2024 09:01:43 +0000 (UTC) Content-Type: multipart/alternative; boundary=Apple-Mail-AABF1012-E7DD-405D-8E80-05190B94ED55 Content-Transfer-Encoding: 7bit List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org Mime-Version: 1.0 (1.0) Subject: Re: Poudriere 3.4.1 regression: can't run in a jail From: Michael Gmelin In-Reply-To: Date: Sat, 27 Apr 2024 11:01:41 +0200 Cc: bdrewery@freebsd.org, freebsd-ports@freebsd.org Message-Id: References: To: Andrea Venturoli X-Mailer: iPhone Mail (20H330) X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE] X-Rspamd-Queue-Id: 4VRNrJ4tJXz4GyS --Apple-Mail-AABF1012-E7DD-405D-8E80-05190B94ED55 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > On 27. Apr 2024, at 08:56, Andrea Venturoli wrote: >=20 > =EF=BB=BFHello. >=20 > First of all, thanks for your work. >=20 > I've got a 14.0/amd64 system where I run Poudriere in a jail, but if I upg= rade it from 3.4.0 to 3.4.1_1 it stops working. > E.g. >=20 >> # poudriere bulk -f /root/133amd64.lst -v -j 133amd64 >> [00:00:00] Creating the reference jail... done >> [00:00:01] Mounting system devices for 133amd64-default >> [00:00:01] Stashing existing package repository >> [00:00:01] Mounting ccache from: /ccache >> [00:00:01] Mounting ports from: /usr/ports/ >> [00:00:01] Mounting packages from: /usr/local/poudriere/data/packages/133= amd64-default >> [00:00:01] Mounting distfiles from: /usr/ports/distfiles >> [00:00:01] Copying /var/db/ports from: /usr/local/etc/poudriere.d/options= >> [00:00:01] Appending to make.conf: /usr/local/etc/poudriere.d/make.conf >> /etc/resolv.conf -> /usr/local/poudriere/data/.m/133amd64-default/ref/etc= /resolv.conf >> [00:00:01] Starting jail 133amd64-default >> jail: jail_set: Operation not permitted >> [ERROR] Unhandled error! >> [00:00:01] Cleaning up >> [00:00:01] Unmounting file systems >> Exiting with status 1 >=20 > Is this a bug? > Is there anything that must be altered in the setup? > Anything to check? >=20 > bye & Thanks > av. >=20 You need to add allow.mlock to your jail config, see https://bugs.freebsd.or= g/bugzilla/show_bug.cgi?id=3D276176#c4 -m --Apple-Mail-AABF1012-E7DD-405D-8E80-05190B94ED55 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable

On 27. Apr 2024, at 08:56, Andrea Venturoli <ml@netfence.it> wrote:
=EF=BB=BF= Hello.

First of all, thanks for your w= ork.

I've got a 14.0/amd64 system where I r= un Poudriere in a jail, but if I upgrade it from 3.4.0 to 3.4.1_1 it stops w= orking.
E.g.

# poudriere bulk -f /root/133amd64.lst -v -j 133amd64
=
[00:00:00] Creating the referen= ce jail... done
[00:0= 0:01] Mounting system devices for 133amd64-default
[00:00:01] Stashing existing package repositor= y
[00:00:01] Mounting= ccache from: /ccache
[00:00:01] Mounting ports from: /usr/ports/
[00:00:01] Mounting packages from: /usr/local/poudri= ere/data/packages/133amd64-default
[00:00:01] Mounting distfiles from: /usr/ports/distfiles=
[00:00:01] Copying /var/db/= ports from: /usr/local/etc/poudriere.d/options
[00:00:01] Appending to make.conf: /usr/local/etc/= poudriere.d/make.conf
/etc/resolv.conf -> /usr/local/poudriere/data/.m/133amd64-default/ref/et= c/resolv.conf
[00:00:= 01] Starting jail 133amd64-default
jail: jail_set: Operation not permitted
=
[ERROR] Unhandled error!
[00:00:01] Cleaning up
[00:00:01] Unmounting file systems
Exiting with status 1

Is this a bug?
I= s there anything that must be altered in the setup?
Anything= to check?

bye & Thanks
   av.


Y= ou need to add allow.mlock to your jail config, see https://bugs.freebsd.= org/bugzilla/show_bug.cgi?id=3D276176#c4

-m

= --Apple-Mail-AABF1012-E7DD-405D-8E80-05190B94ED55--