Re: How to get read-write on ZFS dataset for self started poudriere jail

From: Yusuf Yaman <nxjoseph_at_protonmail.com>
Date: Wed, 25 Jun 2025 19:49:15 UTC
Hmm, I don't run poudriere in a jail but directly on the host instead. I guess there is some misunderstanding, when i talk about jail, i mean the jail that poudriere uses that you can see when you ran 'poudriere jail -l'.

Thanks for taking time to reply.

Sent with Proton Mail secure email.

On Wednesday, June 25th, 2025 at 10:45 PM, Dmitry Salychev <dsl@FreeBSD.org> wrote:

> Yusuf Yaman nxjoseph@protonmail.com writes:
> 
> > Hi,
> > 
> > Sometimes I do want to test a port using poudriere but ports like that use cargo (rust) takes a bit time to get into the
> > interactive shell. I thought I wouldn't need to build a port but get an interactive shell by just starting a poudriere jail myself
> > but later I found out that the ZFS dataset inside jail is mounted as read-only... I couldn't find a way to make it read-write. Can
> > you help me if it's possible to do? Thanks in advance. (I use stable poudriere and hope I could explain myself well)
> > 
> > Sent with Proton Mail secure email.
> 
> 
> Hey,
> 
> take a look [1]. You're probably missing these two lines:
> 
> exec.created+="zfs jail $name data03/poudriere";
> exec.created+="zfs set jailed=on data03/poudriere";
> 
> Regards,
> Dmitry
> 
> [1] https://dan.langille.org/2024/01/19/configuration-for-running-poudriere-in-a-jail-on-freebsd-14/
> 
> --
> https://wiki.freebsd.org/DmitrySalychev