GNU bug report logs - #31889
Filesystems must not depend on device mappings?

Previous Next

Package: guix;

Reported by: Taylan Ulrich Bayırlı/Kammer <taylanbayirli <at> gmail.com>

Date: Mon, 18 Jun 2018 21:13:01 UTC

Severity: normal

Done: ludo <at> gnu.org (Ludovic Courtès)

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Taylan Ulrich Bayırlı/Kammer
 <taylanbayirli <at> gmail.com>
To: 31889 <at> debbugs.gnu.org
Subject: bug#31889: Filesystems must not depend on device mappings?
Date: Mon, 18 Jun 2018 23:11:54 +0200
[Message part 1 (text/plain, inline)]
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
[Message part 2 (text/html, inline)]

This bug report was last modified 7 years and 52 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.