GNU bug report logs - #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

Previous Next

Package: guix;

Reported by: Shyam Saran <syamsaran12345 <at> gmail.com>

Date: Tue, 16 Feb 2021 10:13:01 UTC

Severity: normal

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#46555: closed (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: Mon, 08 Mar 2021 13:29:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 08 Mar 2021 14:28:12 +0100
with message-id <87czw9g4gj.fsf <at> gnu.org>
and subject line Re: 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
has caused the debbugs.gnu.org bug report #46555,
regarding 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
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
46555: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46555
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Shyam Saran <syamsaran12345 <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: 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
[Message part 3 (text/plain, inline)]
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
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Shyam Saran <syamsaran12345 <at> gmail.com>
Cc: 46555-done <at> debbugs.gnu.org
Subject: Re: 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: Mon, 08 Mar 2021 14:28:12 +0100
Hi,

Shyam Saran <syamsaran12345 <at> gmail.com> skribis:

> Sorry again, it is excellently working

Great, thanks for checking!

Ludo’.


This bug report was last modified 4 years and 170 days ago.

Previous Next


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