Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2025 21:43:13 +0200
From:      Dmitry Salychev <dsl@FreeBSD.org>
To:        Yusuf Yaman <nxjoseph@protonmail.com>
Cc:        freebsd-pkg@freebsd.org
Subject:   Re: How to get read-write on ZFS dataset for self started poudriere jail
Message-ID:  <86ms9vy59n.fsf@peasant.bootbsd.com>
In-Reply-To: <tcfd1nJzkzJnvAjDZMmeaz2InHqrrDzc9AjAI2Fn9UESBMfueJ9c9XtP-tFr8KQrU861Z3Irjm0B4M82QaXYhVMVZp8bbMltKLPg218PRjE=@protonmail.com>

index | next in thread | previous in thread | raw e-mail


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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ms9vy59n.fsf>