bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#31889: Filesystems must not depend on device mappings?


From: Taylan Ulrich Bayırlı/Kammer
Subject: bug#31889: Filesystems must not depend on device mappings?
Date: Mon, 18 Jun 2018 23:11:54 +0200

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]