GNU bug report logs - #48762
Bug in guix installer (seems to be unable to create swap) - reproducable

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; Reported by: "Andrew \"Truck\" Holland" <gutruck9@HIDDEN>; dated Mon, 31 May 2021 15:07:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

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


Received: (at 48762) by debbugs.gnu.org; 13 Jun 2021 13:12:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 13 09:12:46 2021
Received: from localhost ([127.0.0.1]:42991 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lsPuw-0000wD-0k
	for submit <at> debbugs.gnu.org; Sun, 13 Jun 2021 09:12:46 -0400
Received: from eggs.gnu.org ([209.51.188.92]:35272)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1lsPut-0000w0-MB
 for 48762 <at> debbugs.gnu.org; Sun, 13 Jun 2021 09:12:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:41306)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1lsPum-0004m8-UW; Sun, 13 Jun 2021 09:12:36 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57134 helo=ribbon)
 by fencepost.gnu.org with esmtpsa
 (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1lsPul-0007wr-3S; Sun, 13 Jun 2021 09:12:36 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Mathieu Othacehe <othacehe@HIDDEN>
Subject: Re: bug#48762: Bug in guix installer (seems to be unable to create
 swap) - reproducable
References: <20210531134423.GS16306@HIDDEN>
 <87mts969d6.fsf@HIDDEN>
Date: Sun, 13 Jun 2021 15:12:32 +0200
In-Reply-To: <87mts969d6.fsf@HIDDEN> (Mathieu Othacehe's message of "Tue, 01
 Jun 2021 14:46:13 +0200")
Message-ID: <875yyh29j3.fsf@HIDDEN>
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-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48762
Cc: 48762 <at> debbugs.gnu.org, "Andrew \"Truck\" Holland" <gutruck9@HIDDEN>
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,

Mathieu Othacehe <othacehe@HIDDEN> skribis:

> The "free-parted" procedure that makes sure that all the partitions are
> created and not in use probably fails in some configurations. Otherwise,
> I cannot understand why the "mkswap" binary would fail.

Do we know why =E2=80=98mkswap=E2=80=99 exited with code 1, though?  EBUSY =
or could it
be something else?

Thanks,
Ludo=E2=80=99.




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

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


Received: (at 48762) by debbugs.gnu.org; 1 Jun 2021 12:46:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 01 08:46:22 2021
Received: from localhost ([127.0.0.1]:35958 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lo3mo-0006uB-Gd
	for submit <at> debbugs.gnu.org; Tue, 01 Jun 2021 08:46:22 -0400
Received: from eggs.gnu.org ([209.51.188.92]:40166)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <othacehe@HIDDEN>) id 1lo3mn-0006tw-08
 for 48762 <at> debbugs.gnu.org; Tue, 01 Jun 2021 08:46:21 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:55066)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <othacehe@HIDDEN>)
 id 1lo3mh-0007ky-Dw; Tue, 01 Jun 2021 08:46:15 -0400
Received: from [2a01:e0a:19b:d9a0:f2f7:a404:c3d3:f8b4] (port=48188 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 1lo3mh-0006Hx-5D; Tue, 01 Jun 2021 08:46:15 -0400
From: Mathieu Othacehe <othacehe@HIDDEN>
To: "Andrew \"Truck\" Holland" <gutruck9@HIDDEN>
Subject: Re: bug#48762: Bug in guix installer (seems to be unable to create
 swap) - reproducable
References: <20210531134423.GS16306@HIDDEN>
Date: Tue, 01 Jun 2021 14:46:13 +0200
In-Reply-To: <20210531134423.GS16306@HIDDEN> (Andrew Holland's
 message of "Mon, 31 May 2021 16:44:23 +0300")
Message-ID: <87mts969d6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 48762
Cc: 48762 <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 Andrew,

> This happens when I use _any_ partitioning scheme, manual or
> automatic.

Thanks for the complete bug report. I think that this bug falls into the
same category as https://issues.guix.gnu.org/47996,
https://issues.guix.gnu.org/47567, https://issues.guix.gnu.org/44872 and
probably some others.

The "free-parted" procedure that makes sure that all the partitions are
created and not in use probably fails in some configurations. Otherwise,
I cannot understand why the "mkswap" binary would fail.

We may need to come up with a new procedure that provides stronger
guarantees.

Thanks,

Mathieu





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

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


Received: (at submit) by debbugs.gnu.org; 31 May 2021 15:06:19 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 31 11:06:19 2021
Received: from localhost ([127.0.0.1]:34621 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lnjUf-00054I-LG
	for submit <at> debbugs.gnu.org; Mon, 31 May 2021 11:06:19 -0400
Received: from lists.gnu.org ([209.51.188.17]:38082)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gutruck9@HIDDEN>) id 1lnink-0003zA-Vh
 for submit <at> debbugs.gnu.org; Mon, 31 May 2021 10:21:59 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:37230)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <gutruck9@HIDDEN>)
 id 1lnink-0004sF-Oc
 for bug-guix@HIDDEN; Mon, 31 May 2021 10:21:56 -0400
