Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2023 10:12:05 +0100
From:      Mathieu Arnold <mat@freebsd.org>
To:        Yuri <yuri@freebsd.org>
Cc:        ports <freebsd-ports@freebsd.org>
Subject:   Re: Is the ZPOOL option broken in poudriere?
Message-ID:  <yldewre5plorwbsnsczfbqajzbpqvob2fbqv7f5tpk4nqylvwu@l2hadsbhzdp5>
In-Reply-To: <662cb885-8d45-48c0-9a30-87958951517a@FreeBSD.org>
References:  <b1e4c470-c6c9-43d1-aa36-3d3872598faa@FreeBSD.org> <662cb885-8d45-48c0-9a30-87958951517a@FreeBSD.org>

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

--aj3btzu7btt7vmtd
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Dec 29, 2023 at 03:03:02AM -0800, Yuri wrote:
> I think I figured this out.
>=20
>=20
> The ZPOOL variable was changed several times in the past.
>=20
> Poudriere operates by creating ZFS datasets.
>=20
> These datasets are mounted at different points under /usr/local/poudriere,
> and such mounts are persistent, and re-created during ZFS initialization.
>=20
> When ZPOOL is changed, the old datasets become invalid and should be
> removed.
>=20
> The question is: who should remove them? The current answer appears to be:
> nobody removes them.
>=20
> poudriere just reuses the invalid datasets that are mounted on the ZFS po=
ols
> that aren't currently configured to use poudriere.
>=20
> So I think that some sort of confusion related to the invalid datasets
> caused the original issue for me.
>=20
> The problem is gone once I deleted all poudriere-related datasets by hand.

I don't really understand what you are complaining about.

poudriere has a data directory, it is in a variable named ZPOOL.
You changed that data directory, poudriere is then half broken. Ok,
seems right.

I am quite sure that most software that have a datadir, like, most
games, if you change the datadir mid flight and not move stuff yourself,
those software will be half broken too.

--=20
Mathieu Arnold

--aj3btzu7btt7vmtd
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQITBAABCgB9FiEE9XJBpJetWizkEBUef2IOCp6dQb4FAmWP3uRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEY1
NzI0MUE0OTdBRDVBMkNFNDEwMTUxRTdGNjIwRTBBOUU5RDQxQkUACgkQf2IOCp6d
Qb7W+Av8CfN/IsIq7Z6jMXTLRxwl49oZHckMFD8tXVVLPSru7Rfe6KbZwKN2YaMh
Luaa1TgZE+7dn1bS4ZpviwLIRbKXzLV1sVfv1jN1/eLiUhIAP9m/W0Cruky3SdSo
sEf8vQ9deL5ZkwOxZrDJnRsefMI1GS/bTV9oVklEYgxIA2xAEn3dawLyQEP9E5b/
KNP5nSQ1w4Zf7Q/ZiWYLiy4RzyO79w7tM3aOJemEKkmtQFoRYLYev1sD9qkwbMy9
uy/TU75plidlagtg9MPLLsU9B0juzkQcl64tlkmfI/Dkoy1/Y1hRcIF4XrIBPIvc
a7urgG8/d7QpfG2AiFEDWhZ183vypDZIBokd8HgqzoiBrL7w3xvc/eQtslgHrKm8
KaeZwloz8s1hQ9erLVBA5g+nWF9oUrR8sDvod0hCKw8fTsKA9QoWs/HltdATRm78
xxOwPi9NVSrtD8G9L+kCqG2svvMInNbhGJ98tHLNHunTz1vF0YiumaESgQ/CKV9a
e81KD7DW
=/3op
-----END PGP SIGNATURE-----

--aj3btzu7btt7vmtd--



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