unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#31889: Filesystems must not depend on device mappings?
@ 2018-06-18 21:11 Taylan Ulrich Bayırlı/Kammer
  2018-06-20 21:17 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Taylan Ulrich Bayırlı/Kammer @ 2018-06-18 21:11 UTC (permalink / raw)
  To: 31889

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-22 16:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-18 21:11 bug#31889: Filesystems must not depend on device mappings? Taylan Ulrich Bayırlı/Kammer
2018-06-20 21:17 ` 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

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).