unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: "Taylan Ulrich Bayırlı/Kammer" <taylanbayirli@gmail.com>
To: 31889@debbugs.gnu.org
Subject: bug#31889: Filesystems must not depend on device mappings?
Date: Mon, 18 Jun 2018 23:11:54 +0200	[thread overview]
Message-ID: <CA+LMp4hs3c--1saX+OFVQB05fEViKxWd=a5-NLwGRbOZOABsGQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 780 bytes --]

If in my OS config I define some luks mappings, and define the
corresponding filesystems with dependencies on the mapped devices,
I get an error on 'guix system reconfigure'.

Example:

  (operating-system
    ...
    (mapped-devices
      (list (mapped-device ... (target "root"))))
    (file-systems
      (list (file-system (mount-point "/")
                         ...
                         (dependencies mapped-devices))))
    ...)

This will yield an error like:

  file-system-/ depends on device-mapping-root, which is not
  provided by any service

Funnily enough, one only needs to remove the 'dependencies' field to
make it work.  But this contradicts the example at:

https://www.gnu.org/software/guix/manual/html_node/Using-the-Configuration-System.html


Taylan

[-- Attachment #2: Type: text/html, Size: 1098 bytes --]

             reply	other threads:[~2018-06-18 21:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-18 21:11 Taylan Ulrich Bayırlı/Kammer [this message]
2018-06-20 21:17 ` bug#31889: Filesystems must not depend on device mappings? Ludovic Courtès
2018-06-21 18:44   ` Taylan Kammer
2018-06-21 21:55     ` Ludovic Courtès
2018-06-22 18:21       ` Taylan Kammer

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='CA+LMp4hs3c--1saX+OFVQB05fEViKxWd=a5-NLwGRbOZOABsGQ@mail.gmail.com' \
    --to=taylanbayirli@gmail.com \
    --cc=31889@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).