From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: bug#27242: Fail to load LUKS encrypted rootfs, attempts to open luks device before it's ready. Date: Wed, 07 Jun 2017 19:10:27 -0400 Message-ID: <87tw3rqtr0.fsf@netris.org> References: <87r2yzl86g.fsf@vany.ca> <87y3t6693b.fsf@netris.org> <8737beife5.fsf@vany.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39146) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dIk6V-00029s-2r for bug-guix@gnu.org; Wed, 07 Jun 2017 19:11:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dIk6R-0007oH-2y for bug-guix@gnu.org; Wed, 07 Jun 2017 19:11:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59317) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dIk6Q-0007o8-Vh for bug-guix@gnu.org; Wed, 07 Jun 2017 19:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dIk6Q-0005vD-Jd for bug-guix@gnu.org; Wed, 07 Jun 2017 19:11:02 -0400 Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Message-ID: In-Reply-To: <8737beife5.fsf@vany.ca> (Adam Van Ymeren's message of "Mon, 05 Jun 2017 12:10:58 -0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Adam Van Ymeren Cc: 27242-done@debbugs.gnu.org Adam Van Ymeren writes: > Mark H Weaver writes: >> >> I ran into the same problem at one point, and have applied the following >> patch to my private branch of Guix. Perhaps it should be applied to >> master. > > Thanks, this patch works for me. Something like this upstream would be > nice :) I pushed a similar patch to master as commit f45878a80d412dd79c95e9274c3ee5dd24e1cec9. > This can probably be unified with the resolve function defined in > build/file-systems.scm Thanks for pointing this out. I don't currently have the spare time to think about it, but feel free to propose a patch to rework this in a nicer way :) I'm closing this bug for now. Thanks! Mark