From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id oGZrCxsS2WbNcwAAqHPOHw:P1 (envelope-from ) for ; Thu, 05 Sep 2024 02:06:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id oGZrCxsS2WbNcwAAqHPOHw (envelope-from ) for ; Thu, 05 Sep 2024 04:06:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=S4kopfaG; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=hY4Vgf8o; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1725501979; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=q2DfonLx1Y6ZS0v3ertVIn3QlZBBqWJZxSYstA8yT4w=; b=IcBWNcFJ4ESEmRsp8EHR3as6DyTMjUtgWhV01+4XBB/+59mRBEOpPqLOtHX5z22ow5WYVn H39neJnA4Q+Zd9Ldq8Wzgpk+Dg9Fqkd9FMYtdaX/KgtIGykEN91sNZLEWqDjzs8C2mjHOY 7ZC5pUV5B0DOJZPzGio0yeagiC7JHzXRto78aai6m88afkR58SEBPZDaY/ue+WQLxBVsit NdnMpwpD1/KJV1zcgL+X4LnMEg3kuKB+E1bvXCsPvv5BbfV4gI65IQktKSvCgDCS8pUXzf GC5ROZOXvWaVaJQNqAOEW/J1TMM0wZpjeNfvwCnD0GiUK2qKV3/KNw9InjrzBQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=S4kopfaG; dkim=fail ("headers rsa verify failed") header.d=proton.me header.s=protonmail header.b=hY4Vgf8o; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1725501979; a=rsa-sha256; cv=none; b=maEI4nE7Hz+0gNJw99MexOJ9d38u2IKXOLkGDlGSEZDwkWe9SS56B6VUhBqwwBbNMXYLOM nGa6lmV/KULW9jo2+NSiQufBdIroYx2wxcr81SlCW7i9/eNro72Y7mWxhs/1M9E274CS72 1yFNWs6YvC3AYvrQcjE3RfRZz+Be51txlUDU4hNyY1JRUEpIlzMDmL024I8567wwrRL4oJ IduyNuTi/5uUXeXCJ3iTC72tTrinGsrwfPKvt2MWcl8P5u8eN2vtlwU49sxYfn/H8o+XSZ +Y/Yqrc/2EjzFVSJ3siB1zrTAOsbUkjzFd36BYnUhF4Q8wk+u/VgP7v8FYLeVg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7A53B6847E for ; Thu, 5 Sep 2024 04:06:17 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sm1sm-00045v-CH; Wed, 04 Sep 2024 22:06:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sm1sk-00045l-VE for bug-guix@gnu.org; Wed, 04 Sep 2024 22:05:59 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sm1sk-0002tN-GD for bug-guix@gnu.org; Wed, 04 Sep 2024 22:05:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=q2DfonLx1Y6ZS0v3ertVIn3QlZBBqWJZxSYstA8yT4w=; b=S4kopfaG+a6SyDpyfCpI2JiDuSUvr0ZiBYRBezVlaUFgMGr02nTN+NRAja2xc2TC2xpbcWW/tJ1+IcyKVThqMXE+kMNUe4N8hGSgQPBhSD/NU7rcLvpAkX5aN5GNTsgf/KsPHsIzln/WHRbaMMwAqRt36Wtk76OAWqX66zpdvR+JBHuh7wUtKagoHdhBFWjCLt5i17GsdJwgRm6ImCOrDK/wtYyf4VokBV1zGwFbZvCMFnhAkLiUMAOb+YPiR2hM08einFTA2MGg3Hp+RolZ42Rx4hCCCPQ6qGIpRCCaxAvqv9uFV+onxVKC4xjYWODKYE/jmHFp41j3E+x7QiH+XA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sm1tm-0007cR-Hb for bug-guix@gnu.org; Wed, 04 Sep 2024 22:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#73035: Add ZFS services. Or, add ZFS support to raw-initrd. Resent-From: "amano.kenji" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 05 Sep 2024 02:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73035 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 73035@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.172550199829224 (code B ref -1); Thu, 05 Sep 2024 02:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Sep 2024 02:06:38 +0000 Received: from localhost ([127.0.0.1]:35804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sm1tN-0007bI-LE for submit@debbugs.gnu.org; Wed, 04 Sep 2024 22:06:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:45432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sm1tK-0007b7-MA for submit@debbugs.gnu.org; Wed, 04 Sep 2024 22:06:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sm1sH-00043k-PB for bug-guix@gnu.org; Wed, 04 Sep 2024 22:05:29 -0400 Received: from mail-40137.protonmail.ch ([185.70.40.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sm1sG-0002qm-3h for bug-guix@gnu.org; Wed, 04 Sep 2024 22:05:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1725501917; x=1725761117; bh=q2DfonLx1Y6ZS0v3ertVIn3QlZBBqWJZxSYstA8yT4w=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=hY4Vgf8oIbPTIh5A7FP75tni8eLNC2AmipxcLtNhrXxLAPQrGLxbTvX+ogCKyJ2WT TmaRzxLkRO1IscVjnQlAueI0TOOC7wEFzOVk7qzGObIJtDnXyd+lOL9uAgWKP6dA8n A91q+pD0pZTXBFIcixiu4VbtZEc81y5ScLI0+dKsFmuQoCB44K75wiWv95P1LczKh1 6YPBDGjLn5CwTUDEQQbY8Ys57qPWQWYCdOTj9/OAyeQNT02xRwoDvJS9Hfr7J0/d1H mMpMPy8fluzUz1eSC4kdfg+7VwTL/Z/oCl3M55FH71PHoSfY/9t+a2Mvlq3V43UTKV Iim+nkcq69G9g== Date: Thu, 05 Sep 2024 02:05:15 +0000 Message-ID: Feedback-ID: 48725158:user:proton X-Pm-Message-ID: 7a34ae133752506febc975e7d37ef1a6ebf267fc MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.137; envelope-from=amano.kenji@proton.me; helo=mail-40137.protonmail.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: "amano.kenji" From: "amano.kenji" via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 7A53B6847E X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -4.89 X-Spam-Score: -4.89 X-TUID: wFYC06bYcnCG According to my analysis, zfs on root is not a good idea because grub doesn= 't support many zpool features, and grub needs to read kernel and initrd fr= om /gnu/store on root filesystem. If I want to mount ZFS file systems through file-systems of operating-syste= m, raw-initrd should import zfs pools in file-system-scan-commands if any f= ile system is zfs. If I want to mount ZFS file systems through ZFS services, then those ZFS se= rvices should run before services are run because those services might need= ZFS file systems, and ZFS services should be run after devices are mapped = because some ZFS file systems might be on LUKS. If ZFS support goes into raw-initrd, opearting-system will have to support = loading zfs encryption keys in some way. If ZFS services are added instead,= zfs-load-key service can be run during boot. ZFS services are easier and less intrusive to existing gnu guix codebase th= an adding ZFS support to raw-initrd. Either way is fine for me, but if you want to add ZFS services, I recommend= the following services. zfs-mount > zfs-load-key > zfs-mount > zfs-zed zfs-share service seems unnecessary to me.