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

From: [email-masked] (Ludovic Courtès)
Date: Wed, 20 Jun 2018 23:17:48 +0200

Hi!

Taylan Ulrich "Bayırlı/Kammer" <[email-masked]> skribis:

> 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

Could you show the complete ‘mapped-devices’ and ‘file-systems’ fields,
without ellipses?

The message above suggests that “/” was not considered as
needed-for-boot.

Thanks,
Ludo’.