unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Shyam Saran <syamsaran12345@gmail.com>
To: 46555@debbugs.gnu.org
Subject: bug#46555: LVM swap continuously fails guix system: error: service 'swap-/dev/mapper/guix-swap' requires 'device-mapping-guix-swap', which is not provided by any service
Date: Tue, 16 Feb 2021 15:41:49 +0530	[thread overview]
Message-ID: <CABVJY8qvV5DkdaT_sEaU+g1E5NWNd7r3_CAYXUPd=400Ej+8ug@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

Hi,

LVM/Device Mapper swap continuously fails for os configuration


with

  guix system: error: service 'swap-/dev/mapper/guix-swap' requires
'device-mapping-guix-swap', which is not provided by any service



which originates from code



(define swap-service-type
  (shepherd-service-type
   'swap
   (lambda (device)
     (define requirement
       (if (and (string? device)
                (string-prefix? "/dev/mapper/" device))
           (list (symbol-append 'device-mapping-
                                (string->symbol (basename device))))
           '()))


at
https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/services/base.scm#n2171


Thanks
/shyam

[-- Attachment #2: Type: text/html, Size: 1290 bytes --]

             reply	other threads:[~2021-02-17  1:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-16 10:11 Shyam Saran [this message]
2021-02-22  9:19 ` bug#46555: LVM swap continuously fails guix system: error: service 'swap-/dev/mapper/guix-swap' requires 'device-mapping-guix-swap', which is not provided by any service Ludovic Courtès
2021-02-23 15:23   ` Shyam Saran
2021-02-25 13:19     ` Ludovic Courtès
2021-02-26  8:08       ` Shyam Saran
2021-03-01  9:26         ` Ludovic Courtès
2021-03-02 10:34           ` Shyam Saran
2021-03-02 10:42             ` Shyam Saran
2021-03-02 16:12               ` Shyam Saran
2021-03-04  7:22                 ` Shyam Saran
2021-03-08 13:28                   ` Ludovic Courtès

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='CABVJY8qvV5DkdaT_sEaU+g1E5NWNd7r3_CAYXUPd=400Ej+8ug@mail.gmail.com' \
    --to=syamsaran12345@gmail.com \
    --cc=46555@debbugs.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).