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

From: Dmitry Salychev <dsl_at_FreeBSD.org>
Date: Wed, 25 Jun 2025 19:43:13 UTC
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