> On 27. Apr 2024, at 08:56, Andrea Venturoli <m...@netfence.it> wrote: > > Hello. > > First of all, thanks for your work. > > I've got a 14.0/amd64 system where I run Poudriere in a jail, but if I > upgrade it from 3.4.0 to 3.4.1_1 it stops working. > E.g. > >> # 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/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/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 > > Is this a bug? > Is there anything that must be altered in the setup? > Anything to check? > > bye & Thanks > av. >
You need to add allow.mlock to your jail config, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276176#c4 -m