From: "Ludovic Courtès" <ludo@gnu.org>
To: Martin Castillo <castilma@uni-bremen.de>
Cc: help-guix@gnu.org
Subject: Re: guix system image fails with: service 'swap-/swapfile' requires 'file-system-/'
Date: Tue, 07 Mar 2023 16:50:06 +0100 [thread overview]
Message-ID: <87ttywblxt.fsf@gnu.org> (raw)
In-Reply-To: <f3d45641-fbcd-81ac-988e-3a26cfb543a3@uni-bremen.de> (Martin Castillo's message of "Tue, 21 Feb 2023 16:51:11 +0100")
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’.
next prev parent reply other threads:[~2023-03-07 15:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-21 15:51 guix system image fails with: service 'swap-/swapfile' requires 'file-system-/' Martin Castillo
2023-03-07 15:50 ` Ludovic Courtès [this message]
2023-03-14 12:01 ` Martin Castillo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ttywblxt.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=castilma@uni-bremen.de \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).