From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id OOtlA595EGBdXQAA0tVLHw (envelope-from ) for ; Tue, 26 Jan 2021 20:20:47 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CMDZOp55EGApPwAAbx9fmQ (envelope-from ) for ; Tue, 26 Jan 2021 20:20:46 +0000 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 61B0A9402D6 for ; Tue, 26 Jan 2021 20:20:46 +0000 (UTC) Received: from localhost ([::1]:56464 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4UpR-0001ew-4j for larch@yhetil.org; Tue, 26 Jan 2021 15:20:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4Up6-0001eW-UK for guix-devel@gnu.org; Tue, 26 Jan 2021 15:20:28 -0500 Received: from mx1.dismail.de ([78.46.223.134]:7345) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4Up1-0002z0-9L for guix-devel@gnu.org; Tue, 26 Jan 2021 15:20:24 -0500 Received: from mx1.dismail.de (localhost [127.0.0.1]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 0fde0fbb; Tue, 26 Jan 2021 21:20:11 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=dismail.de; h= mime-version:date:content-type:content-transfer-encoding:from :message-id:subject:to:cc:in-reply-to:references; s=20190914; bh=6Ny6vz2IpU58winMYB4BTt7wM7z5FTs0xcJubKL0E4E=; b=XibIlAkUEu8I j0rQs8/o7F/Q1U91Uatv59X53aeOVAZI3g1QheK6R/bXrZlkx9NjhGg7KxRFX6aK ZbKYdwXPUgx3gqYeMx5eEGNJj2QOwhNePoWw1sZs4vDQbJzrIbP1J/8zap/26dNK ZbcSBImebSHUvg9RyxErvcIvW0N81+sUjtRbrxYTGXihBTOJIpgjYNgpVlf3RqLq q6byrIKIyXrKfpzwq4VO5VImQQTh7qEOa6ypKY5+0gKEx3bQ5u5WCa0/4nQzdJik ASrAXVOMVJm5R4bzuqCo5d/Fq1Xf2M9ULlKIOt6Q8krceQHt0bUS2kR+ADqzfAWd iqsGYDAHKg== Received: from smtp2.dismail.de ( [10.240.26.12]) by mx1.dismail.de (OpenSMTPD) with ESMTP id 7c174fd0; Tue, 26 Jan 2021 21:20:10 +0100 (CET) Received: from smtp2.dismail.de (localhost [127.0.0.1]) by smtp2.dismail.de (OpenSMTPD) with ESMTP id e71138e4; Tue, 26 Jan 2021 21:20:11 +0100 (CET) Received: by dismail.de (OpenSMTPD) with ESMTPSA id 121802c2 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 26 Jan 2021 21:20:11 +0100 (CET) MIME-Version: 1.0 Date: Tue, 26 Jan 2021 20:20:10 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: RainLoop/1.14.0a From: jbranso@dismail.de Message-ID: <24f661696c6a502dd95e504154f8fa5c@dismail.de> Subject: Re: Possible bug in configuration-system? To: "Mikhail Tsykalov" , "Raghav Gururajan" In-Reply-To: <67d56589-98f9-4c2c-96fe-f93dd5466ee7@gmail.com> References: <67d56589-98f9-4c2c-96fe-f93dd5466ee7@gmail.com> <076e695c-aaaa-d523-ec59-f73df342ab5b@raghavgururajan.name> Received-SPF: pass client-ip=78.46.223.134; envelope-from=jbranso@dismail.de; helo=mx1.dismail.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.05 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=dismail.de header.s=20190914 header.b=XibIlAkU; dmarc=pass (policy=reject) header.from=dismail.de; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 61B0A9402D6 X-Spam-Score: -2.05 X-Migadu-Scanner: scn0.migadu.com X-TUID: XSyts2XIkym1 I volunteer as tribute to send a patch to fix the manual!=0A=0AJanuary 26= , 2021 11:31 AM, "Mikhail Tsykalov" wrote:=0A=0A> Hi R= aghav,=0A> =0A> Example in the manual is wrong, it should say 'targets' i= nstead of 'target'.=0A> =0A> Regards,=0A> Mikhail.=0A> =0A> On 26.01.2021= 20:35, Raghav Gururajan wrote:=0A> =0A>> Hi Mikhail!=0A>> =0A>> I just n= oticed the commit >=0A>> https://git.savannah.gnu.org/cgit/guix.git/commi= t/?id=3Da9a2fdaabcc78e7a54d9a6bcfa4ee3de308e9a90.=0A>> =0A>> Do you have = any clue regarding the following issue?=0A>> =0A>>> As mentioned in this = page of manual >>=0A>>> (http://guix.gnu.org/manual/en/html_node/Mapped-D= evices.html), for >> lvm-device-mapping, I did the=0A>>> following in my = config.scm:=0A>>> =0A>>> ```=0A>>> (mapped-devices=0A>>> (list=0A>>> (map= ped-device=0A>>> (source=0A>>> (uuid "47bb32fe-da7f-4eb6-a11d-ae07a3a2e6f= 8"))=0A>>> (target "secondary")=0A>>> (type luks-device-mapping))=0A>>> (= mapped-device=0A>>> (source "secondary")=0A>>> (target (list "secondary-r= oot" "secondary-home"))=0A>>> (type lvm-device-mapping))))=0A>>> ```=0A>>= > =0A>>> When I did `guix system reconfigure`, I got the following error:= =0A>>> =0A>>> ```=0A>>> Backtrace:=0A>>> In ice-9/boot-9.scm:=0A>>> 1736:= 10 19 (with-exception-handler _ _ #:unwind? _ # _)=0A>>> 1731:15 18 (with= -exception-handler #> ic=E2=80=A6> =E2=80=A6)= =0A>>> In guix/scripts/system.scm:=0A>>> 1391:8 17 (_)=0A>>> In guix/stat= us.scm:=0A>>> 780:4 16 (call-with-status-report _ _)=0A>>> In guix/script= s/system.scm:=0A>>> 1219:4 15 (_)=0A>>> In ice-9/boot-9.scm:=0A>>> 1736:1= 0 14 (with-exception-handler _ _ #:unwind? _ # _)=0A>>> In guix/store.scm= :=0A>>> 636:37 13 (thunk)=0A>>> 1305:8 12 (call-with-build-handler #> g=E2=80=A6> =E2=80=A6)=0A>>> 2062:24 11 (run-wit= h-store # =E2=80=A6)=0A>>> In guix/= scripts/system.scm:=0A>>> 1243:15 10 (_ _)=0A>>> 813:9 9 (perform-action= reconfigure #< >> kerne=E2=80=A6> =E2=80=A6)=0A>>> In = gnu/system.scm:=0A>>> 1312:26 8 (operating-system-bootcfg #< >> kernel:=E2=80=A6> =E2=80=A6)=0A>>> 574:14 7 (operating-system-= bootloader-crypto-devices #<)=0A>>> In unknown file:= =0A>>> 6 (filter #> gnu/system.scm:551=E2=80= =A6> =E2=80=A6)=0A>>> In gnu/system.scm:=0A>>> 552:26 5 (_ _)=0A>>> 528:= 17 4 (mapped-device-users #< source: >> "second=E2=80=A6>= =E2=80=A6)=0A>>> In srfi/srfi-1.scm:=0A>>> 586:17 3 (map1 (("secondary-= root" "secondary-home")))=0A>>> In unknown file:=0A>>> 2 (string-append "= /dev/mapper/" ("secondary-root" "seco=E2=80=A6"))=0A>>> In ice-9/boot-9.s= cm:=0A>>> 1669:16 1 (raise-exception _ #:continuable? _)=0A>>> 1669:16 = 0 (raise-exception _ #:continuable? _)=0A>>> =0A>>> ice-9/boot-9.scm:1669= :16: In procedure raise-exception:=0A>>> In procedure string-append: Wron= g type (expecting string): >> ("secondary-root" "secondary-home")=0A>>> `= ``=0A>>> =0A>>> When I do the following in my config.scm, system reconfig= ure works fine:=0A>>> =0A>>> ```=0A>>> (mapped-devices=0A>>> (list=0A>>> = (mapped-device=0A>>> (source=0A>>> (uuid "47bb32fe-da7f-4eb6-a11d-ae07a3a= 2e6f8"))=0A>>> (target "secondary")=0A>>> (type luks-device-mapping))=0A>= >> (mapped-device=0A>>> (source "secondary")=0A>>> (target "secondary-roo= t")=0A>>> (type lvm-device-mapping))))=0A>>> ```=0A>>> =0A>>> So seems li= ke listing more than one target causes the error. Is this >> a bug?=0A>> = =0A>> Regards,=0A>> RG.