unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#40559] [PATCH] gnu: cryptsetup: Update to 2.3.1.
@ 2020-04-11 17:14 Vincent Legoll
  2020-04-16 16:22 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Legoll @ 2020-04-11 17:14 UTC (permalink / raw)
  To: 40559

[-- Attachment #1: Type: text/plain, Size: 29 bytes --]

Untested

-- 
Vincent Legoll

[-- Attachment #2: 0001-gnu-cryptsetup-Update-to-2.3.1.patch --]
[-- Type: text/x-patch, Size: 1159 bytes --]

From 0a971f755222a98f301d9bce7c93ee46d03f4aac Mon Sep 17 00:00:00 2001
From: Vincent Legoll <vincent.legoll@gmail.com>
Date: Sat, 11 Apr 2020 19:11:26 +0200
Subject: [PATCH] gnu: cryptsetup: Update to 2.3.1.

* gnu/packages/cryptsetup.scm (cryptsetup): Update to 2.3.1.
---
 gnu/packages/cryptsetup.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/cryptsetup.scm b/gnu/packages/cryptsetup.scm
index 2a824d416e..79bd62c3cd 100644
--- a/gnu/packages/cryptsetup.scm
+++ b/gnu/packages/cryptsetup.scm
@@ -35,7 +35,7 @@
 (define-public cryptsetup
   (package
    (name "cryptsetup")
-   (version "2.2.2")
+   (version "2.3.1")
    (source (origin
             (method url-fetch)
             (uri (string-append "mirror://kernel.org/linux/utils/cryptsetup/v"
@@ -43,7 +43,7 @@
                                 "/cryptsetup-" version ".tar.xz"))
             (sha256
              (base32
-              "0ija889kfhg4n2fshpq9yh2b1jl2ipvd7sfafh08g75ba6ayrw1a"))))
+              "1lp7kwakm3ssp8ww1y33plvfmpas5krf14pdz91p1kx2b7as9awj"))))
    (build-system gnu-build-system)
    (arguments
     `(#:configure-flags
-- 
2.26.0


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [bug#40559] [PATCH] gnu: cryptsetup: Update to 2.3.1.
  2020-04-11 17:14 [bug#40559] [PATCH] gnu: cryptsetup: Update to 2.3.1 Vincent Legoll
@ 2020-04-16 16:22 ` Ludovic Courtès
  2020-04-16 21:36   ` Vincent Legoll
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2020-04-16 16:22 UTC (permalink / raw)
  To: Vincent Legoll; +Cc: 40559

Hi,

Vincent Legoll <vincent.legoll@gmail.com> skribis:

> Untested

Could you test it with “make check-system TESTS=encrypted-root-os”?
It takes time and disk space, but that’s a good way to make sure
cryptsetup is still able to decrypt our LUKS partitions.

TIA!
Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#40559] [PATCH] gnu: cryptsetup: Update to 2.3.1.
  2020-04-16 16:22 ` Ludovic Courtès
@ 2020-04-16 21:36   ` Vincent Legoll
  2020-04-18 16:34     ` Ludovic Courtès
  2020-07-04 23:24     ` bug#40559: " Jakub Kądziołka
  0 siblings, 2 replies; 6+ messages in thread
From: Vincent Legoll @ 2020-04-16 21:36 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 40559

On 16/04/2020 18:22, Ludovic Courtès wrote:
> Hi,
> 
> Vincent Legoll <vincent.legoll@gmail.com> skribis:
> 
>> Untested
> 
> Could you test it with “make check-system TESTS=encrypted-root-os”?
> It takes time and disk space, but that’s a good way to make sure
> cryptsetup is still able to decrypt our LUKS partitions.

OK, I'm trying it, but seems stuck.

Almost two hours passed since one of the tests has begun, and it
looks like it does not make any progress.

output is here:

--------------------------------8<-----------------------------------
SeaBIOS (version rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org)


iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+0FF90830+0FEF0830 CA00
 



Booting from Hard Disk...
GRUB loading..
Welcome to GRUB!

Attempting to decrypt master key...
Enter passphrase for hd0,gpt2 (12345678123412341234123456789abc):
Slot 0 opened
--------------------------------8<-----------------------------------

guixbui+ 14560  0.7  1.6 682316 275948 ?       Sl   21:47   0:45 
  \_ 
/gnu/store/pzqfxg3kihc6zqdg581ww7mgnwhbh7bh-qemu-minimal-4.2.0/bin/qemu-system-x86_64 
-no-reboot -m 256 -drive file=disk.img,if=virtio -nographic -monitor 
unix:/tmp/monitor -chardev socket,id=repl,path=/tmp/repl -device 
virtio-serial -device virtserialport,chardev=repl,name=org.gnu.guix.port.0

started at 21:47, it's now 23:30

It's running in a VM with lots of ram & cores, virtual disk on a nvme,
my patch rebased on guix/master at:
90ec7085793700552359d9d409287528437f0280

Anything more I can do ?

-- 
Vincent Legoll

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#40559] [PATCH] gnu: cryptsetup: Update to 2.3.1.
  2020-04-16 21:36   ` Vincent Legoll
@ 2020-04-18 16:34     ` Ludovic Courtès
  2020-04-19 18:27       ` Vincent Legoll
  2020-07-04 23:24     ` bug#40559: " Jakub Kądziołka
  1 sibling, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2020-04-18 16:34 UTC (permalink / raw)
  To: Vincent Legoll; +Cc: 40559

Hi Vincent,

Vincent Legoll <vincent.legoll@gmail.com> skribis:

> Almost two hours passed since one of the tests has begun, and it
> looks like it does not make any progress.
>
> output is here:
>
> SeaBIOS (version rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org)
>
>
> iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+0FF90830+0FEF0830 CA00
>  
>
>
>
> Booting from Hard Disk...
> GRUB loading..
> Welcome to GRUB!
>
> Attempting to decrypt master key...
> Enter passphrase for hd0,gpt2 (12345678123412341234123456789abc):
> Slot 0 opened

Hmm looks like your reached GRUB of the installed system, which is
rather good.  I don’t see why it would hang here.

If you interrupt it and re-run “make check-system …”, does that get any
further?

Is there space left on /gnu and /tmp?

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [bug#40559] [PATCH] gnu: cryptsetup: Update to 2.3.1.
  2020-04-18 16:34     ` Ludovic Courtès
@ 2020-04-19 18:27       ` Vincent Legoll
  0 siblings, 0 replies; 6+ messages in thread
From: Vincent Legoll @ 2020-04-19 18:27 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 40559

Hello,

On 18/04/2020 18:34, Ludovic Courtès wrote:
> Hmm looks like your reached GRUB of the installed system, which is
> rather good.  I don’t see why it would hang here.
> 
> If you interrupt it and re-run “make check-system …”, does that get any
> further?

redid the same as the other day, but now on fresh VM based on 1.1.0.
Same problem, it makes no progress...

> Is there space left on /gnu and /tmp?

Yes

BTW, this is qemu in qemu, maybe that's the problem.

-- 
Vincent Legoll

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#40559: [PATCH] gnu: cryptsetup: Update to 2.3.1.
  2020-04-16 21:36   ` Vincent Legoll
  2020-04-18 16:34     ` Ludovic Courtès
@ 2020-07-04 23:24     ` Jakub Kądziołka
  1 sibling, 0 replies; 6+ messages in thread
From: Jakub Kądziołka @ 2020-07-04 23:24 UTC (permalink / raw)
  To: Vincent Legoll; +Cc: Ludovic Courtès, 40559-done

[-- Attachment #1: Type: text/plain, Size: 791 bytes --]

On Thu, Apr 16, 2020 at 11:36:54PM +0200, Vincent Legoll wrote:
> On 16/04/2020 18:22, Ludovic Courtès wrote:
> > Hi,
> > 
> > Vincent Legoll <vincent.legoll@gmail.com> skribis:
> > 
> > > Untested
> > 
> > Could you test it with “make check-system TESTS=encrypted-root-os”?
> > It takes time and disk space, but that’s a good way to make sure
> > cryptsetup is still able to decrypt our LUKS partitions.
> 
> OK, I'm trying it, but seems stuck.
> 
> Almost two hours passed since one of the tests has begun, and it
> looks like it does not make any progress.

Hi,

I ran the tests on bayfront and they complete successfully with the
updated cryptsetup, so I pushed your commit as
fe743ebb41f0936b378a185beb7c00adc4172d8c. Thanks!

Regards,
Jakub Kądziołka

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-07-04 23:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-11 17:14 [bug#40559] [PATCH] gnu: cryptsetup: Update to 2.3.1 Vincent Legoll
2020-04-16 16:22 ` Ludovic Courtès
2020-04-16 21:36   ` Vincent Legoll
2020-04-18 16:34     ` Ludovic Courtès
2020-04-19 18:27       ` Vincent Legoll
2020-07-04 23:24     ` bug#40559: " Jakub Kądziołka

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).