help-guix
[Top][All Lists]
Advanced

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

Re: guix system image fails with: service 'swap-/swapfile' requires 'fil


From: Ludovic Courtès
Subject: Re: guix system image fails with: service 'swap-/swapfile' requires 'file-system-/'
Date: Tue, 07 Mar 2023 16:50:06 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)

Hi Martin,

Sorry for the late reply.

Martin Castillo <castilma@uni-bremen.de> skribis:


[...]

> /mnt/root/man.config.scm:35:14: warning: the 'target' field is
> deprecated, please use 'targets' instead
> guix system: warning: Consider running 'guix pull' followed by
> 'guix system reconfigure' to get up-to-date packages and security updates.
>
> guix system: error: service 'swap-/swapfile' requires 'file-system-/',
> which is not provided by any service
>
> I can't find anything regarding a file-system-/ service. I do have a
> rootpartition in 'file-systems'. Why is that not sufficient?

You can definitely omit the ‘dependencies’ field of ‘swap-space’: it’s
implicit that the root file system is already mounted by the time swap
is activated.

> If I remove the dependency in swap-devices, it builds, though the
> system gets stuck on boot shortly after generating ssh keys. Picture
> is attached. Any hints for that problem?

How did you test?  With ‘guix system vm’?

The OS config you provided is truncated, so we can’t test it :-), but if
you provide the full thing we can give it a try.

Thanks,
Ludo’.



reply via email to

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