From unknown Mon Jun 16 23:39:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#20791 <20791@debbugs.gnu.org> To: bug#20791 <20791@debbugs.gnu.org> Subject: Status: GuixSD: cryptsetup luksFormat hangs when udevd is running Reply-To: bug#20791 <20791@debbugs.gnu.org> Date: Tue, 17 Jun 2025 06:39:37 +0000 retitle 20791 GuixSD: cryptsetup luksFormat hangs when udevd is running reassign 20791 guix submitter 20791 Benz Schenk severity 20791 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 11 19:41:48 2015 Received: (at submit) by debbugs.gnu.org; 11 Jun 2015 23:41:48 +0000 Received: from localhost ([127.0.0.1]:51122 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3C6V-0002qI-7R for submit@debbugs.gnu.org; Thu, 11 Jun 2015 19:41:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45882) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3BLj-0001hG-Ij for submit@debbugs.gnu.org; Thu, 11 Jun 2015 18:53:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3BLd-0008UO-DM for submit@debbugs.gnu.org; Thu, 11 Jun 2015 18:53:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3BLd-0008UK-AP for submit@debbugs.gnu.org; Thu, 11 Jun 2015 18:53:21 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3BLb-00053l-UW for bug-guix@gnu.org; Thu, 11 Jun 2015 18:53:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3BLX-0008SN-UA for bug-guix@gnu.org; Thu, 11 Jun 2015 18:53:19 -0400 Received: from idmx05.uzh.ch ([130.60.205.108]:55153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3BLX-0008Rj-NM for bug-guix@gnu.org; Thu, 11 Jun 2015 18:53:15 -0400 Received: from idsmtp01.uzh.ch ([130.60.206.120]:47278) by idmx05.uzh.ch with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1Z3BLU-00023l-GC for bug-guix@gnu.org; Fri, 12 Jun 2015 00:53:13 +0200 Received: from 77-56-42-174.dclient.hispeed.ch ([77.56.42.174] helo=numenor) by idsmtp01.uzh.ch with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1Z3BLT-0007dW-60 for bug-guix@gnu.org; Fri, 12 Jun 2015 00:53:11 +0200 Date: Fri, 12 Jun 2015 00:52:43 +0200 From: Benz Schenk To: bug-guix@gnu.org Subject: GuixSD: cryptsetup luksFormat hangs when udevd is running Message-ID: <20150612005243.7952ebe1@numenor> X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-unknown-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 11 Jun 2015 19:41:45 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Setting up luks encrypted partitions with cryptsetup doesn't work when udevd is running. cryptsetup luksFormat got stuck waiting on some semaphore to turn to zero According to http://www.saout.de/pipermail/dm-crypt/2013-November/003619.html this is a udev issue, so i killed udevd and after that it worked I assume it's some configuration issue with udev, but I don't really know enough about this stuff to pinpoint where exactly the problem lies I'm using the GuixSD 0.8.2 image, if you need any more information about my setup, feel free to ask Benz From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 12 13:33:45 2015 Received: (at 20791-done) by debbugs.gnu.org; 12 Jun 2015 17:33:45 +0000 Received: from localhost ([127.0.0.1]:52045 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3Sps-0007NE-Ak for submit@debbugs.gnu.org; Fri, 12 Jun 2015 13:33:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39357) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z3Spq-0007Mw-4G for 20791-done@debbugs.gnu.org; Fri, 12 Jun 2015 13:33:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z3Spj-0008Av-Vw for 20791-done@debbugs.gnu.org; Fri, 12 Jun 2015 13:33:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED,BAYES_05, T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([208.118.235.10]:50406) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z3Spj-0008Ar-Sr; Fri, 12 Jun 2015 13:33:35 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:53660 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1Z3Spj-000237-C0; Fri, 12 Jun 2015 13:33:35 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Benz Schenk Subject: Re: bug#20791: GuixSD: cryptsetup luksFormat hangs when udevd is running References: <20150612005243.7952ebe1@numenor> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Prairial an 223 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x3D9AEBB5 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-unknown-linux-gnu Date: Fri, 12 Jun 2015 19:33:32 +0200 In-Reply-To: <20150612005243.7952ebe1@numenor> (Benz Schenk's message of "Fri, 12 Jun 2015 00:52:43 +0200") Message-ID: <87fv5wg7bn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.10 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20791-done Cc: 20791-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Benz Schenk skribis: > Setting up luks encrypted partitions with cryptsetup doesn't work when ud= evd is running. > > cryptsetup luksFormat got stuck waiting on some semaphore to turn to zero > > According to http://www.saout.de/pipermail/dm-crypt/2013-November/003619.= html this is a udev issue, so i killed udevd and after that it worked > > I assume it's some configuration issue with udev, but I don't really know= enough about this stuff to pinpoint where exactly the problem lies Indeed, we were missing the udev rules for device-mapper. Commit e1ad6bf fixes that (tested in a VM as produced as by =E2=80=98guix system vm gnu/system/install.scm=E2=80=99.) If you have a working Guix installation, you can try rebuilding the image by yourself from a checkout of Guix master, with something like: guix system disk-image --image-size=3D850MiB gnu/system/install.scm Alternately, as a workaround, you could to the installation in two steps: 1. Install without encrypted devices. 2. Boot the installed system and run =E2=80=98cryptsetup luksFormat=E2=80= =99. 3. Run =E2=80=98guix system reconfigure=E2=80=99 with the configuration t= hat you want. Thank you! Ludo=E2=80=99. From unknown Mon Jun 16 23:39:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 11 Jul 2015 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator