From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id TixNGZBMx2CaCQAAgWs5BA (envelope-from ) for ; Mon, 14 Jun 2021 14:33:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CFCyE5BMx2BEGwAAB5/wlQ (envelope-from ) for ; Mon, 14 Jun 2021 12:33:20 +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 B423B2F281 for ; Mon, 14 Jun 2021 14:33:19 +0200 (CEST) Received: from localhost ([::1]:41944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lslmH-0000Hn-ID for larch@yhetil.org; Mon, 14 Jun 2021 08:33:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lslm2-0000GO-4U for bug-guix@gnu.org; Mon, 14 Jun 2021 08:33:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33684) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lslm1-0005H8-TC for bug-guix@gnu.org; Mon, 14 Jun 2021 08:33:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lslm1-0002aZ-Rt for bug-guix@gnu.org; Mon, 14 Jun 2021 08:33:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47780: [installer] Trying to install to DVD leads to crash Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 14 Jun 2021 12:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47780 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Received: via spool by 47780-submit@debbugs.gnu.org id=B47780.16236739349894 (code B ref 47780); Mon, 14 Jun 2021 12:33:01 +0000 Received: (at 47780) by debbugs.gnu.org; 14 Jun 2021 12:32:14 +0000 Received: from localhost ([127.0.0.1]:45230 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsllG-0002ZW-F4 for submit@debbugs.gnu.org; Mon, 14 Jun 2021 08:32:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43578) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsllE-0002ZG-UA for 47780@debbugs.gnu.org; Mon, 14 Jun 2021 08:32:13 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42626) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsll9-0004p8-NC for 47780@debbugs.gnu.org; Mon, 14 Jun 2021 08:32:07 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=58446 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsll7-0001UU-Nw; Mon, 14 Jun 2021 08:32:07 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87sg3sd70u.fsf@inria.fr> <87czsqgdbb.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 26 Prairial an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 14 Jun 2021 14:32:04 +0200 In-Reply-To: <87czsqgdbb.fsf@gnu.org> (Mathieu Othacehe's message of "Sun, 13 Jun 2021 14:27:04 +0200") Message-ID: <8735tky6d7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 47780@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623674000; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=dKNzJQue6G+wyPhMagERPx7dVXvowRABcEtYBZou5DQ=; b=lt+KnwRZ0MyEz0lxRETJSsbCgx+AsDlQxSwFh3KlA3VBGS4oJQMGUTZ/NZ1ansxLQYr8RY IWi9+W707+O3xjeRNTv4pHkxouaWRVXTOZZOoVTDvAf/N8502sM3hIr7Oiut8xUj/knaIE Bhfc7TFVvmbhFPoD/G5Ka+4QstoBapUKsZ06pAhyI3/L7kp5tAPQxPrd3D9t1fuaACrSx7 e4RQy3pdcn78jILHk9G/JwqrtplrTspMIXKaLwu/lj55KVt3m93QImPGDbpktkjmbaX0CN RPupUhjqFY/01yoW4sYIFJ9K82LywxafTaDs4lpywqtTfxuHkJCENCDDHz09hw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623674000; a=rsa-sha256; cv=none; b=e2wNILg1I4f99bC79VR06vZ3bFaKTKC6chvNJ4S9oApqVtfGlbCosNWRz+/HdYwQT0p2Do 97ZJewust5yOOGViRvtvG916NMcB9cBSFYljB/yv+mgoeiqKGF81kW7PX9Bmly8zHlfLus xMi3g03O9Qi9o0+M5ETnaH2RJIzq0MBqzP6y9uNshZRwqdcTyHc7HLYex+V9TLJuCH/gQv zZwgeUyXsSJJ9Mwpc2KVJLumw4BosEE9b68FfG/URwp9Vto60PdhaAYB58M3To1xM5k03X 039wwjuq++mDGtjsDf9g1xQFSdk75QlcdcXKeWPevpcrWUMK+BAXHVKp/Km29Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: B423B2F281 X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5aZDfXZDPPBH Hi, Mathieu Othacehe skribis: >> Possible improvements are: >> >> 1. gracefully handling this error; >> 2. filtering out read-only storage devices from the menu. >> >> Thoughts? > > Thanks to David's help[1], I realized that the non-filtering of the > installation device was causing some of the (uuid->string #f) issues > users were experimenting. > > With this commit: 154a4e046281c28e39b5016e965d3d937a2ea4a1, I improved > the install device detection by removing the device with the default > Guix System image ISO label. Nice. > Now this is fragile and won't work if the ISO label is modified like in > your use-case. I cannot find another reliable way to detect the > installation device in the "non-install-devices" procedure. Do you have > any better idea? Does Parted provide a way to tell whether a storage device is read-only? That would be ideal. Thanks, Ludo=E2=80=99.