From unknown Thu Jun 19 14:26:54 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20791: GuixSD: cryptsetup luksFormat hangs when udevd is running Resent-From: Benz Schenk Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 11 Jun 2015 23:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20791 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 20791@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.143406610810935 (code B ref -1); Thu, 11 Jun 2015 23:42:02 +0000 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 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-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 unknown Thu Jun 19 14:26:54 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Benz Schenk Subject: bug#20791: closed (Re: bug#20791: GuixSD: cryptsetup luksFormat hangs when udevd is running) Message-ID: References: <87fv5wg7bn.fsf@gnu.org> <20150612005243.7952ebe1@numenor> X-Gnu-PR-Message: they-closed 20791 X-Gnu-PR-Package: guix Reply-To: 20791@debbugs.gnu.org Date: Fri, 12 Jun 2015 17:34:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1434130442-28399-1" This is a multi-part message in MIME format... ------------=_1434130442-28399-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #20791: GuixSD: cryptsetup luksFormat hangs when udevd is running which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 20791@debbugs.gnu.org. --=20 20791: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20791 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1434130442-28399-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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. ------------=_1434130442-28399-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 ------------=_1434130442-28399-1--