unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: 29765@debbugs.gnu.org
Subject: [bug#29765] [PATCH 0/3] Check mapped devices upon 'init' and 'reconfigure'
Date: Mon, 18 Dec 2017 15:14:26 +0100	[thread overview]
Message-ID: <20171218141426.28434-1-ludo@gnu.org> (raw)

Hi!

On IRC somebody reported a GuixSD misconfiguration: the person used the
desktop example, which has a LUKS root partition, but did not actually
create the root partition as LUKS.  As a result, the installed system
would not boot.

‘guix system init/reconfigure’ verifies file system labels and UUIDs
but in this case this is clearly insufficient.

This patch series addresses this by reporting LUKS UUIDs that could not
be found.

Ludo’.

Ludovic Courtès (3):
  mapped-devices: Add 'location' and 'check' fields.
  mapped-devices: 'luks-device-mapping' checks its source device.
  guix system: Check mapped devices upon 'init' and 'reconfigure'.

 gnu/system/mapped-devices.scm | 34 +++++++++++++++++++++++++++++++---
 guix/scripts/system.scm       | 24 +++++++++++++++++++++---
 2 files changed, 52 insertions(+), 6 deletions(-)

-- 
2.15.1

             reply	other threads:[~2017-12-18 14:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-18 14:14 Ludovic Courtès [this message]
2017-12-18 14:17 ` [bug#29765] [PATCH 1/3] mapped-devices: Add 'location' and 'check' fields Ludovic Courtès
2017-12-18 14:17   ` [bug#29765] [PATCH 2/3] mapped-devices: 'luks-device-mapping' checks its source device Ludovic Courtès
2017-12-18 14:17   ` [bug#29765] [PATCH 3/3] guix system: Check mapped devices upon 'init' and 'reconfigure' Ludovic Courtès
2017-12-22  9:05 ` bug#29765: [PATCH 0/3] " Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171218141426.28434-1-ludo@gnu.org \
    --to=ludo@gnu.org \
    --cc=29765@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).