Received: from whiterose.net ([23.29.73.184]:35896)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <gutruck9@HIDDEN>)
 id 1lnini-0004dX-VI
 for bug-guix@HIDDEN; Mon, 31 May 2021 10:21:56 -0400
Date: Mon, 31 May 2021 16:44:23 +0300
X-Virus-Status: Clean
X-Virus-Scanned: clamav-milter 0.103.2 at whiterose.net
DKIM-Filter: OpenDKIM Filter v2.10.3 whiterose.net 4646F3B420F
From: "Andrew \"Truck\" Holland" <gutruck9@HIDDEN>
To: bug-guix@HIDDEN
Subject: Bug in guix installer (seems to be unable to create swap) -
 reproducable
Message-ID: <20210531134423.GS16306@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="LpQ9ahxlCli8rRTG"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
X-Null-Tag: 21a90c64834f179cccfc775ee449e1ae
Received-SPF: none client-ip=23.29.73.184; envelope-from=gutruck9@HIDDEN;
 helo=whiterose.net
X-Spam_score_int: -18
X-Spam_score: -1.9
X-Spam_bar: -
X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001,
 SPF_NONE=0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 31 May 2021 11:06:15 -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 (---)


--LpQ9ahxlCli8rRTG
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I have attempted to install 1.3.0 from the iso, but the "guided"
install encounters an error after partitioning; which if I read
correctly, indicates swap cannot be created.

This happens when I use _any_ partitioning scheme, manual or
automatic.

The command 'mkswap -f /dev/sda3' executes correctly from the shell
session on tty3 from the installer.

Sadly, this is also fatal and the installation cannot continue, so
I'm a bit surprized no one has reported this - as I can recreate
this situation reliably every time I attempt it.  (Maybe I just am
blind and cannot find the bug report at the guix bug tracker, if
so, my apologies for the duplicate.)

Error file attached.
---

--LpQ9ahxlCli8rRTG
Content-Type: text/plain; charset=utf-8
Content-Disposition: attachment; filename=guix_last-installer-error
Content-Transfer-Encoding: 8bit

In ice-9/ports.scm:
    478:4 19 (with-error-to-port _ _)
In guix/build/utils.scm:
    654:6 18 (invoke _ . _)
In ice-9/boot-9.scm:
  1669:16 17 (raise-exception _ #:continuable? _)
  1667:16 16 (raise-exception _ #:continuable? _)
  1667:16 15 (raise-exception _ #:continuable? _)
  1667:16 14 (raise-exception _ #:continuable? _)
  1667:16 13 (raise-exception _ #:continuable? _)
  1667:16 12 (raise-exception _ #:continuable? _)
  1667:16 11 (raise-exception _ #:continuable? _)
  1667:16 10 (raise-exception _ #:continuable? _)
  1667:16  9 (raise-exception _ #:continuable? _)
  1667:16  8 (raise-exception _ #:continuable? _)
  1667:16  7 (raise-exception _ #:continuable? _)
  1764:13  6 (_ #<&invoke-error program: "mkswap" arguments: ("-f" "/dev/sda3") exit-status: 1 term-signal: #f stop-signal: #f>)
In ice-9/eval.scm:
    619:8  5 (_ #(#(#<directory (guile-user) 7f2d93296c80> #<<installer> name: newt init: #<procedure init ()> exit: #<procedure exit ()> exit-error: #<procedure exit-error (file key args)> f…>) …))
    619:8  4 (_ #(#(#(#<directory (guile-user) 7f2d93296c80> #<<installer> name: newt init: #<procedure init ()> exit: #<procedure exit ()> exit-error: #<procedure exit-error (file key arg…>) …) #))
In ice-9/ports.scm:
   463:17  3 (call-with-output-file _ _ #:binary _ #:encoding _)
In ice-9/eval.scm:
    619:8  2 (_ #(#(#<directory (guile-user) 7f2d93296c80> %exception (#<&invoke-error program: "mkswap" arguments: ("-f" "/dev/sda3") exit-status: 1 term-signal: #f stop-signal: #f>)) #<output:…>))
    159:9  1 (_ #(#(#<directory (guile-user) 7f2d93296c80> %exception (#<&invoke-error program: "mkswap" arguments: ("-f" "/dev/sda3") exit-status: 1 term-signal: #f stop-signal: #f>)) #<output:…>))
In unknown file:
           0 (make-stack #t)
ice-9/eval.scm:159:9: ERROR:
  1. &invoke-error:
      program: "mkswap"
      arguments: ("-f" "/dev/sda3")
      exit-status: 1
      term-signal: #f
      stop-signal: #f

--LpQ9ahxlCli8rRTG--




Acknowledgement sent to "Andrew \"Truck\" Holland" <gutruck9@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#48762; 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: Sun, 13 Jun 2021 13:15:01 UTC

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