GNU bug report logs - #53544
[installer] Trying to edit the generated config.scm crashes the installer

Previous Next

Package: guix;

Reported by: Leo Famulari <leo <at> famulari.name>

Date: Wed, 26 Jan 2022 04:15:02 UTC

Severity: normal

Done: Leo Famulari <leo <at> famulari.name>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Leo Famulari <leo <at> famulari.name>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#53544: closed ([installer] Trying to edit the generated
 config.scm crashes the installer)
Date: Wed, 02 Feb 2022 19:09:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 2 Feb 2022 14:08:17 -0500
with message-id <YfrWoQycA/E5I3b/@jasmine.lan>
and subject line Re: bug#53544: [installer] Trying to edit the generated config.scm crashes the installer
has caused the debbugs.gnu.org bug report #53544,
regarding [installer] Trying to edit the generated config.scm crashes the installer
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
53544: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=53544
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo Famulari <leo <at> famulari.name>
To: bug-guix <at> gnu.org
Subject: [installer] Trying to edit the generated config.scm crashes the
 installer
Date: Tue, 25 Jan 2022 23:14:52 -0500
[Message part 3 (text/plain, inline)]
While testing the installer built from the current master branch, we
found that trying to edit the generated config.scm crashes the
installer. Screenshot attached.

I built the installer like this:

$ guix environment guix -- ./pre-inst-env guix system image -t uncompressed-iso9660 --label="GUIX_x86_64-linux-leo" --system=x86_64-linux gnu/system/install.scm

I created a disk to install it with QEMU:

$ qemu-img create -f qcow2 guix-system.img 50G

And I ran the installer like this:

$ qemu-system-x86_64 -m 1024 -smp 1 -enable-kvm -nic user,model=virtio-net-pci -boot menu=on,order=d -device virtio-blk,drive=myhd -drive if=none,file=guix-system.img,id=myhd -drive media=cdrom,file=my-image.iso

I proceeded to select the default answers for all questions: no desktop,
the default networking-related services, DHCP network provider, guided
partitioning using the entire disk.

At the end, it shows the generated configuration, and crashes when I
select "edit". Unfortunately, the installer becomes unresponsive when
this happens, so I cannot scroll down and read the entire backtrace.
[2022-01-25-230958_895x700_scrot.png (image/png, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Leo Famulari <leo <at> famulari.name>
To: Mathieu Othacehe <othacehe <at> gnu.org>
Cc: 53544-done <at> debbugs.gnu.org
Subject: Re: bug#53544: [installer] Trying to edit the generated config.scm
 crashes the installer
Date: Wed, 2 Feb 2022 14:08:17 -0500
On Wed, Feb 02, 2022 at 06:23:04PM +0100, Mathieu Othacehe wrote:
> I followed the exact same steps on Guix commit
> 4943ac86e4f95a2e14fd209f3fdaac74a0d9ca2e and could not reproduce the
> issue. It was possibly fixed by the wip-harden-installer branch
> merge. Could you please confirm that you have the same behaviour
> locally?

Indeed, it must have been fixed by the recent changes from that branch.
Thanks!


This bug report was last modified 3 years and 110 days ago.

Previous Next


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