From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id bB5uIZN3M2B8DAAA0tVLHw (envelope-from ) for ; Mon, 22 Feb 2021 09:21:23 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id ANXqHJN3M2DLIQAAbx9fmQ (envelope-from ) for ; Mon, 22 Feb 2021 09:21:23 +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 D32CE20473 for ; Mon, 22 Feb 2021 10:21:22 +0100 (CET) Received: from localhost ([::1]:47912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE7P7-0000S8-Rz for larch@yhetil.org; Mon, 22 Feb 2021 04:21:21 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35114) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lE7Oo-0000Oc-8S for bug-guix@gnu.org; Mon, 22 Feb 2021 04:21:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:44104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lE7Oo-0005hQ-14 for bug-guix@gnu.org; Mon, 22 Feb 2021 04:21:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lE7On-0003M6-U3 for bug-guix@gnu.org; Mon, 22 Feb 2021 04:21:01 -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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 Feb 2021 09:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46555 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Shyam Saran Received: via spool by 46555-submit@debbugs.gnu.org id=B46555.161398560612804 (code B ref 46555); Mon, 22 Feb 2021 09:21:01 +0000 Received: (at 46555) by debbugs.gnu.org; 22 Feb 2021 09:20:06 +0000 Received: from localhost ([127.0.0.1]:55650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE7Nt-0003KR-Qn for submit@debbugs.gnu.org; Mon, 22 Feb 2021 04:20:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE7Ns-0003Ju-4F for 46555@debbugs.gnu.org; Mon, 22 Feb 2021 04:20:05 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51125) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE7Nm-00059S-VD; Mon, 22 Feb 2021 04:19:58 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=42204 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lE7Nm-0003c4-AB; Mon, 22 Feb 2021 04:19:58 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: Date: Mon, 22 Feb 2021 10:19:57 +0100 In-Reply-To: (Shyam Saran's message of "Tue, 16 Feb 2021 15:41:49 +0530") Message-ID: <875z2ke9xe.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 46555@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.87 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: D32CE20473 X-Spam-Score: -2.87 X-Migadu-Scanner: scn1.migadu.com X-TUID: G+1Rjiroglfx Hi Shyam, Shyam Saran skribis: > 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)))) > '())) You could need to define an LVM =E2=80=9Cdevice mapping=E2=80=9D that provi= des /dev/mapper/guix-swap: https://guix.gnu.org/manual/devel/en/html_node/Mapped-Devices.html#index-= lvm_002ddevice_002dmapping If you did already, could you send your complete config so we can have a look? Thanks, Ludo=E2=80=99.