From unknown Mon Jun 23 23:49:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#38032 <38032@debbugs.gnu.org> To: bug#38032 <38032@debbugs.gnu.org> Subject: Status: [PATCH 0/4] Update libvirt 5.8.0/virt-manager 2.2.1 Reply-To: bug#38032 <38032@debbugs.gnu.org> Date: Tue, 24 Jun 2025 06:49:31 +0000 retitle 38032 [PATCH 0/4] Update libvirt 5.8.0/virt-manager 2.2.1 reassign 38032 guix-patches submitter 38032 Miguel Arruga Vivas severity 38032 normal tag 38032 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 02 12:41:27 2019 Received: (at submit) by debbugs.gnu.org; 2 Nov 2019 16:41:27 +0000 Received: from localhost ([127.0.0.1]:32988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQwSs-0006oL-4K for submit@debbugs.gnu.org; Sat, 02 Nov 2019 12:41:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:33324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQwSn-0006o8-0x for submit@debbugs.gnu.org; Sat, 02 Nov 2019 12:41:21 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41371) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iQwSk-0007Zp-Px for guix-patches@gnu.org; Sat, 02 Nov 2019 12:41:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_40, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iQwSj-0003cd-C9 for guix-patches@gnu.org; Sat, 02 Nov 2019 12:41:18 -0400 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]:40884) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iQwSj-0003TV-5p for guix-patches@gnu.org; Sat, 02 Nov 2019 12:41:17 -0400 Received: by mail-wr1-x42a.google.com with SMTP id o28so12604751wro.7 for ; Sat, 02 Nov 2019 09:41:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=ONp6ZcigzS2IsIt6Di9+iFtJo5IgFIlDLULyO0KqV/U=; b=WZtHCx4H+/qzbAQhGTXkXnsrWCzPv+2zVWqpORiEbvhamhckSCgDQV8g7SFaX4I6kO cjAeXZXKiGRKEeClZI+44PTDmoNJGDWR/bHpETa5E7mBIPSvEntnTq40iLLt7hlIV7EY BbhntDSFtBN0Ok2NPV+H9T9b9DM32uLg1xdWyafTmbcrAWOFvZd87gb+C/k6hctpHpr0 W0oMvAMqeP3aGMsJczHZAqlst05vvFvqUuuwq1YnGyNxDwdnzuap2rXMXhoTW+Wi/5UM LcvBf/ob/NWa8CQTscDnOBFiLWwCASec3HRTvMLwN+XHItavkVkUwm34QeltmPaZYCW1 BZjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-transfer-encoding; bh=ONp6ZcigzS2IsIt6Di9+iFtJo5IgFIlDLULyO0KqV/U=; b=eE4fm0TxHB/yPIoZ7d2jRqkf0mDZJ/fjC3VwfnsBhr5fCIeGGWpYdeZDHfZHbGeoxF aPzKVWqTNFKc8sU06jVX689GdE0fyubxd/yBy6KY/nMXP8zoVjJUT9OEHvfDCeGF5moV x0wXMnp+lCu2EjNzGXa+rVRKouoUzU2TYNrOCJDIbonHbW0fmseCM6SlQV0pfGcDnt6Q PnspbQ6XkU34VcU/x3moU9VtOJABcERs0RC+lWzZNe+PhUypMau3aX+vC8xUCFqOHWMl zAhO0KNw5pMEYnzp6xQCmN6IK7V6J0sHCAsICqsISIS2m6cO3n5kMQ9jXIPZuXJueOuv 8dOQ== X-Gm-Message-State: APjAAAWUeIJa7x/bRMsqp1b9lwTw4ATxuKPoxSb89NG+x9RbNr9i2Jil AVAl6xx94dx8LFfWBNsvTw+vwXe099Y= X-Google-Smtp-Source: APXvYqwCW7Hau9+joC6YfQhaKWe2pv9QugnzDCBCHOzd37hUKvj60s3/HWz9jZ9dttRE7Z7/tFGcjg== X-Received: by 2002:a05:6000:1181:: with SMTP id g1mr1960224wrx.131.1572712874267; Sat, 02 Nov 2019 09:41:14 -0700 (PDT) Received: from localhost (115.201.218.87.dynamic.jazztel.es. [87.218.201.115]) by smtp.gmail.com with ESMTPSA id t12sm10262554wrx.93.2019.11.02.09.41.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Nov 2019 09:41:13 -0700 (PDT) Date: Sat, 2 Nov 2019 17:41:09 +0100 From: Miguel Arruga Vivas To: guix-patches@gnu.org Subject: [PATCH 0/4] Update libvirt 5.8.0/virt-manager 2.2.1 Message-ID: <20191102174109.7a2264a7@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42a X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hi, Regarding issue http://issues.guix.gnu.org/issue/36634 (upstream bug report https://bugzilla.redhat.com/show_bug.cgi?id=1760233 where the patch inside the second patch can be found too) I've updated it to the latest stable version available. The last one is a bugfix for the missing ip binary in the path. I hope the update to 3.9.0 won't need the patch, but let's see. Best regards, Miguel From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 02 12:48:29 2019 Received: (at 38032) by debbugs.gnu.org; 2 Nov 2019 16:48:29 +0000 Received: from localhost ([127.0.0.1]:32999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQwZe-00071Q-8Z for submit@debbugs.gnu.org; Sat, 02 Nov 2019 12:48:28 -0400 Received: from mail-wm1-f44.google.com ([209.85.128.44]:52079) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQwZK-0006zz-Ft for 38032@debbugs.gnu.org; Sat, 02 Nov 2019 12:48:09 -0400 Received: by mail-wm1-f44.google.com with SMTP id q70so12436833wme.1 for <38032@debbugs.gnu.org>; Sat, 02 Nov 2019 09:48:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version; bh=25m57XCJ042KKE68lZycNFocyxlt94gLdIS7pfPyfNA=; b=CSC0nZD7U0IS2SNXSk2vZ9k6uzou5uFc2AZQw5YLG8Li/qA8iW1sWKkfPiFcv/bO65 YPwtGJjAa0uwoGaJvsBLdw7h2jIOhJWw+Fl410OYrtKH/7ajKGx0rErwPV/gsk0zSv3o WOO5+WRmx2Q1YkFaWSVvtxaQ752HFbLN1wpABnCLOtqx0SzZVyC6yA60oXjyRGadHFen 2pvtkP71uQEdwjXawvflk3yxemzjgbq9yYFCsY+raXgBf1XfQEqGdOXclGzinjY4m1wS sR9P/7xiD8zSDej/q7C6Mhxy3ADzOPtBSyWQHSe/su170awc0zcDQEXH1HuyIJhSOt6N JTVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version; bh=25m57XCJ042KKE68lZycNFocyxlt94gLdIS7pfPyfNA=; b=qawbl7g/YDZiFo9eaMoVwScqOd4Aub2a6tK/1sdGL/pX7HLRsD3Ip+Afo2BarbwMD9 0DVj3RQ7DlNDB7uLdXund/5p0LWmZMzgcyTco2WrqDtx1AO6Ch9QdqO0DX+klEYyoTl/ XiTf09h6cvJCMwD/VLpo8NgqEp9LcDMt9i9IkJls9jP72dIQZygeG5uvcXc3gEI72NJ5 PAJ85OuhEeVu8xutMQNpEmYyrhlevpw9mItB6WTac4yIo76vLPKCztU9LJcNFF959ZY5 ZNLWMULjZXY7/5+UwO0c8Fhk2vPuHqM+nSajnQY2evv/hiSEC0PLfC4Gl2lH8geqQev8 MHDw== X-Gm-Message-State: APjAAAUhsib8+pTJy2c929Z3a4vNoMQwFiXkuvmMUXigqvuyeHsw/naI oOfwzDaQ7YEi9M+FHJ7TqDHFK9l8yKQ= X-Google-Smtp-Source: APXvYqwLQ1yLQclXMCCzW+W63HNCVnoSGenUO2ZplnLybExfEEzlOl3si/zQ1sZ8iHMLMV9SnkXv0Q== X-Received: by 2002:a1c:6309:: with SMTP id x9mr14874028wmb.108.1572713280193; Sat, 02 Nov 2019 09:48:00 -0700 (PDT) Received: from localhost (115.201.218.87.dynamic.jazztel.es. [87.218.201.115]) by smtp.gmail.com with ESMTPSA id p12sm12440806wrm.62.2019.11.02.09.47.59 for <38032@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Nov 2019 09:47:59 -0700 (PDT) Date: Sat, 2 Nov 2019 17:47:55 +0100 From: Miguel Arruga Vivas To: 38032@debbugs.gnu.org Subject: PATCH 1/4] gnu: libvirt: Update to 5.8.0. Message-ID: <20191102174755.0f5b4438@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/fJHmOxhf7YUa/XtwECZzgBb" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 38032 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --MP_/fJHmOxhf7YUa/XtwECZzgBb Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline This patch includes the proposed fix to upstream in order to ensure the creation of the top-level /machine group when cgroup2 is mounted. It updates libvirt to the latest stable version available at the moment of writing: 5.8.0. ---- * gnu/local.mk (dist_patch_DATA): Add new patch file. * gnu/packages/patches/libvirt-create-machine-cgroup.patch: New patch, submitted to upstream for upstream bug 1760233. * gnu/packages/virtualization.scm (libvirt): Update version to 5.8.0. Include patch. Avoid execution of failing tests qemuxml2argvtest and qemuhotplugtest. Replace python by python-wrapper to avoid warnings on patch-shebangs phase. --- gnu/local.mk | 1 + .../libvirt-create-machine-cgroup.patch | 48 +++++++++++++++++++ gnu/packages/virtualization.scm | 10 ++-- 3 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 gnu/packages/patches/libvirt-create-machine-cgroup.patch --MP_/fJHmOxhf7YUa/XtwECZzgBb Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0001-gnu-libvirt-Update-to-5.8.0.patch >From 45af2ebed6641d0464f438868a25966693391e36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?= Date: Sat, 2 Nov 2019 00:31:44 +0100 Subject: [PATCH 1/4] gnu: libvirt: Update to 5.8.0. * gnu/local.mk (dist_patch_DATA): Add new patch file. * gnu/packages/patches/libvirt-create-machine-cgroup.patch: New patch, submitted to upstream for upstream bug 1760233. * gnu/packages/virtualization.scm (libvirt): Update version to 5.8.0. Include patch. Avoid execution of failing tests qemuxml2argvtest and qemuhotplugtest. Replace python by python-wrapper to avoid warnings on patch-shebangs phase. --- gnu/local.mk | 1 + .../libvirt-create-machine-cgroup.patch | 48 +++++++++++++++++++ gnu/packages/virtualization.scm | 10 ++-- 3 files changed, 56 insertions(+), 3 deletions(-) create mode 100644 gnu/packages/patches/libvirt-create-machine-cgroup.patch diff --git a/gnu/local.mk b/gnu/local.mk index 96b570a759..c6c8bf59aa 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1003,6 +1003,7 @@ dist_patch_DATA = \ %D%/packages/patches/java-xerces-xjavac_taskdef.patch \ %D%/packages/patches/jbig2dec-ignore-testtest.patch \ %D%/packages/patches/kdbusaddons-kinit-file-name.patch \ + %D%/packages/patches/libvirt-create-machine-cgroup.patch \ %D%/packages/patches/libziparchive-add-includes.patch \ %D%/packages/patches/localed-xorg-keyboard.patch \ %D%/packages/patches/kiki-level-selection-crash.patch \ diff --git a/gnu/packages/patches/libvirt-create-machine-cgroup.patch b/gnu/packages/patches/libvirt-create-machine-cgroup.patch new file mode 100644 index 0000000000..585ac237e1 --- /dev/null +++ b/gnu/packages/patches/libvirt-create-machine-cgroup.patch @@ -0,0 +1,48 @@ +From 9ca0b2955edea162b255b428e493cd8ffac52167 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?= + +Date: Fri, 1 Nov 2019 17:29:00 +0100 +Subject: [PATCH] vircgroup: Ensure /machine group is associated with its + parent. + +Call first virCgroupNew on the parent group virCgroupNewPartition if +it is available on before the creation of the child group. This +ensures that the creation of a first level group on the unified +architecture, as the check at virCgroupV2ParseControllersFile as the +parent file is there. + +Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1760233 +--- + src/util/vircgroup.c | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +diff --git a/src/util/vircgroup.c b/src/util/vircgroup.c +index b46f20abfd..33c61f2d45 100644 +--- a/src/util/vircgroup.c ++++ b/src/util/vircgroup.c +@@ -855,9 +855,6 @@ virCgroupNewPartition(const char *path, + if (virCgroupSetPartitionSuffix(path, &newPath) < 0) + goto cleanup; + +- if (virCgroupNew(-1, newPath, NULL, controllers, group) < 0) +- goto cleanup; +- + if (STRNEQ(newPath, "/")) { + char *tmp; + parentPath = g_strdup(newPath); +@@ -868,7 +865,12 @@ virCgroupNewPartition(const char *path, + + if (virCgroupNew(-1, parentPath, NULL, controllers, &parent) < 0) + goto cleanup; ++ } + ++ if (virCgroupNew(-1, newPath, parent, controllers, group) < 0) ++ goto cleanup; ++ ++ if (parent) { + if (virCgroupMakeGroup(parent, *group, create, VIR_CGROUP_NONE) < 0) + goto cleanup; + } +-- +2.23.0 + diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index c2f46985f0..7266f6606d 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -400,14 +400,16 @@ manage system or application containers.") (define-public libvirt (package (name "libvirt") - (version "5.6.0") + (version "5.8.0") (source (origin (method url-fetch) (uri (string-append "https://libvirt.org/sources/libvirt-" version ".tar.xz")) (sha256 - (base32 "1d5rmcx5fgb024hw8chbiv886n3jal5wp2yajjk5l4qh9s9gkx35")))) + (base32 "0m8cqaqflvys5kaqpvb0qr4k365j09jc5xk6x70yvg8qkcl2hcz2")) + (patches + (search-patches "libvirt-create-machine-cgroup.patch")))) (build-system gnu-build-system) (arguments `(#:configure-flags @@ -439,6 +441,8 @@ manage system or application containers.") (add-before 'configure 'disable-broken-tests (lambda _ (let ((tests (list "commandtest" ; hangs idly + "qemuxml2argvtest" ; fails + "qemuhotplugtest" ; fails "virnetsockettest" ; tries to network "virshtest"))) ; fails (substitute* "tests/Makefile.in" @@ -480,7 +484,7 @@ manage system or application containers.") ("perl" ,perl) ("pkg-config" ,pkg-config) ("polkit" ,polkit) - ("python" ,python))) + ("python" ,python-wrapper))) (home-page "https://libvirt.org") (synopsis "Simple API for virtualization") (description "Libvirt is a C toolkit to interact with the virtualization -- 2.23.0 --MP_/fJHmOxhf7YUa/XtwECZzgBb-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 02 12:48:39 2019 Received: (at 38032) by debbugs.gnu.org; 2 Nov 2019 16:48:39 +0000 Received: from localhost ([127.0.0.1]:33002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQwZr-00071s-DT for submit@debbugs.gnu.org; Sat, 02 Nov 2019 12:48:39 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:36595) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQwZn-00071U-CN for 38032@debbugs.gnu.org; Sat, 02 Nov 2019 12:48:35 -0400 Received: by mail-wm1-f43.google.com with SMTP id c22so11952330wmd.1 for <38032@debbugs.gnu.org>; Sat, 02 Nov 2019 09:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version; bh=QmOI5yatIN0G1Mog/QlT2mW/sHlbRszyF6Q5iL1P0oQ=; b=MnzwMYBNuetAMABbFL2hVjXcvLGuDllOBnNZhuEwtB2hJv1paNbPWpYaVfiL2rg5l2 nk3cZ2keACNCQVJgN8Cwr2cexJwDebZK5fx7wFailtG+AEIPSr2zXOZJZDjf3grhykC9 M0dDleLx6ID1In1balvjtju3YqaC6FSHS0XeY+8qKB5yJsqiUZ1Q7/WDCi/JfDPNxj0/ VpCksUSYbHR/1TxnTVVnQVswPAIZkDVAq4XzDdnkAvNyfHZiFTrCsg1QHS86jqTeQYr3 eYTs+MdTJuBbdDH0xBpz1sXJZ4zTFOf414tvU+Fh9m5hfTSDASM1rRNCPHvvuYnOjD96 2hmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version; bh=QmOI5yatIN0G1Mog/QlT2mW/sHlbRszyF6Q5iL1P0oQ=; b=mR787jAhjKlSGINubb9AB2YzRQDaYUl0ydTcGwQL1KE3MjanMpbJAucWHOz5dMee97 u5ZDOey7h2LeQNNkNepm/UnI9uphnxYHM7R/BYOgQAG5M7ucDSV27EcWFxiQMlXv1hQ1 h0hmOTWpTal2iq3wxLk/qtyJiHch35WFBJQY1Z07p4yzOgeyT0ye6TbPb4sT/ti7LhXy vkq/hi8BiM2pTNZVqiUe37yjfqN1OsBDVkcjwOahaiNKIwbz1XMS5VhvSifD0AiWf5NV ba7YRf/9A5V7xkcKWM2OkC9P+VEefrn01yYpxs4lDr522rRPE7zyVaNnsi6iYchhtlH8 G5Pw== X-Gm-Message-State: APjAAAU9K6dvEhIgVw29KQ7T3FcxV38aAtAXM1k1GDTWT93jHSzjmEus wJ0myW/P5tK/mbFucBLHtnhmqnnmwrk= X-Google-Smtp-Source: APXvYqx4j9XDoHdEzNUuzS7qTFrqCmCTognaBbrx/cinEcLncPQmSRudaqeXsLnXTPtohe3ED1fLHQ== X-Received: by 2002:a1c:a556:: with SMTP id o83mr15155181wme.165.1572713308450; Sat, 02 Nov 2019 09:48:28 -0700 (PDT) Received: from localhost (115.201.218.87.dynamic.jazztel.es. [87.218.201.115]) by smtp.gmail.com with ESMTPSA id g5sm10046332wma.43.2019.11.02.09.48.27 for <38032@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Nov 2019 09:48:28 -0700 (PDT) Date: Sat, 2 Nov 2019 17:48:24 +0100 From: Miguel Arruga Vivas To: 38032@debbugs.gnu.org Subject: [PATCH 2/4] gnu: python-libvirt: Update to 5.8.0. Message-ID: <20191102174824.7b5ab842@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/_S.QCO4FjZqx7qp318/Y/9S" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 38032 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --MP_/_S.QCO4FjZqx7qp318/Y/9S Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Only update and remove the comment. ---- * gnu/packages/virtualization.scm (python-libvirt): Update version to 5.8.0, update hash and remove obsolete comment. --- gnu/packages/virtualization.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --MP_/_S.QCO4FjZqx7qp318/Y/9S Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0002-gnu-python-libvirt-Update-to-5.8.0.patch >From 7ec4e7b07f745540f6193797f95d65525760d67b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?= Date: Sat, 2 Nov 2019 00:44:09 +0100 Subject: [PATCH 2/4] gnu: python-libvirt: Update to 5.8.0. * gnu/packages/virtualization.scm (python-libvirt): Update version to 5.8.0, update hash and remove obsolete comment. --- gnu/packages/virtualization.scm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 7266f6606d..19614b0ac3 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -538,15 +538,14 @@ three libraries: (define-public python-libvirt (package (name "python-libvirt") - (version "5.6.0") + (version "5.8.0") (source (origin (method url-fetch) - ;; The latest version hosted on PyPI at 5.6.0 release time was 5.5.0. (uri (string-append "https://libvirt.org/sources/python/libvirt-python-" version ".tar.gz")) (sha256 - (base32 "11i440aibykxw22fzyavmrvn67s8rmnijw5bag0yx9r8jpnkzwad")))) + (base32 "0kyz3lx49d8p75mvbzinxc1zgs8g7adn77y9bm15b8b4ad9zl5s6")))) (build-system python-build-system) (arguments `(#:phases -- 2.23.0 --MP_/_S.QCO4FjZqx7qp318/Y/9S-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 02 12:48:55 2019 Received: (at 38032) by debbugs.gnu.org; 2 Nov 2019 16:48:55 +0000 Received: from localhost ([127.0.0.1]:33005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQwa0-00072I-PX for submit@debbugs.gnu.org; Sat, 02 Nov 2019 12:48:55 -0400 Received: from mail-wr1-f47.google.com ([209.85.221.47]:46086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQwZx-000720-LU for 38032@debbugs.gnu.org; Sat, 02 Nov 2019 12:48:46 -0400 Received: by mail-wr1-f47.google.com with SMTP id b3so6847351wrs.13 for <38032@debbugs.gnu.org>; Sat, 02 Nov 2019 09:48:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version; bh=Ok/UJt8QktPBJgSH4Bb447zPGRPCsDfd1P7hwsXsWhM=; b=c9qXZauj7b6jRIbTQZN2rrbG1z2Ldi/o/jrWsavJnrVI+VnmSp3yvDc4VeGCVfcDCt vlcqQGc9xX0TUL6mrkIiVt7bI9oLd5R4lKvFQoJKbCH5kOJSBSfzSU6fOSLnAWZuC5/U tLtV21uvwCqasvOGdKlFo7cXPYEP6MgPhsd+Tqq3VxaEFunprSHNimthkE1C3ODWVi1m LZNM/bS5ktG99F13rw9gR52oQEJDcliKuNdfMTooVMRkF/1WsAvkLz2PbbhrgD8OdBAV gSVahK01enZDDpR/ODmV7Uis1ZuWtgbZBCxryKoZFsZZZ/DEvsf+FnfcFPPNcrnpaqwm lnMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version; bh=Ok/UJt8QktPBJgSH4Bb447zPGRPCsDfd1P7hwsXsWhM=; b=ptJNMGwZkAnJxu9pVJO8TrazGdY+Nht2N0TKiSJ2ZcWAbf+q2LR4xygp90FnBWvMBK LL/ZiXMP8jysUxkvvNmmFXXAL5VPXEl7SIgMThrmAFfpFUVwfmpwloevqM/J7X7XwTY4 oYKwnXCqjx3Wslm/1BV4u80OLNEtNme/SjmfAuNzecsy7usp9eE0bzEj6gejzQ49RViY LTuJacxDrQJUilqaTyUtA9Nvl8vdrHPFIhXTjercQ8JeijNgetroath5qwofM4xOoxOF SvNnPD0xY9mOUo00ODSm4UY+qJB5Ui/ka4ZFTjuRZ8Z61X4Jojjhn4NpDU589J7F4GNz m9yg== X-Gm-Message-State: APjAAAWxVyncjuuuEDxV3Javw0ifuFOJspU4G3zAbxbAW5zS+vJ4oxiz jqAbkkwOwfZzizd43qDY9g5u62ej30Q= X-Google-Smtp-Source: APXvYqx3dNaqZqlv27wegLx1MOEUM/8iUVerHbaKnypvteY3w7FYRK6FPmw6+ymQucha6iWrDSxjyQ== X-Received: by 2002:a5d:694d:: with SMTP id r13mr15012997wrw.395.1572713319370; Sat, 02 Nov 2019 09:48:39 -0700 (PDT) Received: from localhost (115.201.218.87.dynamic.jazztel.es. [87.218.201.115]) by smtp.gmail.com with ESMTPSA id u203sm5695104wme.34.2019.11.02.09.48.38 for <38032@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Nov 2019 09:48:39 -0700 (PDT) Date: Sat, 2 Nov 2019 17:48:35 +0100 From: Miguel Arruga Vivas To: 38032@debbugs.gnu.org Subject: [PATCH 3/4] gnu: virt-manager: Update to 2.2.1. Message-ID: <20191102174835.7c17de7b@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/H+F1jbMUG7k.XA1s4caFQXM" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 38032 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --MP_/H+F1jbMUG7k.XA1s4caFQXM Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline Gtksourceview is a new dependency of virt-manager. The phase fix-qemu-img-reference replaces an absolute reference to /usr/bin/qemu-img and the other phases have been fixed to the new file names. --- * gnu/packages/virtualization.scm (virt-manager): Update to version 2.2.1. Point to the correct file in fix-setup and fix-default-uri phases. Add fix-qemu-img-reference phase. Add gtksourceview as an input. --- gnu/packages/virtualization.scm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) --MP_/H+F1jbMUG7k.XA1s4caFQXM Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0003-gnu-virt-manager-Update-to-2.2.1.patch >From e6a50f3353f685a77da1be643bc88b79df9d6d9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?= Date: Sat, 2 Nov 2019 00:45:48 +0100 Subject: [PATCH 3/4] gnu: virt-manager: Update to 2.2.1. * gnu/packages/virtualization.scm (virt-manager): Update to version 2.2.1. Point to the correct file in fix-setup and fix-default-uri phases. Add fix-qemu-img-reference phase. Add gtksourceview as an input. --- gnu/packages/virtualization.scm | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/gnu/packages/virtualization.scm b/gnu/packages/virtualization.scm index 19614b0ac3..f113eee5f7 100644 --- a/gnu/packages/virtualization.scm +++ b/gnu/packages/virtualization.scm @@ -577,7 +577,7 @@ virtualization library.") (define-public virt-manager (package (name "virt-manager") - (version "2.1.0") + (version "2.2.1") (source (origin (method url-fetch) (uri (string-append "https://virt-manager.org/download/sources" @@ -585,7 +585,7 @@ virtualization library.") version ".tar.gz")) (sha256 (base32 - "1m038kyngmxlgz91c7z8g73lb2wy0ajyah871a3g3wb5cnd0dsil")))) + "06ws0agxlip6p6n3n43knsnjyd91gqhh2dadgc33wl9lx1k8vn6g")))) (build-system python-build-system) (arguments `(#:use-setuptools? #f ; uses custom distutils 'install' command @@ -603,13 +603,19 @@ virtualization library.") (modify-phases %standard-phases (add-after 'unpack 'fix-setup (lambda* (#:key outputs #:allow-other-keys) - (substitute* "virtcli/cliconfig.py" + (substitute* "virtinst/buildconfig.py" (("/usr") (assoc-ref outputs "out"))) #t)) + (add-after 'unpack 'fix-qemu-img-reference + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "virtconv/formats.py" + (("/usr(/bin/qemu-img)" _ suffix) + (string-append (assoc-ref inputs "qemu") suffix))) + #t)) (add-after 'unpack 'fix-default-uri (lambda* (#:key inputs #:allow-other-keys) ;; Xen is not available for now - so only patch qemu. - (substitute* "virtManager/connect.py" + (substitute* "virtManager/createconn.py" (("/usr(/bin/qemu-system)" _ suffix) (string-append (assoc-ref inputs "qemu") suffix))) #t)) @@ -640,6 +646,7 @@ virtualization library.") `(("dconf" ,dconf) ("gtk+" ,gtk+) ("gtk-vnc" ,gtk-vnc) + ("gtksourceview" ,gtksourceview) ("libvirt" ,libvirt) ("libvirt-glib" ,libvirt-glib) ("libosinfo" ,libosinfo) -- 2.23.0 --MP_/H+F1jbMUG7k.XA1s4caFQXM-- From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 02 12:49:01 2019 Received: (at 38032) by debbugs.gnu.org; 2 Nov 2019 16:49:02 +0000 Received: from localhost ([127.0.0.1]:33008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQwaD-00072n-DW for submit@debbugs.gnu.org; Sat, 02 Nov 2019 12:49:01 -0400 Received: from mail-wm1-f45.google.com ([209.85.128.45]:35467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQwaB-00072Q-78 for 38032@debbugs.gnu.org; Sat, 02 Nov 2019 12:48:59 -0400 Received: by mail-wm1-f45.google.com with SMTP id 8so4942501wmo.0 for <38032@debbugs.gnu.org>; Sat, 02 Nov 2019 09:48:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version; bh=0ZxB9FNBLCr8iIRRxLGinF7S7D+6JOYfAFmRil4HPPc=; b=ekCfgL/QOJAGHq+9uGrmJNQ9fdluT71IitD6B8A/CWM2LURv2dQIaY2W0sVLK+5odh byZM4E1/goA24fvpN0YLswvCVbvejPncvv2d8bbuxHTMeIQs2tezZwFrSvLOGzuWTXV4 TpnV5TTH+qVmTzHR/9GzHU2K1qnCR0sweMHc8rzaGwA7U/39E27YW5lGgZhKpnIeRPzX ERG8Y78/Qw+iVZFKvGbPnVfKBxeuBtAFRGLlDYAXuGrt8ogH5wyHUop7PUhEHiwJzyf3 ATM+uWHW+VgMUYpWbWC++tM6ba2BPLnvsF2b1ZiOyvX/fgmHt+N9zrn7IlIoB5A36VSD /wvA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version; bh=0ZxB9FNBLCr8iIRRxLGinF7S7D+6JOYfAFmRil4HPPc=; b=q8qa18EIrZmP+m6z2liumQrnIjKhGRLRrKiqy7cHPb2JZJM+h+EwOgnJ1vhqmAry5B 07lGtxtitqDs3DrgRINprccbFkeKPixL6Svy1Lz+jsQdJ9mjxQh7bWLmaNqQyMG64jLm W/gISQtIT8YRyCgV/c58rQoJazRj+67A8dc8HUEoyAzrdR5ju3QC/PklKtxfLcfksWAv ceI/dXO6GY2gKkjNHLRGAkYKY7EIIQ0JkDFAjG9HqUSFk0Ji7JuWvuBqviChUN/OoiYY 3D/DvLN+PdopDFbDYoAqs3rbGFK0u8tcEFlhZHDJNiFaOulYCVDxQLei+iypoh0byS3g OidQ== X-Gm-Message-State: APjAAAV94d7jq/6q4Gb2PUw65w/9aYfUCk+62Seiajcer5LmFF9s8I+d ZQZ3o06xGqjterqErKOCI2+mC9T0VxU= X-Google-Smtp-Source: APXvYqxlazKKgtabg8yqbdDJQ8JWp0J69XBGNyNowU7nrcBGXtYUqbkNS4QuzUae6slcj3PV227Aaw== X-Received: by 2002:a1c:6588:: with SMTP id z130mr14297110wmb.87.1572713333289; Sat, 02 Nov 2019 09:48:53 -0700 (PDT) Received: from localhost (115.201.218.87.dynamic.jazztel.es. [87.218.201.115]) by smtp.gmail.com with ESMTPSA id v128sm15466568wmb.14.2019.11.02.09.48.52 for <38032@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Nov 2019 09:48:53 -0700 (PDT) Date: Sat, 2 Nov 2019 17:48:49 +0100 From: Miguel Arruga Vivas To: 38032@debbugs.gnu.org Subject: [PATCH 4/4] services: libvirtd: Provide ip binary at runtime. Message-ID: <20191102174849.1843b5db@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="MP_/Q_+MSRhDXxpmxqv/B0qoZJ/" X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 38032 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) --MP_/Q_+MSRhDXxpmxqv/B0qoZJ/ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline The log shows an error telling that the ip binary cannot be found, which is located in /sbin, not /bin. ---- * gnu/services/virtualization.scm (libvirt-shepherd-service): Add sbin to the PATH variable, as ip binary is installed there. --- gnu/services/virtualization.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) --MP_/Q_+MSRhDXxpmxqv/B0qoZJ/ Content-Type: text/x-patch Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=0004-services-libvirtd-Provide-ip-binary-at-runtime.patch >From c799150bb0e86baf4e0df51b780dc9c9141ec926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miguel=20=C3=81ngel=20Arruga=20Vivas?= Date: Sun, 27 Oct 2019 03:59:23 +0100 Subject: [PATCH 4/4] services: libvirtd: Provide ip binary at runtime. * gnu/services/virtualization.scm (libvirt-shepherd-service): Add sbin to the PATH variable, as ip binary is installed there. --- gnu/services/virtualization.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/services/virtualization.scm b/gnu/services/virtualization.scm index bc8ac9b40a..2cd4e5e89c 100644 --- a/gnu/services/virtualization.scm +++ b/gnu/services/virtualization.scm @@ -433,9 +433,11 @@ potential infinite waits blocking libvirt.")) (start #~(make-forkexec-constructor (list (string-append #$libvirt "/sbin/libvirtd") "-f" #$config-file) + ;; For finding qemu and ip binaries. #:environment-variables - ;; For finding qemu binaries. - '("PATH=/run/current-system/profile/bin"))) + (list (string-append + "PATH=/run/current-system/profile/bin:" + "/run/current-system/profile/sbin")))) (stop #~(make-kill-destructor)))))) (define libvirt-service-type -- 2.23.0 --MP_/Q_+MSRhDXxpmxqv/B0qoZJ/-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 05 09:14:48 2019 Received: (at 38032-done) by debbugs.gnu.org; 5 Nov 2019 14:14:48 +0000 Received: from localhost ([127.0.0.1]:38006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRzbb-0006t2-W8 for submit@debbugs.gnu.org; Tue, 05 Nov 2019 09:14:48 -0500 Received: from eggs.gnu.org ([209.51.188.92]:39053) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iRzbZ-0006sp-TZ for 38032-done@debbugs.gnu.org; Tue, 05 Nov 2019 09:14:46 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iRzbT-0007Fe-IM; Tue, 05 Nov 2019 09:14:39 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=53010 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iRzbS-00048v-Bh; Tue, 05 Nov 2019 09:14:39 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Miguel Arruga Vivas Subject: Re: [bug#38032] [PATCH 0/4] Update libvirt 5.8.0/virt-manager 2.2.1 References: <20191102174109.7a2264a7@gmail.com> Date: Tue, 05 Nov 2019 15:14:37 +0100 In-Reply-To: <20191102174109.7a2264a7@gmail.com> (Miguel Arruga Vivas's message of "Sat, 2 Nov 2019 17:41:09 +0100") Message-ID: <87h83i1kc2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 38032-done Cc: 38032-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Miguel, Miguel Arruga Vivas skribis: > Regarding issue http://issues.guix.gnu.org/issue/36634 (upstream bug > report https://bugzilla.redhat.com/show_bug.cgi?id=3D1760233 where the > patch inside the second patch can be found too) I've updated it to the > latest stable version available. The last one is a bugfix for the > missing ip binary in the path. I hope the update to 3.9.0 won't need > the patch, but let's see. Good. I=E2=80=99ve applied and pushed the whole patch series. Thank you! Ludo=E2=80=99. From unknown Mon Jun 23 23:49:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 04 Dec 2019 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator