From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id GN9OBSV5ZGCuKAEAgWs5BA (envelope-from ) for ; Wed, 31 Mar 2021 15:29:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id OF39OiR5ZGATJAAAB5/wlQ (envelope-from ) for ; Wed, 31 Mar 2021 13:29:08 +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 ADA6A21CBA for ; Wed, 31 Mar 2021 15:29:08 +0200 (CEST) Received: from localhost ([::1]:44350 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRauB-0001tP-TH for larch@yhetil.org; Wed, 31 Mar 2021 09:29:07 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lRau6-0001rU-Ui for guix-patches@gnu.org; Wed, 31 Mar 2021 09:29:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:42296) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lRau6-0003CV-NB for guix-patches@gnu.org; Wed, 31 Mar 2021 09:29:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lRau6-0002ns-JL for guix-patches@gnu.org; Wed, 31 Mar 2021 09:29:02 -0400 Subject: bug#47285: [PATCH 0/4] Update libvirt and friends. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Wed, 31 Mar 2021 13:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 47285 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Pierre Langlois Cc: 47285-done@debbugs.gnu.org Mail-Followup-To: 47285@debbugs.gnu.org, ludo@gnu.org, pierre.langlois@gmx.com Received: via spool by 47285-done@debbugs.gnu.org id=D47285.161719732810743 (code D ref 47285); Wed, 31 Mar 2021 13:29:02 +0000 Received: (at 47285-done) by debbugs.gnu.org; 31 Mar 2021 13:28:48 +0000 Received: from localhost ([127.0.0.1]:53841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRatr-0002nD-NX for submit@debbugs.gnu.org; Wed, 31 Mar 2021 09:28:48 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lRatp-0002mw-0a for 47285-done@debbugs.gnu.org; Wed, 31 Mar 2021 09:28:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59746) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lRatj-0002vQ-Hp; Wed, 31 Mar 2021 09:28:39 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=60456 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lRati-0007B0-W8; Wed, 31 Mar 2021 09:28:39 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87o8fdwmdn.fsf@gmx.com> Date: Wed, 31 Mar 2021 15:28:36 +0200 In-Reply-To: <87o8fdwmdn.fsf@gmx.com> (Pierre Langlois's message of "Sat, 20 Mar 2021 21:23:00 +0000") Message-ID: <87czvfa1vf.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: 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=1617197348; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=hcQvlEkzRls30K0hws35itvWwMkf1XyAy6vvTr/Bd6M=; b=PkzTmTH7IigX8UhbUvbhb4mFwHDOtXLxFlvVMxaxib10mE8pify9IXAeNsfe8bBSGopqbq kJXxlyDc10Ej7fJ1FEpygHirwwxFu3az+tkIePpuj9Qn0Tl1VerCmxCZ2jn7VB+CDj3Xwv SsuJKMRmXitw5zE9jSUrxngK1gMG1TP5ZH7tgEewhwisxxLRPwHbAZUfCCviMgXKoqUYAS e7GK60jR9gE+h6eJIKWK31sOXQnJH5S540sXYQL+ksT11/F7NqfyHjtkny3d3dVW27C2/r njkD7vpSXe1/PUffnMTOkkhqvOfVrGDeISuvpKDfta/Vl7g0aamItlBJBqlUfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617197348; a=rsa-sha256; cv=none; b=aDxLNzIwXRdxrQs8oKBRrqOwQbNP6cMfNZ7+wn/Qt9ba2oI1uBDCWYCuiqf5TDh5yOgn4p KTjthaRfgbqBr4SxGxu4TZY7gwsNrTKdiYWLfbhIsKCgqgFe+yYsOvgfTHv0wqhBR38XZK 7aP5kzvhgWFXfxpbBFmJwzDIWsax9AMKnlb/YEMeayZ0h+z4Cf7EK5n075k2VXqt3XaQ7a 8RJQbGeo8hvh9Fcgk8Kp3TYdQsIP1J+W4dhtOxv67hsIBljxNfCWHI+NAWranALbqH75fh 2WoSRfRKCfymk6zIceM+R82TQ+6BMNT8ecxKpeUIv4RD41CwCwMkIlwU+/qvsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; 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: ADA6A21CBA X-Spam-Score: -2.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: /Ji8nzqWex0+ Hi Pierre, Pierre Langlois skribis: > This is a patch series that updates libvirt to 7.1.0, now using the > meson build system, and then updates a few dependent packages as well. > > Getting libvirt to build and then work properly was quite tedious, given > that we have to build it so that the binaries refer to /etc and /var at > runtime, while we set the prefix to the package output. This was > relatively straight-forward with the old build system, but with meson I > ended up having to patch meson.build so that: > > - It allows for localstatedir to not be relative to the prefix. And > prevent it from trying to create empty directories in /var during > installation. > > - It allows installing configurations, in /gnu/...-libvirt-7.1.0/etc/, > but still refer to the system /etc at runtime. An alternative would > be to not do any of the installation steps for /etc files, but doing > that was more intrusive a change to the build system, and having > those configurations installed could be useful examples, or referred > to be services. > > Other than that, the rest is pretty straight-forward. I've tested this > using the libvirt service and virt-manager, making sure I could still > boot a VM. It's all working fine for me, although my use-case is quite > simple, just the defaults: > > (services (cons* > (service libvirt-service-type > (libvirt-configuration > (unix-sock-group "libvirt"))) > ...)) > > Let me know what you think and if that's good enough to apply! The > definition is a bit more hacky than I'd like, so any ideas to improve it > would be great. AFAICS it all works like a charm, including the system test :-), so I went ahead and applied the whole series. Thank you! Ludo=E2=80=99.