From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 21 04:39:25 2022 Received: (at 57307) by debbugs.gnu.org; 21 Aug 2022 08:39:25 +0000 Received: from localhost ([127.0.0.1]:33772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPgUO-000386-Qm for submit@debbugs.gnu.org; Sun, 21 Aug 2022 04:39:25 -0400 Received: from jpoiret.xyz ([206.189.101.64]:52774) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oPgUL-00037v-5n for 57307@debbugs.gnu.org; Sun, 21 Aug 2022 04:39:23 -0400 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 61644184F2B; Sun, 21 Aug 2022 08:39:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1661071156; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=X3MUHk9RNjXy58fkMwt2dEdsEPE11C1EK9hP53o4OCU=; b=Jg3GV2OAnsCHSw2Yr/X2oDv0P1JQyRmsXDoyVG55gV/4tAH/NLWnnPOtzLGk82Cbs05iUr YtZJwEOzl8t3/MjmnsoComJ8rDvIZtwPAM9yKW8wV4IXqw7GoqHOGhs2RQYbzybukcgjFO 8lB54vY4mcar+P16qTnKlq3JY1rSy3+MYhesrjqbm/8oHEF7qu7MBhfefYFXh6j46IQSxU FsTicY1zwc8lsM3/k3cnfrGf211sOYf9Uy458xLqbIrur37aWc7y+DhJtBOttKXM57Nptz EVX/oRij2623OmIReuKSboyaZoWVToYogWojBFEhBvTRiiZZUHVpptcWoBAGng== From: Josselin Poiret To: tiantian , 57307@debbugs.gnu.org Subject: Re: bug#57307: guix system reports an error when uuid is used in menu-entry In-Reply-To: References: Date: Sun, 21 Aug 2022 10:39:15 +0200 Message-ID: <87sflquh1o.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: text/plain Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spam-Level: *** X-Spamd-Bar: +++ X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, tiantian writes: > I want to add an menu-entry in bootloader-configuration. I use uuid to > specify the partition in device field of menu-entry , because my > partition has no label. But when I use 'guix system reconf [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 57307 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: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi, tiantian writes: > I want to add an menu-entry in bootloader-configuration. I use uuid to > specify the partition in device field of menu-entry , because my > partition has no label. But when I use 'guix system reconf [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: jpoiret.xyz (xyz)] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FROM_SUSPICIOUS_NTLD From abused NTLD 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager Hi, tiantian writes: > I want to add an menu-entry in bootloader-configuration. I use uuid to > specify the partition in device field of menu-entry , because my > partition has no label. But when I use 'guix system reconfigure', guix > system reports an error: "guix system: error: #< type: dce bv: > #vu8(109 91 19 212 96 146 70 208 139 228 7 61 192 116 19 204)>: invalid > G-expression input" Right, this is an issue with how we translate the menu-entries to sexps through `menu-entry->sexp`, which then get embedded into a g-exp via `operating-system-boot-parameters-file`! We didn't take into account non-string devices there. The following two patches should fix the issue and introduce some tests for it. Best, -- Josselin Poiret