Received: (at 66014) by debbugs.gnu.org; 18 Sep 2023 12:26:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 18 08:26:55 2023 Received: from localhost ([127.0.0.1]:52339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qiDL5-0007zX-4o for submit <at> debbugs.gnu.org; Mon, 18 Sep 2023 08:26:55 -0400 Received: from mx1.riseup.net ([198.252.153.129]:43324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raingloom@HIDDEN>) id 1qiDL3-0007zD-14 for 66014 <at> debbugs.gnu.org; Mon, 18 Sep 2023 08:26:53 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4Rq3ty5QfQzDqRl; Mon, 18 Sep 2023 12:26:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1695039999; bh=OrZWE8z5TUA43EQWddcHQdjy7mXplHWIgOglsbuZ6g0=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=HqUgF30Z8wr0I3kwTptw5Z4C1t7Ju44sDiX2jjthZ1hLjj+NJPxKsqqz/1aN6yOHC 3Xm+61ttpLHmVKjH0F+QIsiTFQSHaLG6RpCTZfO9zenyZbYPtHoDiqfWRCkRY3WE9r EImAg81n3GNPuZT9OdkhkEEjRrBznoy3GTUBd61M= X-Riseup-User-ID: DD73D51EB4EEC1A6BF5113C9535F23CE59DCF337B397719E32950CC20219F946 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4Rq3tl0PF4zJnD3; Mon, 18 Sep 2023 12:26:22 +0000 (UTC) References: <xxlwcsoh7rear4uvg4ual2rylwothzbmgnyr5vwuyxdw6wu67b@wpoyabx34qfl> From: Csepp <raingloom@HIDDEN> To: Lars Rustand <rustand.lars@HIDDEN> Subject: Re: bug#66014: Unable to use UUIDs to construct RAID array in mapped-devices Date: Mon, 18 Sep 2023 14:24:16 +0200 In-reply-to: <xxlwcsoh7rear4uvg4ual2rylwothzbmgnyr5vwuyxdw6wu67b@wpoyabx34qfl> Message-ID: <cuc1qevpt05.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 66014 Cc: bug-guix@HIDDEN, 66014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Lars Rustand <rustand.lars@HIDDEN> writes: > [[PGP Signed Part:Undecided]] > Setting up a RAID array using UUIDs does not work. > > The following mapped-devices block works: > > (mapped-devices > (list > (mapped-device > (source (list "/dev/nvme0n1p2" "/dev/nvme1n1p3")) > (target "/dev/md0") > (type raid-device-mapping)))) > > But this one fails: > > (mapped-devices > (list > (mapped-device > (source (list (uuid "a07c54da-eb61-4135-86b8-8791e863e46a") (uuid "c40026af-ace9-47fc-9d3f-4b8d6a2219cb"))) > (target "/dev/md0") > (type raid-device-mapping)))) > > The error message I get is guix system: error: #<<uuid> type: dce bv: #vu8(160 124 84 218 235 97 65 53 134 184 135 145 232 99 228 106)>: invalid G-expression input > > [[End of PGP Signed Part]] Would it be possible to use /dev/disk/by-uuid paths instead of uuid objects for these? I think this big "typeof" based dynamic dispatch that we're using in Scheme is erm, not very robust, to put it mildly.
bug-guix@HIDDEN
:bug#66014
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 18 Sep 2023 12:27:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 18 08:27:00 2023 Received: from localhost ([127.0.0.1]:52342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qiDLA-0007zs-FF for submit <at> debbugs.gnu.org; Mon, 18 Sep 2023 08:27:00 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raingloom@HIDDEN>) id 1qiDL6-0007zK-1r for submit <at> debbugs.gnu.org; Mon, 18 Sep 2023 08:26:56 -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 <raingloom@HIDDEN>) id 1qiDKs-00061m-DI for bug-guix@HIDDEN; Mon, 18 Sep 2023 08:26:42 -0400 Received: from mx1.riseup.net ([198.252.153.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <raingloom@HIDDEN>) id 1qiDKq-0005uo-Q8 for bug-guix@HIDDEN; Mon, 18 Sep 2023 08:26:42 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4Rq3ty5QfQzDqRl; Mon, 18 Sep 2023 12:26:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1695039999; bh=OrZWE8z5TUA43EQWddcHQdjy7mXplHWIgOglsbuZ6g0=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=HqUgF30Z8wr0I3kwTptw5Z4C1t7Ju44sDiX2jjthZ1hLjj+NJPxKsqqz/1aN6yOHC 3Xm+61ttpLHmVKjH0F+QIsiTFQSHaLG6RpCTZfO9zenyZbYPtHoDiqfWRCkRY3WE9r EImAg81n3GNPuZT9OdkhkEEjRrBznoy3GTUBd61M= X-Riseup-User-ID: DD73D51EB4EEC1A6BF5113C9535F23CE59DCF337B397719E32950CC20219F946 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4Rq3tl0PF4zJnD3; Mon, 18 Sep 2023 12:26:22 +0000 (UTC) References: <xxlwcsoh7rear4uvg4ual2rylwothzbmgnyr5vwuyxdw6wu67b@wpoyabx34qfl> From: Csepp <raingloom@HIDDEN> To: Lars Rustand <rustand.lars@HIDDEN> Subject: Re: bug#66014: Unable to use UUIDs to construct RAID array in mapped-devices Date: Mon, 18 Sep 2023 14:24:16 +0200 In-reply-to: <xxlwcsoh7rear4uvg4ual2rylwothzbmgnyr5vwuyxdw6wu67b@wpoyabx34qfl> Message-ID: <cuc1qevpt05.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@HIDDEN; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=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.0 (/) X-Debbugs-Envelope-To: submit Cc: bug-guix@HIDDEN, 66014 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Lars Rustand <rustand.lars@HIDDEN> writes: > [[PGP Signed Part:Undecided]] > Setting up a RAID array using UUIDs does not work. > > The following mapped-devices block works: > > (mapped-devices > (list > (mapped-device > (source (list "/dev/nvme0n1p2" "/dev/nvme1n1p3")) > (target "/dev/md0") > (type raid-device-mapping)))) > > But this one fails: > > (mapped-devices > (list > (mapped-device > (source (list (uuid "a07c54da-eb61-4135-86b8-8791e863e46a") (uuid "c40026af-ace9-47fc-9d3f-4b8d6a2219cb"))) > (target "/dev/md0") > (type raid-device-mapping)))) > > The error message I get is guix system: error: #<<uuid> type: dce bv: #vu8(160 124 84 218 235 97 65 53 134 184 135 145 232 99 228 106)>: invalid G-expression input > > [[End of PGP Signed Part]] Would it be possible to use /dev/disk/by-uuid paths instead of uuid objects for these? I think this big "typeof" based dynamic dispatch that we're using in Scheme is erm, not very robust, to put it mildly.
bug-guix@HIDDEN
:bug#66014
; Package guix
.
Full text available.Received: (at submit) by debbugs.gnu.org; 15 Sep 2023 18:55:46 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 15 14:55:46 2023 Received: from localhost ([127.0.0.1]:44745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1qhDyg-0006VR-QO for submit <at> debbugs.gnu.org; Fri, 15 Sep 2023 14:55:46 -0400 Received: from lists.gnu.org ([2001:470:142::17]:54186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rustand.lars@HIDDEN>) id 1qhDXz-0005k9-8G for submit <at> debbugs.gnu.org; Fri, 15 Sep 2023 14:28:08 -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 <rustand.lars@HIDDEN>) id 1qhDXn-0003DE-Dr for bug-guix@HIDDEN; Fri, 15 Sep 2023 14:27:55 -0400 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <rustand.lars@HIDDEN>) id 1qhDXl-0008Ru-Ur for bug-guix@HIDDEN; Fri, 15 Sep 2023 14:27:55 -0400 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-5007abb15e9so4180492e87.0 for <bug-guix@HIDDEN>; Fri, 15 Sep 2023 11:27:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1694802471; x=1695407271; darn=gnu.org; h=content-disposition:mime-version:message-id:subject:to:from:date :from:to:cc:subject:date:message-id:reply-to; bh=b9UpdHM2L8v6x7gqSdAQBRhkLER2OJw9gpMcYEpG0FE=; b=f6LWLcSmM5bXcqMs4CbSxWaZYi9EZBCyqFwbfLAs1LTORnmKdhOpdbtMpCgeQSy1FS HLcZU9ZLbRlItn60B75+TI+yT28iP1Is6D7SdKaQUuB8pjTe+48bbpP4KiorpzrDuDE3 Dwkhs99R5F+EsUoHy55ZPjry9BMmBnzjza02gWZ7Yv2FeDsNzkJ14BtDAW0AFwp1KZpF 67EMcAjvARGafqCMUx58kbqqwke49G8ZGMZRSIXTMZ7cjlgC4iBUSK5JVdHbSvCS/oCo vWmaI07r2k6IuuR+P5edR2gJEBF28B+LK0E/6zz3bEpmoJ8jmO2WjFG0XTL8VD9udsDV tq+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694802471; x=1695407271; h=content-disposition:mime-version:message-id:subject:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=b9UpdHM2L8v6x7gqSdAQBRhkLER2OJw9gpMcYEpG0FE=; b=EK2FA7ZVQ9iNtkHakhluss84gUL+7g9uV7kbbycQKgcZ/QmSNXGDFJHd2V1SvJMojv EIHB5zE4L78lNnRdzQ5Jex/5xOewKzVm92qeWSzhmaSo3RJoFITX9OYPdfgu4D/a79RJ FxaArMunnhh1jmz0TVEJ/NFCs8+ICAX9x+iFzTNhp+2eJ6UwdWvBg82o27XZ0jdq3ZUt Cd9Gt0VEZTwMw5KEg67pEW2Pt5lLCXiUNFNs5cbvxZZQo24UeFzeQE+grYQzNCDGY9dj 5UpA1AIwZ/Q3qUFBeyCupnjSJ9xoPcJLH4TSjjCYoZPrIKuIKit/iScSvxnuLHes79kD KMkA== X-Gm-Message-State: AOJu0Yw+qM+zr+AGsAdf0O/eD8Lic38ZwhUo9Ep9VrbZogEzUFBzK7Qq U4KAdyFaQqnMJsgGVfmFzArK1KGjfo8= X-Google-Smtp-Source: AGHT+IFHmHXi8kT57xzFNeStvNNDxS+YvZjLP23ESTs8T79nG0f1LtxmOgW88B1GrkuvxLaMJB+xVg== X-Received: by 2002:a05:6512:3d0e:b0:500:848a:80df with SMTP id d14-20020a0565123d0e00b00500848a80dfmr2910703lfv.66.1694802470971; Fri, 15 Sep 2023 11:27:50 -0700 (PDT) Received: from localhost (78.79-160-60.customer.lyse.net. [79.160.60.78]) by smtp.gmail.com with ESMTPSA id x14-20020a19f60e000000b004ff89a88ef7sm727808lfe.14.2023.09.15.11.27.49 for <bug-guix@HIDDEN> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Sep 2023 11:27:50 -0700 (PDT) Date: Fri, 15 Sep 2023 20:27:32 +0200 From: Lars Rustand <rustand.lars@HIDDEN> To: bug-guix@HIDDEN Subject: Unable to use UUIDs to construct RAID array in mapped-devices Message-ID: <xxlwcsoh7rear4uvg4ual2rylwothzbmgnyr5vwuyxdw6wu67b@wpoyabx34qfl> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6ykd63xbamni3i6a" Content-Disposition: inline Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=rustand.lars@HIDDEN; helo=mail-lf1-x12a.google.com 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_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 15 Sep 2023 14:55:41 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) --6ykd63xbamni3i6a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Setting up a RAID array using UUIDs does not work. The following mapped-devices block works: (mapped-devices (list (mapped-device (source (list "/dev/nvme0n1p2" "/dev/nvme1n1p3")) (target "/dev/md0") (type raid-device-mapping)))) But this one fails: (mapped-devices (list (mapped-device (source (list (uuid "a07c54da-eb61-4135-86b8-8791e863e46a") (uuid "c40026af-ace9-47fc-9d3f-4b8d6a2219cb"))) (target "/dev/md0") (type raid-device-mapping)))) The error message I get is guix system: error: #<<uuid> type: dce bv: #vu8(160 124 84 218 235 97 65 53 134 184 135 145 232 99 228 106)>: invalid G-expression input --6ykd63xbamni3i6a Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCAAdFiEEiiCJ+2D6IxEwRlF4Aitf/nru9hkFAmUEohQACgkQAitf/nru 9hndYAv+K++5gyBVDwyxMdPySk2WBQUGpdgCe/GC0CPtDcWXSNFUwrl5pgziFQC2 I6fMlItg09yneNuVgXAHSMiit8fXVFBJtWjQQbmaTwNTcg0UVdMnollAKb/BxGWv qH4LwXh2qnTuLXr1xh0wEuAXE3mKjnvF0UESs33iws6k5qBTufd4K5j/hXnnylOc UYq+aDfEA1GjnHk00qJVSFg2JdVXcGPafXU5vjq828LdTqz5ltayQRpocMO9wcBI 4J2g36zYvnILLGGI8ZbSu5aXX4fTP+wf746uEcc2ionbKO2g1zfFNigwsilYt1CC cFB+EBMS78iP72MP/VKFELhpFBucClJH2OhgWN+n9J/NNq91fVLvFgY5s3V1jR/Y mQwMcoNXL6s043TosXvZFH+dI5tz9UvpN8L4v4ztuzpUex8tSr1EhJzkSFFz1pPB wvBzyE3yM+U4mXXtmR39++tIJe3Z8k2RgH8wD6OaxkDz+V73J8V1GTzQdDpEcT7J GSy1VMZh =IFZj -----END PGP SIGNATURE----- --6ykd63xbamni3i6a--
Lars Rustand <rustand.lars@HIDDEN>
:bug-guix@HIDDEN
.
Full text available.bug-guix@HIDDEN
:bug#66014
; Package guix
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.