Poudriere 3.4.1 regression: can't run in a jail

From: Andrea Venturoli <ml_at_netfence.it>
Date: Sat, 27 Apr 2024 06:56:19 UTC
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.