From nobody Fri Aug 22 14:46:27 2025 X-Original-To: freebsd-current@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 4c7jgV674jz65w1q for ; Fri, 22 Aug 2025 14:46:30 +0000 (UTC) (envelope-from des@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 "R13" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4c7jgV3f5jz3K5R; Fri, 22 Aug 2025 14:46:30 +0000 (UTC) (envelope-from des@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755873990; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6+g2LYuMHWPfbCTWcXF8SOWM/sL90XxgxiqukgiTQcs=; b=mp4cg5Y+tonR2M2ZSw6DEMXL9JZDC0kk+tbNPmYkEEJ6V6f4T0pM7u7sp+OCgHzpuadamc w2GfadBwT4LcJqZCQMttRi1e8pvHExrJXvb5essGVYjkAQ/XHQ66cxDakrtw8+9TSEi6l4 Gjo9kaO6WTzIKcaaubaE/EcGi9p0MUOIGO7D75pdOHt+7WBT3JKQ529Z0v53GDq15jFhPX 3XQLBdzp8rHsu6P4YPmfArzmtjzKS00dDStM4MXTOPl8908dA9DRzKO6GKkZzj1M+33y+W hJtxF4MvSdttTvObx37w31ReZPwrL/sv+83r4r1+kp+S3I4/9/+NgPWbA01p2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1755873990; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6+g2LYuMHWPfbCTWcXF8SOWM/sL90XxgxiqukgiTQcs=; b=laOcMQgFY480sW8XxbAZdmEQzHn8pJiBPyoMCEh0SEDYi3IqK9a8c5oY0xrRBKBvQ2iMcQ DF3dNqIQB7uX4g1X6Z3Xr5KA+u5GcxvuSuqBQtei87iup5mt67aVfpk4dWSIejbhC0zEEk 1gxxnJ1vTozP3VzgdbTqK395TML0YJZf0D0rzqrC++QRlS0GI+vdib5dOYeLht4sY7eRhy mquSl8JcIi0zROD+bzXEztBPrX+Bu/s+DNAq2RePDUVGKC57d65hV2BmSEDQWoLqSbtlZz 6vNphY/MUfplx9Idmvj2kJbky/KB2qHqJ4kAaF+wqN6H0SUc7KH8k4FjFnv+hw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1755873990; a=rsa-sha256; cv=none; b=Lsde5y7CXvKW11bVnGjqY6KMGEEd2FH4xbzVE2FEGMvtB7SeqedDrV2EjIIPInSBlyu5On oQ6BgPo9iQ2bt+C13c9Xm7+2rpnO9RSEbsLDg31tyTJs5MRz7ahIbNopdl68wpe33tMROa Z+ru79vNFZ4K9+jTWmjcUG8tRYKAHnaXdyPan8PKRinrkrk6DVabqSnmCGdSVldASp1tDY 4/Dr93YuaGTRquSJioM/TVVujlzHEla+TZyi/dgbpCyAYWJGuBEQGmGeDjzhUrLm8klv7P +Jt9nlJ1qU9M3lssWvgH92ZZlSHx95F7+BU3LiijHIpW7fgQbTF/ezNWZ4JBvA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from ltc.des.dev (unknown [IPv6:2a01:e0a:c54:bed0:922e:16ff:fef1:acef]) (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 did not present a certificate) (Authenticated sender: des) by smtp.freebsd.org (Postfix) with ESMTPSA id 4c7jgV28D0zsr5; Fri, 22 Aug 2025 14:46:30 +0000 (UTC) (envelope-from des@freebsd.org) Received: by ltc.des.dev (Postfix, from userid 1001) id 05D493BFAB; Fri, 22 Aug 2025 16:46:28 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: cyric@mm.st Cc: freebsd-current@freebsd.org Subject: Re: 20250515 snapshot packaged install missing /etc/zfs/ directory In-Reply-To: <544b585b-b6b4-4748-81f5-7f7b57650741@mm.st> (cyric@mm.st's message of "Fri, 22 Aug 2025 20:05:08 +0700") References: <927f37e7-da69-4ac6-b234-7588fea68118@mm.st> <544b585b-b6b4-4748-81f5-7f7b57650741@mm.st> User-Agent: Gnus/5.13 (Gnus v5.13) Date: Fri, 22 Aug 2025 16:46:27 +0200 Message-ID: <86ikifxvlo.fsf@ltc.des.dev> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable cyric@mm.st writes: > cyric@mm.st writes: > > The culprit here seems to be the /etc/zfs/ directory missing after > > installation, [...] > That's still the case when installing from > FreeBSD-15.0-PRERELEASE-amd64-20250819-02a8fadd2c4d-279701-disc1.iso. Unlike distribution tarballs, packages don't include empty directories, and the installer does not run mtree to create them like installworld does. We need to figure out the best way to do this. A postinstall script in FreeBSD-mtree might work. Or perhaps it should be done piecemeal, so FreeBSD-zfs is responsible for creating /etc/zfs, and the FreeBSD-caroot is responsible for creating /etc/ssl/certs. To me it seems logical FreeBSD-runtime should create the directory hierarchy, but FreeBSD-mtree depends on FreeBSD-runtime, so that wouldn't work, unless we merged FreeBSD-mtree into FreeBSD-runtime. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@FreeBSD.org