From unknown Fri Jun 20 07:11:43 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#45723 <45723@debbugs.gnu.org> To: bug#45723 <45723@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Correct ZFS udev rules. Reply-To: bug#45723 <45723@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:11:43 +0000 retitle 45723 [PATCH] gnu: Correct ZFS udev rules. reassign 45723 guix-patches submitter 45723 raid5atemyhomework severity 45723 normal tag 45723 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 08 00:31:33 2021 Received: (at submit) by debbugs.gnu.org; 8 Jan 2021 05:31:33 +0000 Received: from localhost ([127.0.0.1]:49055 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxkN3-0008Po-2N for submit@debbugs.gnu.org; Fri, 08 Jan 2021 00:31:33 -0500 Received: from lists.gnu.org ([209.51.188.17]:38152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kxkMy-0008Pe-M9 for submit@debbugs.gnu.org; Fri, 08 Jan 2021 00:31:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxkMy-0005CS-CK for guix-patches@gnu.org; Fri, 08 Jan 2021 00:31:28 -0500 Received: from mail-40137.protonmail.ch ([185.70.40.137]:52325) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxkMu-0000Zx-Us for guix-patches@gnu.org; Fri, 08 Jan 2021 00:31:27 -0500 Date: Fri, 08 Jan 2021 05:31:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1610083882; bh=gjP9Ozdu8FCdnc2iAMlirOeluEivno/YBbdybzfCBJc=; h=Date:To:From:Reply-To:Subject:From; b=GBnIuOKekE87C9oRJxEzHO7Thlasa3XF94l1J6pmM4P6+FzSBPyROOl8XsNp1jinA oCl+BNeUAL5+ti90YB79a5LJX0D24/iwdxcBxx6mrQssvW+LeXblyXIuC3OiiGEAIq isCVaeo24xSdEobIgluucuqNn9NzGS5rA6ysXCUM= To: "guix-patches@gnu.org" From: raid5atemyhomework Subject: [PATCH] gnu: Correct ZFS udev rules. Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=10.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM shortcircuit=no autolearn=disabled version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on mailout.protonmail.ch Received-SPF: pass client-ip=185.70.40.137; envelope-from=raid5atemyhomework@protonmail.com; 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, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: raid5atemyhomework Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) So ZFS has some udev rules, except one of them uses `/sbin/modprobe`, so we= need to substitute it with an appropriate `modprobe`. Slowly and surely ZFS is coming to Guix... >From 14322771ca333ff269f67cc41c4dcff8809da03b Mon Sep 17 00:00:00 2001 From: raid5atemyhomework Date: Fri, 8 Jan 2021 13:11:53 +0800 Subject: [PATCH] gnu: Correct ZFS udev rules. * gnu/packages/file-systems.scm (zfs): Add substitutions for /sbin/modprobe in udev rules. --- gnu/packages/file-systems.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gnu/packages/file-systems.scm b/gnu/packages/file-systems.scm index 2c5ad95d63..f74d519b33 100644 --- a/gnu/packages/file-systems.scm +++ b/gnu/packages/file-systems.scm @@ -885,7 +885,8 @@ APFS.") (let ((out (assoc-ref outputs "out")) (src (assoc-ref outputs "src")) (util-linux (assoc-ref inputs "util-linux")) - (nfs-utils (assoc-ref inputs "nfs-utils"))) + (nfs-utils (assoc-ref inputs "nfs-utils")) + (kmod (assoc-ref inputs "kmod-runtime"))) (substitute* "contrib/Makefile.in" ;; This is not configurable nor is its hard-coded /usr pr= efix. ((" initramfs") "")) @@ -915,7 +916,9 @@ APFS.") (substitute* "contrib/pyzfs/Makefile.in" ((".*install-lib.*") "")) (substitute* '("Makefile.am" "Makefile.in") - (("\\$\\(prefix)/src") (string-append src "/src")))) + (("\\$\\(prefix)/src") (string-append src "/src"))) + (substitute* (find-files "udev/rules.d/" ".rules.in$") + (("/sbin/modprobe") (string-append kmod "/bin/modprobe"))= )) #t)) (replace 'build (lambda _ (invoke "make"))) @@ -947,7 +950,8 @@ APFS.") ("python-cffi" ,python-cffi) ("util-linux" ,util-linux) ("util-linux:lib" ,util-linux "lib") - ("zlib" ,zlib))) + ("zlib" ,zlib) + ("kmod-runtime" ,kmod))) (home-page "https://zfsonlinux.org/") (synopsis "Native ZFS on Linux") (description -- 2.30.0 From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 20 07:45:24 2021 Received: (at 45723-done) by debbugs.gnu.org; 20 Jan 2021 12:45:24 +0000 Received: from localhost ([127.0.0.1]:53147 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2CrT-0001JT-RC for submit@debbugs.gnu.org; Wed, 20 Jan 2021 07:45:24 -0500 Received: from flashner.co.il ([178.62.234.194]:37512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l2CrR-0001JE-O1 for 45723-done@debbugs.gnu.org; Wed, 20 Jan 2021 07:45:22 -0500 Received: from localhost (unknown [31.210.181.184]) by flashner.co.il (Postfix) with ESMTPSA id A9C7B40297; Wed, 20 Jan 2021 12:45:15 +0000 (UTC) Date: Wed, 20 Jan 2021 14:44:07 +0200 From: Efraim Flashner To: raid5atemyhomework Subject: Re: [bug#45723] [PATCH] gnu: Correct ZFS udev rules. Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qFxq/ck5rCib7qi+" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 45723-done Cc: 45723-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --qFxq/ck5rCib7qi+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I moved kmod-runtime so that it was sorted alphabetically and pushed the patch. --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --qFxq/ck5rCib7qi+ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmAIJZcACgkQQarn3Mo9 g1Gs/g//WT1yKbaWtRD+AEXsi6gVbfm+LfIOW7prVFfkjYdm3ZzzcsaTI0o+e3h/ LwIIUVYaI4LFthyqBQDIJuxrFftSkRQuWlgIsLm6cYDtTmgy/DBCf36PfSxt+ADq ox7cTeDthEARPkQh6XAO1FiVLNaDGDf5OUujXLSj4eiAkakD3OnSQdk+WCVl+3zG MXPuLSV51h4YLEl1e7ranu3MdAXcOhYfqaZHDlnSvRBDltJIKQYSEu0MmbLHytQ/ zMKXAflt+apuy+NSjOtiLdz7kIx9p20GN9F9yqvbleIXbZa6OUNB529VrBq6DFeb 3hlsDPMMbO/IEq3fAChmfk3Czpk0F1nUiWgkfj7NwleVjYwnfwzUL1iqdb+A3sGV ukZ9QewBFaz2tK25S92E+RPw/3RO0UK7EFM16BDhsKEHcXp73VV/uEGfrfN+tTGI ML30JgW4XCPQyVQE451jyl3qAM0tksD/0nWX0+ffhpKB29/fEp/BYDXpJZew8GAv zH7gPy/jLk54ZMGDyfiPYyHxAecesMo7FGIJOcKvLTh/AlHWVhUF+qjvXVRhanrk cFpxTh0DAJ2S4cpLjCu2I/LkLm4HeM2wJxXy+h65feJ3Z7bv6utkx/duJg4IsNve m1pXQzz00kon9NYOz5tzFUxGF/5FVWmHJrQ7zMcU6Jnb/7aHUeI= =h2Ue -----END PGP SIGNATURE----- --qFxq/ck5rCib7qi+-- From unknown Fri Jun 20 07:11:43 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 18 Feb 2021 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator