GNU bug report logs - #57983
Error installing on a Framework Laptop

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: "Dan Finlay" <dan@HIDDEN>; dated Wed, 21 Sep 2022 16:47:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added blocking bug(s) 56005 and 2 Request was from Mathieu Othacehe <mathieu@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 57983 <at> debbugs.gnu.org:


Received: (at 57983) by debbugs.gnu.org; 22 Sep 2022 14:35:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 22 10:35:05 2022
Received: from localhost ([127.0.0.1]:38205 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obNI8-0006NE-Fc
	for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 10:35:05 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37368)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1obNI4-0006Mc-3X
 for 57983 <at> debbugs.gnu.org; Thu, 22 Sep 2022 10:35:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:42200)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>)
 id 1obNHy-000856-Cx; Thu, 22 Sep 2022 10:34:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=Ng+rBmWkGcS0UL7bzxLFzz+SRypLIq3JmOHEkhtbZlo=; b=kc3LEV3jeG/G72ReEUFE
 mZGLA2iIoZQcTeVVZhtOFSdmwD0zp9EHCCnVsw3gstgR+drug4qRpmHQelq2VWRliV4PGgEb/kyJR
 m5/ij0HIM9imYsU9A0lwdkSuHpHb7qAs4W+eaeyDDTB6ItxDWe0I7u/+1nILoQtKetSnQMo725K2h
 R4K/KgWPCrBoZxiZooPnhp3oO7p3jf3x19FIPTAQdLwRLP3KG0y/hKSUY23ZzXUIEgJG2Db/9OB3v
 xktohubODusVNeoyP/k/VEetkkAv0ZIOiVV+pUQrXvj2j9PMb0bXt3wc0wPbb9pghRaPUClsqlNIW
 zyiBr5xwUbfAvQ==;
Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net
 ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775]:45170 helo=meije)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>)
 id 1obNHy-0006uE-2L; Thu, 22 Sep 2022 10:34:54 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: Josselin Poiret <dev@HIDDEN>
Subject: Re: bug#57983: Error installing on a Framework Laptop
References: <87k05v3ntn.fsf@HIDDEN> <cover.1663852053.git.dev@HIDDEN>
Date: Thu, 22 Sep 2022 16:34:50 +0200
In-Reply-To: <cover.1663852053.git.dev@HIDDEN> (Josselin Poiret's message
 of "Thu, 22 Sep 2022 15:12:43 +0200")
Message-ID: <87k05v1nqt.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 57983
Cc: Dan Finlay <dan@HIDDEN>, 57983 <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: -3.3 (---)


Hey,

> Here is a fix for the second issue, as well as a little bonus commit for a
> mistake that made it past my refactoring.

That's awesome. I tested by running an install with "automatic encrypted
partitioning" then killing the "guix init" process. The installer is
able to resume the final step without any issue.

I added a "Partially-Fixes" tag as this patchset fixes one of the two
issues Dan reported, and pushed. This issue is now blocked by
https://issues.guix.gnu.org/56005 resolution.

Thanks,

Mathieu




Information forwarded to bug-guix@HIDDEN:
bug#57983; Package guix. Full text available.

Message received at 57983 <at> debbugs.gnu.org:


Received: (at 57983) by debbugs.gnu.org; 22 Sep 2022 13:13:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 22 09:13:41 2022
Received: from localhost ([127.0.0.1]:36671 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obM1N-0003yZ-8W
	for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 09:13:41 -0400
Received: from jpoiret.xyz ([206.189.101.64]:47036)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dev@HIDDEN>) id 1obM15-0003xE-Po
 for 57983 <at> debbugs.gnu.org; Thu, 22 Sep 2022 09:13:28 -0400
Received: from authenticated-user (jpoiret.xyz [206.189.101.64])
 by jpoiret.xyz (Postfix) with ESMTPA id B7EBC18530F;
 Thu, 22 Sep 2022 13:13:21 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim;
 t=1663852402;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=II5Mv7NrZUvK1Dd9a1QIj5OT9SoCDiSTTU7thH6ZNe8=;
 b=P5s/Xbfr/9pmbT0fTcSh5Aesmw/pzNlYBu+8tquiuwrsaM7a47Maz/5VBvPPDRMOu6r0D1
 YXQxdq5x1nm9zGZfOCKhWotNMOqKZY+ILy8CdUY4Y1zH4kkW//ydZ2qR9Z99Xrq02r/7O9
 kC6olGvlLzZiN/ep1KItPxj2NF6PJU+TQ0zUIOsxAnT+VMQl/KGcRHgBWjkBOUEm/fHneO
 kleu9eQcZrn9xlK7QJMITASyCA90QaeQXm6cqrHz5mASCmCfEK8FQ0AAUlZ4nNHQYTeC2c
 Nophy1O4Wvz1GePLd+Kzt15hn5eMAdxDYGu+WeAdY6KywiKS6PkOnt/tzhkYNQ==
From: Josselin Poiret <dev@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>,
	Dan Finlay <dan@HIDDEN>
Subject: [PATCH 0/4] Fix luks devices not being re-opened when restarting the
 final step
Date: Thu, 22 Sep 2022 15:12:43 +0200
Message-Id: <cover.1663852053.git.dev@HIDDEN>
In-Reply-To: <87k05v3ntn.fsf@HIDDEN>
References: <87k05v3ntn.fsf@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Authentication-Results: jpoiret.xyz;
 auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN
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 both of you, Here is a fix for the second issue, as well
 as a little bonus commit for a mistake that made it past my refactoring.
 Best, 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 T_SPF_TEMPERROR        SPF: test of record failed (temperror)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-Debbugs-Envelope-To: 57983
Cc: Josselin Poiret <dev@HIDDEN>, 57983 <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 (+)

Hi both of you,

Here is a fix for the second issue, as well as a little bonus commit for a
mistake that made it past my refactoring.

Best,

Josselin Poiret (4):
  installer: Move <secret> to utils and use it for crypt passwords.
  installer: Return partitions with crypt password as step result.
  installer: Ensure luks devices are open when mounting partitions.
  installer: Exit console-services page with abort-to-prompt.

 gnu/installer/newt/partition.scm |  8 ++++----
 gnu/installer/newt/services.scm  |  6 ++----
 gnu/installer/parted.scm         | 20 ++++++++++++++++++--
 gnu/installer/user.scm           | 18 ++----------------
 gnu/installer/utils.scm          | 19 ++++++++++++++++++-
 5 files changed, 44 insertions(+), 27 deletions(-)


base-commit: 344405475aebd6bcad60f29fc4ac0b7122a78fd0
-- 
2.37.2





Information forwarded to bug-guix@HIDDEN:
bug#57983; Package guix. Full text available.

Message received at 57983 <at> debbugs.gnu.org:


Received: (at 57983) by debbugs.gnu.org; 22 Sep 2022 13:13:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 22 09:13:30 2022
Received: from localhost ([127.0.0.1]:36669 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obM1B-0003yA-St
	for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 09:13:30 -0400
Received: from jpoiret.xyz ([206.189.101.64]:47424)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dev@HIDDEN>) id 1obM18-0003xP-T9
 for 57983 <at> debbugs.gnu.org; Thu, 22 Sep 2022 09:13:27 -0400
Received: from authenticated-user (jpoiret.xyz [206.189.101.64])
 by jpoiret.xyz (Postfix) with ESMTPA id 09793185313;
 Thu, 22 Sep 2022 13:13:25 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim;
 t=1663852406;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=EXIvKIObJBpeE4RQRdep+ge9Dww3xyvPVzvVSuChpUg=;
 b=W88naTivTZ1LBYcdUS3tSntf+lRPU23Pw5dwcRGznDq0ox7+JiK1eCA79XY6l1afjdlWJq
 IDez7630qycEsaDfyzaga20XxJ1HeazU+g+ilIwQdXLg4+NpNlGrT+zbNK3rRB591DguVW
 FyfpkKiuBy0uB6Ld2B8YpBpsM7R3GpI3Ynysy4fXD+NEOKR1A1klMdxh6nn4xf2DFqBdsf
 gnUp+b8TYVozb5NeF6CXOqff3mVjJs6NjFhMRJmHyz/jR3eAynKCY0qrHBWLVwgMIco3wL
 uJIngzFPFm+wBwuWoKCl+BatWXpSxkg99/bWUyI3zGhuYaqhA0G7330eMRGbuQ==
From: Josselin Poiret <dev@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>,
	Dan Finlay <dan@HIDDEN>
Subject: [PATCH 4/4] installer: Exit console-services page with
 abort-to-prompt.
Date: Thu, 22 Sep 2022 15:12:47 +0200
Message-Id: <c3a9d3f172a4ff9ef70911e36a67618722ebbcc5.1663852053.git.dev@HIDDEN>
In-Reply-To: <cover.1663852053.git.dev@HIDDEN>
References: <cover.1663852053.git.dev@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Authentication-Results: jpoiret.xyz;
 auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN
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: * gnu/installer/newt/services.scm
 (run-console-services-cbt-page):
 Do it. --- gnu/installer/newt/services.scm | 6 ++---- 1 file changed,
 2 insertions(+), 
 4 deletions(-) diff --git a/gnu/installer/newt/services.scm
 b/gnu/installer/newt/services.scm
 index 9951ad2212..b22024602c 100644 --- a/gnu/installer/newt/services.scm
 +++ b/gnu/installer/newt/services.scm @@ -99,10 [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: jpoiret.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-Debbugs-Envelope-To: 57983
Cc: Josselin Poiret <dev@HIDDEN>, 57983 <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 (+)

* gnu/installer/newt/services.scm (run-console-services-cbt-page): Do it.
---
 gnu/installer/newt/services.scm | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/gnu/installer/newt/services.scm b/gnu/installer/newt/services.scm
index 9951ad2212..b22024602c 100644
--- a/gnu/installer/newt/services.scm
+++ b/gnu/installer/newt/services.scm
@@ -99,10 +99,8 @@ (define (run-console-services-cbt-page)
       #:item->text (compose G_ system-service-name)
       #:checkbox-tree-height 5
       #:exit-button-callback-procedure
-      (lambda ()
-        (raise
-          (condition
-            (&installer-step-abort)))))))
+      (lambda _
+        (abort-to-prompt 'installer-step 'abort)))))
 
 (define (run-network-management-page)
   "Run a page to select among several network management methods."
-- 
2.37.2





Information forwarded to bug-guix@HIDDEN:
bug#57983; Package guix. Full text available.

Message received at 57983 <at> debbugs.gnu.org:


Received: (at 57983) by debbugs.gnu.org; 22 Sep 2022 13:13:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 22 09:13:29 2022
Received: from localhost ([127.0.0.1]:36667 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obM1B-0003y3-Hn
	for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 09:13:29 -0400
Received: from jpoiret.xyz ([206.189.101.64]:47320)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dev@HIDDEN>) id 1obM17-0003xJ-VJ
 for 57983 <at> debbugs.gnu.org; Thu, 22 Sep 2022 09:13:27 -0400
Received: from authenticated-user (jpoiret.xyz [206.189.101.64])
 by jpoiret.xyz (Postfix) with ESMTPA id 0972E185312;
 Thu, 22 Sep 2022 13:13:24 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim;
 t=1663852405;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=H7VsofWqHl+6JRTsvFRj4MfMCKLZInyJLLZuVp5IbTo=;
 b=A7RjhVOpZKobXBkUJ5uWDzR9rUXvu7y0k4vnpKyiwAwjLqbEpoxd/zOjXERsV/TkHmZRKw
 iwt2bBPDc+lWNSJzaCgaEUSGPjz35NTk9eGGPm0NIjwunKJO9qB/gIvWVomfUOGV4QQYy4
 JahQ6+MqraJRVbYRy5tpDHsduQ89miScqXg+bUGDjoUv9LCEJeF2nVCzAHrH7/Q0VNIwsl
 xVkCMTPXNw9kuA8eJZNgA8wFzrfS74iLEvW+nDH8vnV/AWj03To5Ie/PEfjhAYQlaITnP6
 i93umvwY/uAV6pdn4/Hphw3ZDhuakSgY8o0d8NVfW2xPUAe+fiA3S+DG1KHY3A==
From: Josselin Poiret <dev@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>,
	Dan Finlay <dan@HIDDEN>
Subject: [PATCH 3/4] installer: Ensure luks devices are open when mounting
 partitions.
Date: Thu, 22 Sep 2022 15:12:46 +0200
Message-Id: <c501c5e4e558e8a1838e2591e7758319eaa1236f.1663852053.git.dev@HIDDEN>
In-Reply-To: <cover.1663852053.git.dev@HIDDEN>
References: <cover.1663852053.git.dev@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Authentication-Results: jpoiret.xyz;
 auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN
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: * gnu/installer/parted.scm (luks-ensure-open): New procedure.
 (unmount-user-partitions): Ensure luks devices are open. ---
 gnu/installer/parted.scm
 | 16 ++++++++++++++++ 1 file changed, 16 insertions( [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: jpoiret.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-Debbugs-Envelope-To: 57983
Cc: Josselin Poiret <dev@HIDDEN>, 57983 <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 (+)

* gnu/installer/parted.scm (luks-ensure-open): New procedure.
(unmount-user-partitions): Ensure luks devices are open.
---
 gnu/installer/parted.scm | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/gnu/installer/parted.scm b/gnu/installer/parted.scm
index 51ba2bebd6..fcc936a391 100644
--- a/gnu/installer/parted.scm
+++ b/gnu/installer/parted.scm
@@ -1194,6 +1194,20 @@ (define (luks-format-and-open user-partition)
        ((run-command-in-installer) "cryptsetup" "open" "--type" "luks"
         "--key-file" key-file file-name label)))))
 
+(define (luks-ensure-open user-partition)
+  "Ensure partition pointed by USER-PARTITION is opened."
+  (unless (file-exists? (user-partition-upper-file-name user-partition))
+    (let* ((file-name (user-partition-file-name user-partition))
+           (label (user-partition-crypt-label user-partition))
+           (password (secret-content (user-partition-crypt-password user-partition))))
+      (call-with-luks-key-file
+       password
+       (lambda (key-file)
+         (installer-log-line "opening LUKS entry ~s at ~s"
+                             label file-name)
+         ((run-command-in-installer) "cryptsetup" "open" "--type" "luks"
+          "--key-file" key-file file-name label))))))
+
 (define (luks-close user-partition)
   "Close the encrypted partition pointed by USER-PARTITION."
   (let ((label (user-partition-crypt-label user-partition)))
@@ -1278,6 +1292,8 @@ (define (mount-user-partitions user-partitions)
                         (user-fs-type->mount-type fs-type))
                        (file-name
                         (user-partition-upper-file-name user-partition)))
+                  (when crypt-label
+                    (luks-ensure-open user-partition))
                   (mkdir-p target)
                   (installer-log-line "mounting ~s on ~s" file-name target)
                   (mount file-name target mount-type)))
-- 
2.37.2





Information forwarded to bug-guix@HIDDEN:
bug#57983; Package guix. Full text available.

Message received at 57983 <at> debbugs.gnu.org:


Received: (at 57983) by debbugs.gnu.org; 22 Sep 2022 13:13:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 22 09:13:29 2022
Received: from localhost ([127.0.0.1]:36665 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obM1B-0003xv-7I
	for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 09:13:29 -0400
Received: from jpoiret.xyz ([206.189.101.64]:47212)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dev@HIDDEN>) id 1obM17-0003xH-1A
 for 57983 <at> debbugs.gnu.org; Thu, 22 Sep 2022 09:13:27 -0400
Received: from authenticated-user (jpoiret.xyz [206.189.101.64])
 by jpoiret.xyz (Postfix) with ESMTPA id 20AAC185311;
 Thu, 22 Sep 2022 13:13:24 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim;
 t=1663852404;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=VW8ZZxf+93uacGIZTzFU8D3y3vLct4w+GW0cG34rtnU=;
 b=fuByOvVDIChg/Ua/EhD/Nn4oQzAFnoTRYX+1woRNKywxv5185YyKjoGyOB9gQBkmkqBab+
 IDkMxs8AvejF5xyCYPJw+UWo7tUbk/PbZ6qOEztdVDWgYJDlNVRMc2ndEz0F+bg8mAvZI3
 42/XNWNDFfYTFWfKyOvT2hrFssUq8XCl6l2Du9QDfN46jV4CyA/TFObk5G9hxotHAtA5B7
 vEyeXZ+1QuBnOQ/czJAE2jROgfk0twMHqFVfeBvFhtQHEoLDW+7wNsXNBDGgRXMBq6n3Uv
 zBjZ8Ygon8BAXKXgEMgSNAY1dMwTH5QVCfi2gjcKV9rcDLqiQE0M8MPjKIW4Ug==
From: Josselin Poiret <dev@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>,
	Dan Finlay <dan@HIDDEN>
Subject: [PATCH 2/4] installer: Return partitions with crypt password as step
 result.
Date: Thu, 22 Sep 2022 15:12:45 +0200
Message-Id: <04942e8af510ce57d06ca27590d3a1bf8bbfd0d2.1663852053.git.dev@HIDDEN>
In-Reply-To: <cover.1663852053.git.dev@HIDDEN>
References: <cover.1663852053.git.dev@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Authentication-Results: jpoiret.xyz;
 auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN
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: * gnu/installer/newt/partition.scm (run-partitioning-page):
 Do it. --- gnu/installer/newt/partition.scm | 6 +++--- 1 file changed, 3
 insertions(+), 3 deletions(-) diff --git a/gnu/installer/newt/partition.scm
 b/gnu/installer/newt/partition.scm index eda34e0461..2adb4922b4 100644 ---
 a/gnu/installer/newt/partition.scm +++ b/gnu/installer/newt/partition.scm
 @@ -7 [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: jpoiret.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-Debbugs-Envelope-To: 57983
Cc: Josselin Poiret <dev@HIDDEN>, 57983 <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 (+)

* gnu/installer/newt/partition.scm (run-partitioning-page): Do it.
---
 gnu/installer/newt/partition.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/installer/newt/partition.scm b/gnu/installer/newt/partition.scm
index eda34e0461..2adb4922b4 100644
--- a/gnu/installer/newt/partition.scm
+++ b/gnu/installer/newt/partition.scm
@@ -795,13 +795,13 @@ (define (run-page devices)
          (user-partitions (run-page eligible-devices))
          (user-partitions-with-pass (prompt-luks-passwords
                                      user-partitions))
-         (form (draw-formatting-page user-partitions)))
+         (form (draw-formatting-page user-partitions-with-pass)))
     ;; Make sure the disks are not in use before proceeding to formatting.
     (free-parted eligible-devices)
     (format-user-partitions user-partitions-with-pass)
     (installer-log-line "formatted ~a user partitions"
             (length user-partitions-with-pass))
-    (installer-log-line "user-partitions: ~a" user-partitions)
+    (installer-log-line "user-partitions: ~a" user-partitions-with-pass)
 
     (destroy-form-and-pop form)
-    user-partitions))
+    user-partitions-with-pass))
-- 
2.37.2





Information forwarded to bug-guix@HIDDEN:
bug#57983; Package guix. Full text available.

Message received at 57983 <at> debbugs.gnu.org:


Received: (at 57983) by debbugs.gnu.org; 22 Sep 2022 13:13:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 22 09:13:29 2022
Received: from localhost ([127.0.0.1]:36663 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obM1A-0003xs-JU
	for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 09:13:29 -0400
Received: from jpoiret.xyz ([206.189.101.64]:47102)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dev@HIDDEN>) id 1obM16-0003xF-40
 for 57983 <at> debbugs.gnu.org; Thu, 22 Sep 2022 09:13:26 -0400
Received: from authenticated-user (jpoiret.xyz [206.189.101.64])
 by jpoiret.xyz (Postfix) with ESMTPA id DAC15185310;
 Thu, 22 Sep 2022 13:13:22 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim;
 t=1663852403;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:cc:mime-version:mime-version:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references;
 bh=3GiqGi2LUhd0IyqbH14wmH4Dq059uSd90gr5jJFKDBk=;
 b=w4r/0FL02yDzT0OAFys+sEe53GS9jD7bNK9XtlTfPl7EMAt1kO7LP5fi9W4bwo2uVXDasS
 R6h7vvvsBn6Vkv1hD5cq3b2MK3PAT6ayI9Dkzw7wKeryHxid5pdXM2kaNN389Rl2Pux7oX
 O+NbTdSiSQN3JtT9hybWrC4Eo809lF/SdwMTkfl4zevs/7pFVfzBmM6e4PUxm+yTHuA884
 g83ZUbcB2EOaYyJb/CYuaA1Jca+VeQqx8sQKMOc0gbd4jcQkJxcmAyzDIz5NfwMSb3hJwY
 rdNUCclEpCIfR6YGv7grIlKfpUb6jqFHY2m4nnY+rRMUXAuS/FblExo57JRfog==
From: Josselin Poiret <dev@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>,
	Dan Finlay <dan@HIDDEN>
Subject: [PATCH 1/4] installer: Move <secret> to utils and use it for crypt
 passwords.
Date: Thu, 22 Sep 2022 15:12:44 +0200
Message-Id: <136dd86c030223934f2cadfc47c57bb2949ccfbd.1663852053.git.dev@HIDDEN>
In-Reply-To: <cover.1663852053.git.dev@HIDDEN>
References: <cover.1663852053.git.dev@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Authentication-Results: jpoiret.xyz;
 auth=pass smtp.auth=jpoiret@HIDDEN smtp.mailfrom=dev@HIDDEN
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:  * gnu/installer/user.scm (<secret>, secret?, make-secret,
 secret-content): Move to utils.scm. * gnu/installer/utils.scm (<secret>,
 secret?, 
 make-secret, secret-content): Moved from user.scm. * gnu/ins [...] 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 2.0 PDS_OTHER_BAD_TLD      Untrustworthy TLDs
 [URI: jpoiret.xyz (xyz)]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FROM_SUSPICIOUS_NTLD   From abused NTLD
X-Debbugs-Envelope-To: 57983
Cc: Josselin Poiret <dev@HIDDEN>, 57983 <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 (+)

* gnu/installer/user.scm (<secret>, secret?, make-secret, secret-content): Move
to utils.scm.
* gnu/installer/utils.scm (<secret>, secret?, make-secret, secret-content):
Moved from user.scm.
* gnu/installer/newt/partition.scm (prompt-luks-passwords): Make password a
<secret>.
* gnu/installer/parted.scm (luks-format-and-open): Unwrap secret.
---
 gnu/installer/newt/partition.scm |  2 +-
 gnu/installer/parted.scm         |  4 ++--
 gnu/installer/user.scm           | 18 ++----------------
 gnu/installer/utils.scm          | 19 ++++++++++++++++++-
 4 files changed, 23 insertions(+), 20 deletions(-)

diff --git a/gnu/installer/newt/partition.scm b/gnu/installer/newt/partition.scm
index e7a97810ac..eda34e0461 100644
--- a/gnu/installer/newt/partition.scm
+++ b/gnu/installer/newt/partition.scm
@@ -188,7 +188,7 @@ (define (prompt-luks-passwords user-partitions)
                    (if (string=? password confirmation)
                        (user-partition
                         (inherit user-part)
-                        (crypt-password password))
+                        (crypt-password (make-secret password)))
                        (begin
                          (run-error-page
                           (G_ "Password mismatch, please try again.")
diff --git a/gnu/installer/parted.scm b/gnu/installer/parted.scm
index 84fdbe24fb..51ba2bebd6 100644
--- a/gnu/installer/parted.scm
+++ b/gnu/installer/parted.scm
@@ -148,7 +148,7 @@ (define-record-type* <user-partition>
                         (default #f))
   (crypt-label          user-partition-crypt-label
                         (default #f))
-  (crypt-password       user-partition-crypt-password
+  (crypt-password       user-partition-crypt-password ; <secret>
                         (default #f))
   (fs-type              user-partition-fs-type
                         (default 'ext4))
@@ -1183,7 +1183,7 @@ (define (luks-format-and-open user-partition)
   "Format and open the encrypted partition pointed by USER-PARTITION."
   (let* ((file-name (user-partition-file-name user-partition))
          (label (user-partition-crypt-label user-partition))
-         (password (user-partition-crypt-password user-partition)))
+         (password (secret-content (user-partition-crypt-password user-partition))))
     (call-with-luks-key-file
      password
      (lambda (key-file)
diff --git a/gnu/installer/user.scm b/gnu/installer/user.scm
index 224040530c..2866e4520f 100644
--- a/gnu/installer/user.scm
+++ b/gnu/installer/user.scm
@@ -17,17 +17,13 @@
 ;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.
 
 (define-module (gnu installer user)
+  #:use-module (gnu installer utils)
   #:use-module (guix records)
   #:use-module (guix read-print)
   #:use-module (srfi srfi-1)
   #:use-module (srfi srfi-9)
   #:use-module (srfi srfi-9 gnu)
-  #:export (<secret>
-            secret?
-            make-secret
-            secret-content
-
-            <user>
+  #:export (<user>
             user
             make-user
             user-name
@@ -38,16 +34,6 @@ (define-module (gnu installer user)
 
             users->configuration))
 
-(define-record-type <secret>
-  (make-secret content)
-  secret?
-  (content secret-content))
-
-(set-record-type-printer!
- <secret>
- (lambda (secret port)
-   (format port "<secret>")))
-
 (define-record-type* <user>
   user make-user
   user?
diff --git a/gnu/installer/utils.scm b/gnu/installer/utils.scm
index fb62fb8896..5fd2e2d425 100644
--- a/gnu/installer/utils.scm
+++ b/gnu/installer/utils.scm
@@ -23,6 +23,8 @@ (define-module (gnu installer utils)
   #:use-module (guix build utils)
   #:use-module (guix i18n)
   #:use-module (srfi srfi-1)
+  #:use-module (srfi srfi-9)
+  #:use-module (srfi srfi-9 gnu)
   #:use-module (srfi srfi-19)
   #:use-module (srfi srfi-34)
   #:use-module (srfi srfi-35)
@@ -33,7 +35,12 @@ (define-module (gnu installer utils)
   #:use-module (ice-9 regex)
   #:use-module (ice-9 format)
   #:use-module (ice-9 textual-ports)
-  #:export (read-lines
+  #:export (<secret>
+            secret?
+            make-secret
+            secret-content
+
+            read-lines
             read-all
             nearest-exact-integer
             read-percentage
@@ -58,6 +65,16 @@ (define-module (gnu installer utils)
 
             with-silent-shepherd))
 
+(define-record-type <secret>
+  (make-secret content)
+  secret?
+  (content secret-content))
+
+(set-record-type-printer!
+ <secret>
+ (lambda (secret port)
+   (format port "<secret>")))
+
 (define* (read-lines #:optional (port (current-input-port)))
   "Read lines from PORT and return them as a list."
   (let loop ((line (read-line port))
-- 
2.37.2





Information forwarded to bug-guix@HIDDEN:
bug#57983; Package guix. Full text available.
Severity set to 'important' from 'normal' Request was from Mathieu Othacehe <mathieu@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 57983 <at> debbugs.gnu.org:


Received: (at 57983) by debbugs.gnu.org; 22 Sep 2022 06:50:25 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 22 02:50:25 2022
Received: from localhost ([127.0.0.1]:35998 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1obG2S-00084B-LO
	for submit <at> debbugs.gnu.org; Thu, 22 Sep 2022 02:50:25 -0400
Received: from eggs.gnu.org ([209.51.188.92]:54960)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1obG2Q-00083s-4a
 for 57983 <at> debbugs.gnu.org; Thu, 22 Sep 2022 02:50:23 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:52566)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>)
 id 1obG2J-0007VQ-Vt; Thu, 22 Sep 2022 02:50:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=K39nG5tCMBgVPHtZM43rqr5Z7QAtmCwKq/tJOuPI9f8=; b=CDDdVm0FD5U9rBkAeETh
 8pe+rkjA/oWrndB0qcaOVD0JIB/9bIpQ0uK6gV7StKUTenWjgrEgR5Jqhlgyj6RVRRiKY6KlIW7zQ
 JJU0ui13ic2hI4JTpx2TAnBRaIU/bvEFGXkkbI/wXhzkTJXRJKPQimoMjIbi3EKANHQZx7xjAtRCl
 qNvXVCPgPBQs8kbf+4fMlnN3b8GZQHSsxkz+OOZIDYQ56Ivk+ZAnK2it75myResH/jMIPiMPfcz6I
 u+bmzGkR47gz0DRMKQV5Dbwqu7Os6ADTWAI2IXGNGQKVpHdbXeRhZIV4kneC0oyFBB1AXwvTEk6Z6
 M+AYOXzFzaDmaA==;
Received: from 2a02-8429-81d2-3d01-94c9-8097-ea5c-2775.rev.sfr.net
 ([2a02:8429:81d2:3d01:94c9:8097:ea5c:2775]:57536 helo=meije)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <othacehe@HIDDEN>)
 id 1obG2J-0003MM-Gz; Thu, 22 Sep 2022 02:50:15 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: "Dan Finlay" <dan@HIDDEN>
Subject: Re: bug#57983: Error installing on a Framework Laptop
References: <9f833b4b-d65e-44e8-80b0-ca16610bd4fe@HIDDEN>
Date: Thu, 22 Sep 2022 08:50:12 +0200
In-Reply-To: <9f833b4b-d65e-44e8-80b0-ca16610bd4fe@HIDDEN> (Dan
 Finlay's message of "Wed, 21 Sep 2022 08:36:53 -0700")
Message-ID: <87k05v3ntn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 57983
Cc: 57983 <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: -3.3 (---)


Hello Dan,

Thanks a lot for the bug report.

> The dump was uploaded as installer-dump-11a1087c.

As you are the first one reporting an installer bug using the new dump
mechanism, a small precision:

the dump can be downloaded this way:

--8<---------------cut here---------------start------------->8---
mathieu@meije ~$ wget -qO- dump.guix.gnu.org/download/installer-dump-11a108=
7c | tar xvz
dump.2022-09-21.05.57.10/syslog
dump.2022-09-21.05.57.10/installer-result
dump.2022-09-21.05.57.10/installer-backtrace
dump.2022-09-21.05.57.10/dmesg
--8<---------------cut here---------------end--------------->8---

It looks like the issue is:

--8<---------------cut here---------------start------------->8---
Sep 21 05:45:33 localhost installer[548]: substitute: ^Msubstitute: ^[[Kupd=
ating substitutes from 'https://ci.guix.gnu.org'...   0.0%Backtrace:=20
Sep 21 05:45:33 localhost installer[548]: substitute:           14 (primiti=
ve-load "/gnu/store/hsvz87ld2q231g3pqg62a0bwr4j=E2=80=A6")=20
Sep 21 05:45:33 localhost installer[548]: substitute: In guix/ui.scm:=20
Sep 21 05:45:33 localhost installer[548]: substitute:    2263:7 13 (run-gui=
x . _)=20
Sep 21 05:45:33 localhost installer[548]: substitute:   2226:10 12 (run-gui=
x-command _ . _)=20
Sep 21 05:45:33 localhost installer[548]: substitute: In ice-9/boot-9.scm:=
=20
Sep 21 05:45:33 localhost installer[548]: substitute:   1752:10 11 (with-ex=
ception-handler _ _ #:unwind? _ # _)=20
Sep 21 05:45:33 localhost installer[548]: substitute:   1752:10 10 (with-ex=
ception-handler _ _ #:unwind? _ # _)=20
Sep 21 05:45:33 localhost installer[548]: substitute: In guix/scripts/subst=
itute.scm:=20
Sep 21 05:45:33 localhost installer[548]: substitute:    763:18  9 (_)=20
Sep 21 05:45:33 localhost installer[548]: substitute:    348:26  8 (process=
-query #<output: file 4> _ #:cache-urls _ #:acl _)=20
Sep 21 05:45:33 localhost installer[548]: substitute: In guix/substitutes.s=
cm:=20
Sep 21 05:45:33 localhost installer[548]: substitute:    365:27  7 (lookup-=
narinfos/diverse _ _ #<procedure 7f4686537580 =E2=80=A6> =E2=80=A6)=20
Sep 21 05:45:33 localhost installer[548]: substitute:    322:31  6 (lookup-=
narinfos "https://ci.guix.gnu.org" _ # _ # _)=20
Sep 21 05:45:33 localhost installer[548]: substitute:    245:26  5 (fetch-n=
arinfos _ _ #:open-connection _ # _)=20
Sep 21 05:45:33 localhost installer[548]: substitute: In ice-9/boot-9.scm:=
=20
Sep 21 05:45:33 localhost installer[548]: substitute:   1685:16  4 (raise-e=
xception _ #:continuable? _)=20
Sep 21 05:45:33 localhost installer[548]: substitute:   1685:16  3 (raise-e=
xception _ #:continuable? _)=20
Sep 21 05:45:33 localhost installer[548]: substitute:   1780:13  2 (_ #<&co=
mpound-exception components: (#<&error> #<&orig=E2=80=A6>)=20
Sep 21 05:45:33 localhost installer[548]: substitute:   1685:16  1 (raise-e=
xception _ #:continuable? _)=20
Sep 21 05:45:33 localhost installer[548]: substitute:   1685:16  0 (raise-e=
xception _ #:continuable? _)=20
Sep 21 05:45:33 localhost installer[548]: substitute:=20=20
Sep 21 05:45:33 localhost installer[548]: substitute: ice-9/boot-9.scm:1685=
:16: In procedure raise-exception:=20
Sep 21 05:45:33 localhost installer[548]: substitute: In procedure write_wa=
it_fd: unimplemented=20
Sep 21 05:45:33 localhost installer[548]: guix system: error: `/gnu/store/h=
svz87ld2q231g3pqg62a0bwr4jq5rb6-guix-command substitute' died unexpectedly=
=20
Sep 21 05:45:33 localhost installer[548]: command ("guix" "system" "init" "=
--fallback" "/mnt/etc/config.scm" "/mnt") exited with value 1=20
--8<---------------cut here---------------end--------------->8---

This is an unfixed bug reported here: https://issues.guix.gnu.org/56005

Then the final phase is retried and fails this way:

--8<---------------cut here---------------start------------->8---
Sep 21 05:57:10 localhost vmunix: [ 1295.546730] /dev/mapper/cryptroot: Can=
't open blockdev
Sep 21 05:57:10 localhost installer[426]: mounting "/dev/mapper/cryptroot" =
on "/mnt/"=20
Sep 21 05:57:10 localhost installer[426]: crashing due to uncaught exceptio=
n: system-error ("mount" "mount ~S on ~S: ~A" ("/dev/mapper/cryptroot" "/mn=
t/" "No such file or directory") (2))=20
--8<---------------cut here---------------end--------------->8---

The first issue is most likely transient and you might have better luck
just by retrying. In the meantime I'll try to understand why the final
phase retry fails.

Thanks,

Mathieu




Information forwarded to bug-guix@HIDDEN:
bug#57983; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 21 Sep 2022 16:46:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Sep 21 12:46:22 2022
Received: from localhost ([127.0.0.1]:35125 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ob2rd-00078Q-L7
	for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 12:46:22 -0400
Received: from lists.gnu.org ([209.51.188.17]:34804)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dan@HIDDEN>) id 1ob1nC-0005Mf-8g
 for submit <at> debbugs.gnu.org; Wed, 21 Sep 2022 11:37:42 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:44988)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dan@HIDDEN>) id 1ob1my-0006M9-Sl
 for bug-guix@HIDDEN; Wed, 21 Sep 2022 11:37:42 -0400
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:43593)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <dan@HIDDEN>) id 1ob1mx-0003tE-4G
 for bug-guix@HIDDEN; Wed, 21 Sep 2022 11:37:28 -0400
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.nyi.internal (Postfix) with ESMTP id 304E95C0043
 for <bug-guix@HIDDEN>; Wed, 21 Sep 2022 11:37:16 -0400 (EDT)
Received: from imap46 ([10.202.2.96])
 by compute3.internal (MEProxy); Wed, 21 Sep 2022 11:37:16 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=danfinlay.com;
 h=cc:content-type:date:date:from:from:in-reply-to:message-id
 :mime-version:reply-to:sender:subject:subject:to:to; s=fm1; t=
 1663774636; x=1663861036; bh=FrJD3WvvL5s992iaOvea/REZi1dpLIk01bf
 3dwVNaJ4=; b=ctnQxh6n+FQSSTLPY4y0UHlVWU/+IlWia6R+ZbFP3BEwBtyjrqD
 T5JFirnT8KJWIpc7lIqVz3ju05UdbjgvKB5Nu/G6o5Q+b44QFgLII9W4kOKg9XXc
 kYab2l8gGSrvbIxSoIP8nxDrxsm2+wawMuN1um0Zx3C3CsdHClmqwSh4ZeCMdgz3
 x0YfP19B92IvdvL4+/1a7RB5YdTjDl8yhnhfmX9/NkiUUb1IgZ7I4FKnAx1/BLW4
 KXiOGm1+dBsUhr9fnV8717OI/UrW+n/rF1e/aIdcztT0OmV7pHbKNWig06GKGgZm
 3o3hR+cwmnVslvafvFnliOpkn+fS0NFAD5g==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:date:feedback-id
 :feedback-id:from:from:in-reply-to:message-id:mime-version
 :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy
 :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1663774636; x=
 1663861036; bh=FrJD3WvvL5s992iaOvea/REZi1dpLIk01bf3dwVNaJ4=; b=U
 C600tfLw1osBtCbLtfanPX0YBx26AL+PMc+WoOS9n6NTyhnq1TCJpeqxDDBYCGVI
 HX1DvlEO5gHAWYrFh76hZQQYp9FOTnp2gC+Wab+TJjtsx85Vq7Vow/ethtLdcWOB
 qkHa9tYBVgdSl85KQgiIf1PPyR/YempiFjZAFBBfiLLm6VSGoiNzsdQvbsDp8yYN
 Px5IMvEt7JB6nMY3pt9mqMLq4kH4KykjzUZE14LvqeQPRdebVFBS99WZRFHmEB5V
 XIjc7RmTcROUnbaymsXeMnM6p87UBZKaqantwUm5aC/we2Cwv6dks1XHvau3Sodz
 S5v+DZCLEL9+WL16CE/rQ==
X-ME-Sender: <xms:qy8rYywpE1gxI9BC_Dr43CJNdmp6lc-PQvWSNdugYE0cvg7njrjzrw>
 <xme:qy8rY-QrrBstqRsR-OjIr3wBdYr2IomhfkgrS5VZw2lr-bQkYAOeCFXnvGkwDrVlx
 aqakGlKGpXDPzr5DA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrfeefuddgledvucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd
 erredtnecuhfhrohhmpedfffgrnhcuhfhinhhlrgihfdcuoegurghnsegurghnfhhinhhl
 rgihrdgtohhmqeenucggtffrrghtthgvrhhnpeduudevveethefhiedtheelffffudffvd
 eutdegkeevheejieeuteegteduheehueenucevlhhushhtvghrufhiiigvpedtnecurfgr
 rhgrmhepmhgrihhlfhhrohhmpegurghnsegurghnfhhinhhlrgihrdgtohhm
X-ME-Proxy: <xmx:qy8rY0XgTZ2J7xu6Chy4ecWounaxjeaZ99mVUJSzbxq_a_8jNT8MSA>
 <xmx:qy8rY4jnJcyi3suHZd3NDh4usjUnQWBK3DAQzQ2viBNbMqJGE16cTQ>
 <xmx:qy8rY0CJy5dIVuDqPOCwzNx2O45Dx9nnlvwzB0XNiOBjh91nKhEjDA>
 <xmx:rC8rY8yC_K0VtRkF_OYW-BsA8BkniBFTSbqCWmsGZ6-5uRQEFqxMDA>
Feedback-ID: ied8147c8:Fastmail
Received: by mailuser.nyi.internal (Postfix, from userid 501)
 id 645AF2A20079; Wed, 21 Sep 2022 11:37:15 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.7.0-alpha0-935-ge4ccd4c47b-fm-20220914.001-ge4ccd4c4
Mime-Version: 1.0
Message-Id: <9f833b4b-d65e-44e8-80b0-ca16610bd4fe@HIDDEN>
Date: Wed, 21 Sep 2022 08:36:53 -0700
From: "Dan Finlay" <dan@HIDDEN>
To: bug-guix@HIDDEN
Subject: Error installing on a Framework Laptop
Content-Type: text/plain
Received-SPF: permerror client-ip=66.111.4.29; envelope-from=dan@HIDDEN;
 helo=out5-smtp.messagingengine.com
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, SPF_HELO_PASS=-0.001,
 T_SPF_PERMERROR=0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Wed, 21 Sep 2022 12:46:20 -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: -3.3 (---)

Hi, I had a problem installing guix on a Framework laptop.

The dump was uploaded as installer-dump-11a1087c.

Are you able to help me?

- Dan




Acknowledgement sent to "Dan Finlay" <dan@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#57983; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 22 Sep 2022 14:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.