From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id sEfzGf9yLGDgGgAA0tVLHw (envelope-from ) for ; Wed, 17 Feb 2021 01:35:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id gB3AFf9yLGD+AwAA1q6Kng (envelope-from ) for ; Wed, 17 Feb 2021 01:35:59 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C43E6176AF for ; Wed, 17 Feb 2021 02:35:58 +0100 (CET) Received: from localhost ([::1]:60832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lCBl0-0006d1-0O for larch@yhetil.org; Tue, 16 Feb 2021 20:35:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBxLq-0001Du-E4 for bug-guix@gnu.org; Tue, 16 Feb 2021 05:13:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lBxLq-00075b-7A for bug-guix@gnu.org; Tue, 16 Feb 2021 05:13:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lBxLq-0008Qv-12 for bug-guix@gnu.org; Tue, 16 Feb 2021 05:13:02 -0500 X-Loop: help-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 Resent-From: Shyam Saran Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 16 Feb 2021 10:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46555 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46555@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161347032932354 (code B ref -1); Tue, 16 Feb 2021 10:13:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Feb 2021 10:12:09 +0000 Received: from localhost ([127.0.0.1]:39451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBxKy-0008Pm-NQ for submit@debbugs.gnu.org; Tue, 16 Feb 2021 05:12:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:35650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lBxKv-0008Pc-GM for submit@debbugs.gnu.org; Tue, 16 Feb 2021 05:12:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:44664) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lBxKv-0000nC-93 for bug-guix@gnu.org; Tue, 16 Feb 2021 05:12:05 -0500 Received: from mail-yb1-xb44.google.com ([2607:f8b0:4864:20::b44]:33373) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lBxKt-0006fy-47 for bug-guix@gnu.org; Tue, 16 Feb 2021 05:12:05 -0500 Received: by mail-yb1-xb44.google.com with SMTP id x19so9985912ybe.0 for ; Tue, 16 Feb 2021 02:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+/foX1GCt8iaoidi1w4uma4+cnJyU9ytABTupDfIpdM=; b=o8n7A+LtD02K+1PrNDb8BA3p3VOyUJDhylLdE/czRhEiqBytYFPonkA3+5vvzXB9Wb bWohKKkUbia5VgOB8+hKbm7JR2qcUCYSnn2dplQPv9/5RlsCL/GySujL8z9WSdG2X5aN bgxQfOK4Pbs3VklOydOzxa/TyAX3RmC4P8g1G6XOKE4QkiTGdYzwCvij7netTRWUcLgK Q4m4OPGDOerriqkrAXYXNWT2cxPLrpo8N//iq1+FmScLdU8oHGy7xFV5eLx2+BD3VOXl 8OdBm34tL7Cl+vthB75sdmFe4m7gSgiKoVR4uCK6xxtmb9RwPZMQZrYdcsAXgvYI4G6p l3bg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+/foX1GCt8iaoidi1w4uma4+cnJyU9ytABTupDfIpdM=; b=GsPWn81wGx2AOIbx1Fy3Yq6+7DLMrsXlAGOsmvvVlkth52VTiH0BYq2H3NBBGon7Kg pIOq0ko3uIdZhB5+/E4BXHhC9H5SZVfbHFRtPJVYKROpKy5ZcDt2jufb9ln8kN1L650z iVO0O3TeAke/aaftKg7R4ZD7WCnZxkPtH2XGb+97In+TNAQCVKbmE1q/MeJDjZZ4ypRm DCx7+kDlRoJwvUzADDaObAOECmkS+zXDvn5o8lfNI9xZCI55oojFsCeBvGOdn1Jgs2d4 aQjFVY3UQPnxAW5tl+t5SG6qhGjmFGY08Nk0sc42iFyICFX/+t6XGp3ePtaBePBa+utD Av/Q== X-Gm-Message-State: AOAM532287TasoL4YCwyKjCgh72oDfGEnSLDd+Voxls1FVQr0SC3QDkj Zj5i1DuZY/QHZ58NbCRW2ppkXB+j24WOTQaMA4nyEJ1Cpy8I4g== X-Google-Smtp-Source: ABdhPJyjducQVEyUc0z1Y204XL+KjjKXtoAyCl8lAi+KdI+cJ/iiwPaqDzeYAv/QnQhwW7XgWtDYVl9sT0emMP1EKwM= X-Received: by 2002:a25:33d5:: with SMTP id z204mr29116791ybz.78.1613470320616; Tue, 16 Feb 2021 02:12:00 -0800 (PST) MIME-Version: 1.0 From: Shyam Saran Date: Tue, 16 Feb 2021 15:41:49 +0530 Message-ID: Content-Type: multipart/alternative; boundary="00000000000050e61105bb71553f" Received-SPF: pass client-ip=2607:f8b0:4864:20::b44; envelope-from=syamsaran12345@gmail.com; helo=mail-yb1-xb44.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Tue, 16 Feb 2021 20:32:46 -0500 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20161025 header.b=o8n7A+Lt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: C43E6176AF X-Spam-Score: -1.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: tVMLDAS3Y/a9 --00000000000050e61105bb71553f Content-Type: text/plain; charset="UTF-8" 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 --00000000000050e61105bb71553f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,<= br>
LVM/Device Mapper swap continuously fails for os configuration=


with

=C2=A0 guix system: error: service 'swap= -/dev/mapper/guix-swap' requires 'device-mapping-guix-swap', wh= ich is not provided by any service



which originates fr= om code



(define= swap-service-type
=C2=A0 (shepherd-service-type
=C2=A0=C2=A0 'sw= ap
=C2=A0=C2=A0 (lambda (device)
=C2=A0=C2=A0=C2=A0=C2=A0 (define req= uirement
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (if (and (string? device)<= br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (string-prefix? "/dev/mapper/" device))
=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (list (symbol-app= end 'device-mapping-
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (string-= >symbol (basename device))))
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 '()))


at =


Th= anks
/shyam







--00000000000050e61105bb71553f--