bug-guix
[Top][All Lists]
Advanced

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

bug#46555: LVM swap continuously fails guix system: error: service 'swap


From: Shyam Saran
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

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








reply via email to

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