From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id zbu1FzDFtWAl3AAAgWs5BA (envelope-from ) for ; Tue, 01 Jun 2021 07:27:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id sDNQEjDFtWDYfwAAbx9fmQ (envelope-from ) for ; Tue, 01 Jun 2021 05:27:12 +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 B63281175C for ; Tue, 1 Jun 2021 07:27:10 +0200 (CEST) Received: from localhost ([::1]:45620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnwvl-0006p8-Da for larch@yhetil.org; Tue, 01 Jun 2021 01:27:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnwve-0006oy-SP for guix-patches@gnu.org; Tue, 01 Jun 2021 01:27:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52129) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnwve-00040g-L4 for guix-patches@gnu.org; Tue, 01 Jun 2021 01:27:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lnwve-0005MN-Fy for guix-patches@gnu.org; Tue, 01 Jun 2021 01:27:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48772] [PATCH] gnu: Add lxcfs. Resent-From: Dion Mendel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 01 Jun 2021 05:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48772 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48772@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.162252517420542 (code B ref -1); Tue, 01 Jun 2021 05:27:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Jun 2021 05:26:14 +0000 Received: from localhost ([127.0.0.1]:35442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnwup-0005LC-2u for submit@debbugs.gnu.org; Tue, 01 Jun 2021 01:26:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:33106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lnwuk-0005L2-MS for submit@debbugs.gnu.org; Tue, 01 Jun 2021 01:26:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52044) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnwuk-0006iS-Dd for guix-patches@gnu.org; Tue, 01 Jun 2021 01:26:06 -0400 Received: from cyan.elm.relay.mailchannels.net ([23.83.212.47]:11028) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnwug-0003FS-OU for guix-patches@gnu.org; Tue, 01 Jun 2021 01:26:06 -0400 X-Sender-Id: dreamhost|x-authsender|smtp@dm9.info Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id DAA85542818 for ; Tue, 1 Jun 2021 05:25:58 +0000 (UTC) Received: from pdx1-sub0-mail-a81.g.dreamhost.com (100-96-133-107.trex.outbound.svc.cluster.local [100.96.133.107]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 6B836542860 for ; Tue, 1 Jun 2021 05:25:58 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|smtp@dm9.info Received: from pdx1-sub0-mail-a81.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.133.107 (trex/6.2.1); Tue, 01 Jun 2021 05:25:58 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|smtp@dm9.info X-MailChannels-Auth-Id: dreamhost X-Callous-Towering: 69a31eef733a2741_1622525158704_13685953 X-MC-Loop-Signature: 1622525158704:10432362 X-MC-Ingress-Time: 1622525158704 Received: from pdx1-sub0-mail-a81.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a81.g.dreamhost.com (Postfix) with ESMTP id 2B2A9887B7 for ; Mon, 31 May 2021 22:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=dm9.info; h=date:from:to :subject:message-id:mime-version:content-type :content-transfer-encoding; s=dm9.info; bh=RSk+8nZhSFg5NoYkvgwch AjsLXk=; b=J0GXKJgT1BbyXsVpyk9TCY7hdl3OCnGBiXF62V70eTTdUe/aCjvdG MRe0PX095Ee7sf2a4pOKEwDj+UvIslXXa8+hM8KuCc4SiJQYIejqlZEOD1T7QhBQ mMryLl2/abhAWJ9hZrlxpZwLO5QuUEsPzlXGElcMZVb5zjRJRSm9qw= Received: from mail.localdomain (61-245-140-70.3df58c.per.nbn.aussiebb.net [61.245.140.70]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: smtp@dm9.info) by pdx1-sub0-mail-a81.g.dreamhost.com (Postfix) with ESMTPSA id E2AD2887B0 for ; Mon, 31 May 2021 22:25:57 -0700 (PDT) Received: by mail.localdomain (Postfix, from userid 2001) id B5666514E18; Tue, 1 Jun 2021 13:25:53 +0800 (AWST) Date: Tue, 1 Jun 2021 13:25:53 +0800 X-DH-BACKEND: pdx1-sub0-mail-a81 From: Dion Mendel Message-ID: <20210601052553.GA27406@dm9.info> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Disposition: inline User-Agent: Mutt/1.9.4 (2018-02-28) Content-Transfer-Encoding: quoted-printable Received-SPF: none client-ip=23.83.212.47; envelope-from=guix@dm9.info; helo=cyan.elm.relay.mailchannels.net X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.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, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1622525231; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=nIJEVXegeyjcTgVaeIeRThF7Tuk5/kjAw8xwve7AtFc=; b=rylKXiAIudTXCOfnmAirxbe7xfcJkf9mQTt3e8+2/0wcfWqk8f7kQhhvpqRswZ9ucvzVmm hWFw/8O5v4LZCMqAc67hsYtzHN2OHlwYBPujZdvtkEv2k7NeyiMgD2GXrgRx9hMehrko9S FzNMowoG4Y0pdd+B5IXXqY2MpmOoBVHIqMtbBs/tJAwYx/45s2p6kivHwh2xA6o/TpvC7Q QC4wH86UrEzYcqylwFQkNFPnOszy4kXtJ3eK1/eGjvEggGqOBAlp2rQidTd+IMQyHl+MVL aPQO2ko69mSnvI0HYKiPUcqyiZxeS16VHFTJcpoRA82AZGqvyWU/nkBhGs0iSg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622525231; a=rsa-sha256; cv=none; b=dtR3bhWpb+djYdwsAgNdJ8WZqo6xVwCpfCR+F11iwdD819k/cVznlw9bK8PFf9HiqQes26 1db4LL3ZS/ccFSPL8ezpIFn+VdlFI2+cKTpWTykUlWZPi00G+8YcGM3BRcvNZkOPlcdovO qY2SaPgbuxRUKc8+/oY+r47kUG+KXxWOOtP2f6gx0I3OjG9Tz37GXM3vHu3Y2HVnOmxE/5 vins22I+ZUFtcln4GRi+eWAkgHx//JJCSIQa1IJetiEyJ0BsBnk2ZifoVBg+/feLKsTMiA Epie/pd9n3t77pAHORkUeyQpC7fddd1n3pvKsFld9qkrFkoyWdwidtsB4nwq5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dm9.info header.s=dm9.info header.b=J0GXKJgT; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=dm9.info header.s=dm9.info header.b=J0GXKJgT; dmarc=fail reason="SPF not aligned (relaxed)" header.from=dm9.info (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: B63281175C X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: NxXFs4zIIBOw * gnu/packages/virtualization.scm (lxcfs): New Variable. --- gnu/packages/virtualization.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualizatio= n.scm index f12f862304..501a635a9a 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -19,6 +19,7 @@ ;;; Copyright =A9 2020 Brett Gilio ;;; Copyright =A9 2021 Leo Famulari ;;; Copyright =A9 2021 Pierre Langlois +;;; Copyright =A9 2021 Dion Mendel ;;; ;;; This file is part of GNU Guix. ;;; @@ -1065,6 +1066,35 @@ Through a powerful API and simple tools, it lets L= inux users easily create and manage system or application containers.") (license license:lgpl2.1+))) =20 +(define-public lxcfs + (package + (name "lxcfs") + (version "4.0.8") + (home-page "https://github.com/lxc/lxcfs") + (source (origin + (method git-fetch) + (uri (git-reference (url home-page) + (commit (string-append "lxcfs-" versio= n)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1f74wy88si2ia035pcvciq5821kc8jcb75w1f8vhbp0cd29rqdpi"))= )) + (arguments + '(#:configure-flags '("--localstatedir=3D/var"))) + (native-inputs + `(("autoconf" ,autoconf) + ("automake" ,automake) + ("libtool" ,libtool) + ("pkg-config" ,pkg-config))) + (inputs + `(("fuse" ,fuse))) + (build-system gnu-build-system) + (synopsis "FUSE based filesystem for LXC") + (description "LXCFS is a small FUSE filesystem written with the inte= ntion +of making Linux containers feel more like a virtual machine. +It started as a side-project of LXC but is useable by any runtime.") + (license license:lgpl2.1))) + (define-public libvirt (package (name "libvirt") --=20 2.31.1