From patchwork Tue Dec 31 03:47:01 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Trudgian X-Patchwork-Id: 19485 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BA0DF17976; Tue, 31 Dec 2019 14:12:09 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 79B641795C for ; Tue, 31 Dec 2019 14:12:09 +0000 (GMT) Received: from localhost ([::1]:43150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1imIFl-0007qe-1i for patchwork@mira.cbaines.net; Tue, 31 Dec 2019 09:12:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36524) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1im90l-0002WI-R6 for guix-patches@gnu.org; Mon, 30 Dec 2019 23:20:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1im90k-00015d-GR for guix-patches@gnu.org; Mon, 30 Dec 2019 23:20:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:55931) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1im90k-00014t-AA for guix-patches@gnu.org; Mon, 30 Dec 2019 23:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1im90k-0006Ym-1e for guix-patches@gnu.org; Mon, 30 Dec 2019 23:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#38826] doc: Mention no LUKS2 for luks-device-mapping Resent-From: David Trudgian Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 31 Dec 2019 04:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38826 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 38826@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157776597525178 (code B ref -1); Tue, 31 Dec 2019 04:20:01 +0000 Received: (at submit) by debbugs.gnu.org; 31 Dec 2019 04:19:35 +0000 Received: from localhost ([127.0.0.1]:33671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1im90I-0006Y2-MD for submit@debbugs.gnu.org; Mon, 30 Dec 2019 23:19:35 -0500 Received: from lists.gnu.org ([209.51.188.17]:37479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1im8Uz-0005nJ-49 for submit@debbugs.gnu.org; Mon, 30 Dec 2019 22:47:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:50261) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1im8Ux-0007iS-Pq for guix-patches@gnu.org; Mon, 30 Dec 2019 22:47:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1im8Uw-0005NL-KR for guix-patches@gnu.org; Mon, 30 Dec 2019 22:47:11 -0500 Received: from sender4-op-o19.zoho.com ([136.143.188.19]:17918) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1im8Uw-0005FM-8i for guix-patches@gnu.org; Mon, 30 Dec 2019 22:47:10 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1577764026; cv=none; d=zohomail.com; s=zohoarc; b=Ogm/VkkfkUZb9TvnZdD332oUIHhYUPZa6qJsfxojFlBzUsZIKlzUoh8i93G/K5GcirnRdyF5BmkyyGAryrs0I/ExwP3UWnpHb8irZ0kwKDaaHVtjoeJu4efPHxTYNNqpTM868obAY4OFa7aluocrufQ7Tixb9XrCugPSVW4kG5I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1577764026; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=oKDwml5FFTgsBKX9rlbfyTMCLeRSQtx2gg07FQkk6f0=; b=QY4WnbE90udoGd/6RO+w+Z2T/eqFN+EHVqOc+3rc/Iq3jjhi8M37uiq5qNMO/2JFV/3Z+BEc4gEebRRciDZEIv77gNaNUNM9mZWLun596UoS8dx42LJfSMP2SymCk0IeRtavTPQ12Vgtcmf+F0bW45mDjgCv0vhPQHmm2Vx9wfI= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=trudgian.net; spf=pass smtp.mailfrom=dave@trudgian.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1577764026; s=main; d=trudgian.net; i=dave@trudgian.net; h=Date:From:To:Subject:Message-ID:MIME-Version:Content-Type; bh=oKDwml5FFTgsBKX9rlbfyTMCLeRSQtx2gg07FQkk6f0=; b=wDlmE2nLWOZMMnW8tZFkNcGslG2fdeBeVBlmp0TFcv0TpiLPfUOoS+5bO73bbjjG DbMVzgIA7RWdR1KQiL2wWMJ5M8l5ioMgqrOcIrLZQNjje3hXWwE06AEbEwgeqam5dIv DPslEKWcYpPS/xlLFFXA9p4d67/igJyjWp6NuksE= Received: from lappy (cpe-70-119-131-248.tx.res.rr.com [70.119.131.248]) by mx.zohomail.com with SMTPS id 1577764022235248.03633791122115; Mon, 30 Dec 2019 19:47:02 -0800 (PST) Date: Mon, 30 Dec 2019 21:47:01 -0600 From: David Trudgian Message-ID: <20191231034701.GA10716@lappy> MIME-Version: 1.0 Content-Disposition: inline X-Zoho-Virus-Status: 1 X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Mailman-Approved-At: Mon, 30 Dec 2019 23:19:33 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-Mailman-Approved-At: Tue, 31 Dec 2019 08:29:14 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches I spent a bit of time trying to mount some existing LUKS2 devices on boot in a Guix system. They worked to open and mount manually in a booted system, but not on boot with luks-device-mapping. Eventually worked out LUKS2 is not supported by the code that inspects the superblock directly for the (LUKS1) UUID. A mention LUKS2 is not supported in the docs might be nice. Cheers, Dave Trudgian From 97ed4c1859e797adf4ba813ac7db3d1b8261a569 Mon Sep 17 00:00:00 2001 From: David Trudgian Date: Mon, 30 Dec 2019 21:37:35 -0600 Subject: [PATCH] Mention no LUKS2 in luks-device-mapping doc --- doc/guix.texi | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 70e3dfea6a..232d99d508 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -69,6 +69,7 @@ Copyright @copyright{} 2019 Jakob L. Kreuze@* Copyright @copyright{} 2019 Kyle Andrews@* Copyright @copyright{} 2019 Alex Griffin@* Copyright @copyright{} 2019 Guillaume Le Vaillant@* +Copyright @copyright{} 2019 David C. Trudgian@* Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or @@ -11470,6 +11471,10 @@ This must be a @code{mapped-device-kind} object, which specifies how This defines LUKS block device encryption using the @command{cryptsetup} command from the package with the same name. It relies on the @code{dm-crypt} Linux kernel module. + +Note that currently only LUKS1 encrypted devices are supported. Existing +LUKS2 devices can be opened and mounted after boot, using +@code{cryptsetup luksOpen}. @end defvr @defvr {Scheme Variable} raid-device-mapping