From nobody Sat Dec 30 09:12:05 2023 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T2Gj60msLz55xRX for ; Sat, 30 Dec 2023 09:12:10 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T2Gj55w1hz4TDq; Sat, 30 Dec 2023 09:12:09 +0000 (UTC) (envelope-from mat@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703927529; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hYAQLBzSreuFh9XyXoxjXeYCh4rEiNXJ5brb05AujPs=; b=cNSG1uQqQUNRaAsCVt7fvVxrXMm9nFYKEWbHLSOEvgbjfBiceTgQYEmwbAhacgjKpu1wa9 seaQVgl5q/Gm8s39Tbg3Fciga94/+bvPYH9LikAlOWZXqHhH7CwDbZGmAn7cMI5hOGeJMm 2CwiU3bI6VmMoIzUb6zbrHQGy6WCKxPa/3xjZXNd8C+E51UjVlg01KfHDh2HFtCXibxaLO SL473LjjSMcNW+9JOAY/sxx4yC186DM0k/UTpMrOgaZXqqHUlU8tfjxVWLDj5BvBKgENW+ d0Y5HwAa9OoHtOQvOeEhobCwUAM7R6mv7YCS/viArs6EJuPxW1TiTbYyiOw/jw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1703927529; a=rsa-sha256; cv=none; b=NpUUjZU8vkS1x450RPtuUMhk15LVpIUS0LxqF8i/ewjNLhtkV5kTc0yQmq3XJP8GcMX8QN nCtsGV7WD2QXqKeT6JknX0UI3m33QZSoji2Eugk75bYFYziWu27qBIdo90mcbl89eK7L/U ScX2I5IRFNgVF4BFG68rU9Lnr/zfbZJayj6uRVG277Bt7XBs7iIDCnUBd8+GLaExrhiSbO jl8CXmIikVshfDvgFz6vZF5C97jZL8Yx0Dkvz9aRLK6oHW0WdmnU4Ypyt6tMs7XlqBMsVN pzZHaKHdw/cF14L1Dpbdm95uRUuG/nkt0YK71N9d5kyWNb3NuZCWSt2vR118uA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1703927529; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hYAQLBzSreuFh9XyXoxjXeYCh4rEiNXJ5brb05AujPs=; b=TOIFiDqEr/u9yuNpunaOdJI38RpKFTxVS5I6ToDztjtGFoP179W9IhCWUSKZCZQhvQwpi7 ZfBmlYnXxGLm0P8nHqYZjuKYzzCJ/2ShfIQTomwJl7SKT6yZnQqFPSxi4uBk4JcSN+Sq41 87hfE3cJUldSmmLGhw8apFk7dx0vm9axago73uCL64D3bI5w/l3WxU0lyC0ockTt1TvD+1 UWreB0cUEDam40O2c8hQ04d0qcW9boCgWj7n8yIJmeBFuZMxIModwiI4N0D86D+cQ1HyUY aZXOHrrBOS1HvD7TUzzMw3TcIT+B9wbUDaUYDeEZR6wJJqx2ZrqqsnqureAesQ== Received: from mail.j.mat.cc (owncloud.cube.mat.cc [79.143.240.228]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.mat.cc", Issuer "R3" (verified OK)) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 4T2Gj54L4fz1N6G; Sat, 30 Dec 2023 09:12:09 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from aching.in.mat.cc (unknown [IPv6:2a01:e0a:836:f670:a10b:7969:2401:4f35]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mat@mat.cc) by mail.j.mat.cc (Postfix) with ESMTPSA id 6FCCB942D81; Sat, 30 Dec 2023 09:12:06 +0000 (UTC) Date: Sat, 30 Dec 2023 10:12:05 +0100 From: Mathieu Arnold To: Yuri Cc: ports Subject: Re: Is the ZPOOL option broken in poudriere? Message-ID: References: <662cb885-8d45-48c0-9a30-87958951517a@FreeBSD.org> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aj3btzu7btt7vmtd" Content-Disposition: inline In-Reply-To: <662cb885-8d45-48c0-9a30-87958951517a@FreeBSD.org> --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--