From nobody Sat May 18 22:31:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1671821823; cv=none; d=zohomail.com; s=zohoarc; b=k+Mj0Bi9iPuUFxIMUTwhwylO+kODU4jkw7ntEYGaRa/CYzzuhaNmmCWMGQis+clcGWf/x2Sp8ttk9PhrlFxv2tX4YyYgKltr6IGcq32t4VFHA6tfZe0oEDG20pcsN9XLFukgLGiLXmZsOB7Mn4aP8iwTUlXkPNi4X0pKIe2BYaE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671821823; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=A8SdnQ9pFgk+B27xD4N0YMizxcGdU3iUuZJpR/He5Sk=; b=W9/w/Yx8Be7KFCHp0XASdrgMAevYuo36V4zdTJAQApBfs0jgWCxipwHhAy5ZgBsG1oknHtqwVLZN/CVYq9NJm+qxM32ZFDOVyZoxNEe7RSRz7qjTvwdEP3MJchhfsuiaRHURsoH2XcqylxoJbUujbfgjIWwyAuLrxcaoeDrYrT8= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=quarantine dis=quarantine) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1671821823125501.2968496213675; Fri, 23 Dec 2022 10:57:03 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-110-yyJaIrWdPReX1nlkaJcHkg-1; Fri, 23 Dec 2022 13:56:27 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id DCB57800DBE; Fri, 23 Dec 2022 18:56:24 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8F37951FF; Fri, 23 Dec 2022 18:56:24 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 8492719465B5; Fri, 23 Dec 2022 18:56:24 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 48A3C19465B6 for ; Fri, 23 Dec 2022 18:56:17 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 3B978492C18; Fri, 23 Dec 2022 18:56:17 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 332CC492C14 for ; Fri, 23 Dec 2022 18:56:17 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1465C811E9C for ; Fri, 23 Dec 2022 18:56:17 +0000 (UTC) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2088.outbound.protection.outlook.com [40.107.20.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-46-J_KbrlAGOxiaHMvgJ-nF7g-2; Fri, 23 Dec 2022 13:56:15 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB8577.eurprd04.prod.outlook.com (2603:10a6:20b:424::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.14; Fri, 23 Dec 2022 18:56:12 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.012; Fri, 23 Dec 2022 18:56:12 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671821822; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=A8SdnQ9pFgk+B27xD4N0YMizxcGdU3iUuZJpR/He5Sk=; b=dBhrjIJJtGQaScmEtlVPWBiybMshMiJ8dHSKEqFmkqOCReUxbugKuHelsTpl+EnnOCten5 w8/GXdb6t5TozSEzaH4QVVxeAL6jk3fAqn51Stx27lPs5tAGsWVbk0lUA+W5shmHeNvxii n0ZmkEf8fjvhSgYbsW96TKRPa1dUww4= X-MC-Unique: yyJaIrWdPReX1nlkaJcHkg-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: J_KbrlAGOxiaHMvgJ-nF7g-2 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V5 01/11] spec: Move virtlockd to a new subpackage libvirt-daemon-lock Date: Fri, 23 Dec 2022 11:55:54 -0700 Message-ID: <20221223185604.6134-2-jfehlig@suse.com> In-Reply-To: <20221223185604.6134-1-jfehlig@suse.com> References: <20221223185604.6134-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0006.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1d::16) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB8577:EE_ X-MS-Office365-Filtering-Correlation-Id: ad5a74d1-948e-44ea-1d17-08dae5175c39 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: +GERdsl3LcAd3OGp1K1O/ygQZEflSccEGpneU/bNVApgy3WryiMFtdehux5/pm1IhHJ+MEGzT6ysnCghDPLKx6DJSHbO3yciiGrSYQJHq9iOoL9/fr8Vn4EF7RAqSFAdg00HrdLC1Jn4c/xOhaOK42aDry0pEZI6xHKYdFrX8SXOfrxYRx9hjgBNk1BxTL04VA1cNK3h7B49Xoq1hhIkIRoShJupCvVL+VARN2Srozki4N4D5Pis8NchvDalFCn5kvq8HCgQy34HaLSkDqplCQnvgelQWJhVH/+eR0NiTekgT63zWhII93l9C+tXOwVWxPq7kKdMAg3ynl8aOHxOPJNLgMVKrR9I3kVBgUzCCIvF4t3iBTU9Br3QUdnq7AY4sBMc80rkzxmKrC6z/yQ+//Jgqn8W4H46aiRVdP7VQ794ln4Bdg679eU+3+7m3z2lgG2TZ3WX8rsPrJo7uzhArb/ye9PcGwP3g9NWM3mvVLZRYJw4ZeFqdrlzubbGlLkpJ2qfQdKkTEHWg7lx6cgdV47sDDWqqix8NnRjE3qADHo1WmEEh+PIWHNoCUDRDMDV9bX5x5cygjmI0GiAUL5CDmsMmPw70dYuUG6gMgDTegfw11FyaiKbLsfeufSDI7iKzz7O1Aq9a/0IO1SvTB+yWw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB4899.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(39860400002)(346002)(136003)(366004)(376002)(451199015)(8936002)(4326008)(66556008)(8676002)(36756003)(66476007)(450100002)(41300700001)(66946007)(6916009)(54906003)(316002)(1076003)(83380400001)(38100700002)(478600001)(6486002)(2616005)(6666004)(26005)(186003)(6506007)(6512007)(86362001)(2906002)(5660300002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?vMGJijeltrq4WNu5h8APvutiFMx6o6UXZvNrWFgV84jcFAk8sgPNQMpUeMwL?= =?us-ascii?Q?/YGApLUV3q9Zd43S/UchjOFZZ7smy8P0suV6h75mNSaAlN3eVlh4zYN5a4+e?= =?us-ascii?Q?8qGe7psj57XeGJG0O83XD6nxF6eXScGjOOTwlnW0a4Tl5kk1i8S7PlqNGQ9C?= =?us-ascii?Q?0hXpSAKitfVpBV7PhZGOjqlI5yTqk46GSKMDcHdJdBL9veK0B8p4XXMUkrBE?= =?us-ascii?Q?nezlMHJpS4X8/H1h3HfOnkPL6cfiDTwWCWE0jNG+6F+vjHvOK4FymmyHEhwj?= =?us-ascii?Q?6NNCFnWz54o5i1VOqI7mbpGrgRwOV/Jdpn+/s75S9kVcLK+qOmHgT50Nt+48?= =?us-ascii?Q?7Pq7ANZ2C1OXTaSKlTKBacNsRjJ6Wd2YSE7QbHoj0fRDZUIjzxe65OJg9HY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pJqxGZh00KV8lSWQeanqftriU41?= =?us-ascii?Q?3qzBt9f06018Mw2j3THx+u3uvDnL0IhsvMcUrg6reAXdR95QK0hHa0SUJsnn?= =?us-ascii?Q?KPj5MWAziZJRyXEJ4ovpMeoR8mN0V04BZK5yj9tIvxcjzoPgYwWaLf5lmEli?= =?us-ascii?Q?QeIFMJOJBLEdLpiMu+H8s5gTlfaJw0CDqHS/KE3xZ5QOSfnjGUk0blPLAHMf?= =?us-ascii?Q?uYBLvEz8CqmCIQjLibYaB/KYSpPK21WXNjCBKDkCqVboKOz22zkQ7CDouI4t?= =?us-ascii?Q?X9xqL+xydHUEsuhLzhA=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: ad5a74d1-948e-44ea-1d17-08dae5175c39 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 18:56:12.3726 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: k9dI0IT+rgcNuDNNdvDZtcztrPMtw7CI8YCoz3ELXX8Z9O31BrhRyrEgJHYvth3/akqxSmvsFDDpFEZjlubnCA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8577 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1671821824604100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jim Fehlig Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- libvirt.spec.in | 61 +++++++++++++++++++++++++++++++++++-------------- 1 file changed, 44 insertions(+), 17 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 6b8acf252e..33398b2877 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -429,6 +429,7 @@ Summary: Server side daemon and supporting files for li= bvirt library =20 # The client side, i.e. shared libs are in a subpackage Requires: libvirt-libs =3D %{version}-%{release} +Requires: libvirt-daemon-lock =3D %{version}-%{release} # The libvirt-guests.sh script requires virsh from libvirt-client subpacka= ge, # but not every deployment wants to use libvirt-guests service. Using # Recommends here will install libvirt-client by default (if available), b= ut @@ -477,6 +478,14 @@ Server side daemon required to manage the virtualizati= on capabilities of recent versions of Linux. Requires a hypervisor specific sub-RPM for specific drivers. =20 +%package daemon-lock +Summary: Server side daemon for managing locks +Requires: libvirt-libs =3D %{version}-%{release} + +%description daemon-lock +Server side daemon used to manage locks held against virtual machine +resources + %package daemon-config-network Summary: Default configuration files for the libvirtd daemon =20 @@ -1392,7 +1401,7 @@ fi \ %define libvirt_daemon_systemd_preun_priv() %systemd_preun %1.service %1-a= dmin.socket %1.socket =20 %pre daemon -%libvirt_sysconfig_pre libvirtd virtproxyd virtlogd virtlockd libvirt-gues= ts +%libvirt_sysconfig_pre libvirtd virtproxyd virtlogd libvirt-guests # 'libvirt' group is just to allow password-less polkit access to # libvirtd. The uid number is irrelevant, so we use dynamic allocation # described at the above link. @@ -1401,7 +1410,6 @@ exit 0 =20 %post daemon %libvirt_daemon_systemd_post_priv virtlogd -%libvirt_daemon_systemd_post_priv virtlockd %if %{with_modular_daemons} %libvirt_daemon_systemd_post_inet virtproxyd %else @@ -1415,17 +1423,16 @@ exit 0 %libvirt_daemon_systemd_preun_inet libvirtd %libvirt_daemon_systemd_preun_inet virtproxyd %libvirt_daemon_systemd_preun_priv virtlogd -%libvirt_daemon_systemd_preun_priv virtlockd =20 %postun daemon /bin/systemctl daemon-reload >/dev/null 2>&1 || : if [ $1 -ge 1 ] ; then - /bin/systemctl reload-or-try-restart virtlockd.service virtlogd.servic= e >/dev/null 2>&1 || : + /bin/systemctl reload-or-try-restart virtlogd.service >/dev/null 2>&1 = || : fi %systemd_postun libvirt-guests.service =20 %posttrans daemon -%libvirt_sysconfig_posttrans libvirtd virtproxyd virtlogd virtlockd libvir= t-guests +%libvirt_sysconfig_posttrans libvirtd virtproxyd virtlogd libvirt-guests if test %libvirt_daemon_needs_restart libvirtd then # See if user has previously modified their install to @@ -1459,6 +1466,24 @@ then fi %libvirt_daemon_finish_restart libvirtd =20 +%pre daemon-lock +%libvirt_sysconfig_pre virtlockd + +%post daemon-lock +%libvirt_daemon_systemd_post_priv virtlockd + +%preun daemon-lock +%libvirt_daemon_systemd_preun_priv virtlockd + +%postun daemon-lock +/bin/systemctl daemon-reload >/dev/null 2>&1 || : +if [ $1 -ge 1 ] ; then + /bin/systemctl reload-or-try-restart virtlockd.service >/dev/null 2>&1= || : +fi + +%posttrans daemon-lock +%libvirt_sysconfig_posttrans virtlockd + %pre daemon-driver-network %libvirt_sysconfig_pre virtnetworkd =20 @@ -1740,14 +1765,10 @@ exit 0 %{_unitdir}/virtlogd.service %{_unitdir}/virtlogd.socket %{_unitdir}/virtlogd-admin.socket -%{_unitdir}/virtlockd.service -%{_unitdir}/virtlockd.socket -%{_unitdir}/virtlockd-admin.socket %{_unitdir}/libvirt-guests.service %config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf %config(noreplace) %{_sysconfdir}/libvirt/virtproxyd.conf %config(noreplace) %{_sysconfdir}/libvirt/virtlogd.conf -%config(noreplace) %{_sysconfdir}/libvirt/virtlockd.conf %config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf %config(noreplace) %{_prefix}/lib/sysctl.d/60-libvirtd.conf %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd @@ -1769,14 +1790,8 @@ exit 0 %{_datadir}/augeas/lenses/tests/test_libvirtd.aug %{_datadir}/augeas/lenses/virtlogd.aug %{_datadir}/augeas/lenses/tests/test_virtlogd.aug -%{_datadir}/augeas/lenses/virtlockd.aug -%{_datadir}/augeas/lenses/tests/test_virtlockd.aug %{_datadir}/augeas/lenses/virtproxyd.aug %{_datadir}/augeas/lenses/tests/test_virtproxyd.aug -%{_datadir}/augeas/lenses/libvirt_lockd.aug -%if %{with_qemu} -%{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug -%endif %{_datadir}/polkit-1/actions/org.libvirt.unix.policy %{_datadir}/polkit-1/actions/org.libvirt.api.policy %{_datadir}/polkit-1/rules.d/50-libvirt.rules @@ -1786,7 +1801,6 @@ exit 0 %attr(0755, root, root) %{_sbindir}/libvirtd %attr(0755, root, root) %{_sbindir}/virtproxyd %attr(0755, root, root) %{_sbindir}/virtlogd -%attr(0755, root, root) %{_sbindir}/virtlockd %attr(0755, root, root) %{_libexecdir}/libvirt-guests.sh %{_mandir}/man1/virt-admin.1* %{_mandir}/man1/virt-host-validate.1* @@ -1794,12 +1808,25 @@ exit 0 %{_mandir}/man8/libvirt-guests.8* %{_mandir}/man8/libvirtd.8* %{_mandir}/man8/virtlogd.8* -%{_mandir}/man8/virtlockd.8* %{_mandir}/man8/virtproxyd.8* %{_bindir}/virt-host-validate %{_bindir}/virt-admin %{_datadir}/bash-completion/completions/virt-admin =20 +%files daemon-lock +%{_unitdir}/virtlockd.service +%{_unitdir}/virtlockd.socket +%{_unitdir}/virtlockd-admin.socket +%config(noreplace) %{_sysconfdir}/libvirt/virtlockd.conf +%{_datadir}/augeas/lenses/virtlockd.aug +%{_datadir}/augeas/lenses/tests/test_virtlockd.aug +%{_datadir}/augeas/lenses/libvirt_lockd.aug +%if %{with_qemu} +%{_datadir}/augeas/lenses/tests/test_libvirt_lockd.aug +%endif +%attr(0755, root, root) %{_sbindir}/virtlockd +%{_mandir}/man8/virtlockd.8* + %files daemon-config-network %dir %{_datadir}/libvirt/networks/ %{_datadir}/libvirt/networks/default.xml --=20 2.38.1 From nobody Sat May 18 22:31:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1671821791; cv=none; d=zohomail.com; s=zohoarc; b=aC6yvt5G4gHSaSjY4eEWyWY9HwS6HG9t2EfzOiPCWCpEPtDyGcHaWtvi4DjPuVZatTHd+DsDkTn8uKSKq+9rENKKU0X56aTeXfF5Df3nhbKvNSYK3b1W5M57D7Vs+BzVDlJjny74Qvzhs9vxJW1ewltMtNE1S7lnqgvMQOxPSpI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671821791; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=P8i/WzWlBQryK1L6hvGX4RPDyb28nT5clrFCUrcwEXk=; b=SY5bvuxcAUXT7eAvBDv50oHPixAiqc+XPUHIrnXrjoEw6+K9ZVF4syNgTH8zT67Eh4rClCNn3lW3ZWTwSXBCLzPoFBQtJPhDvtzYmLglUGjbjiS7WLaQzdg5U5re+QZbwLxzuBu9VPoYfp3yjVhjLZ2A3xtOmFAN4QTXdm+c9CU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=quarantine dis=quarantine) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1671821791049712.3256150952748; Fri, 23 Dec 2022 10:56:31 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-510-SD_WCrntOlu0WBq3n3vxgg-1; Fri, 23 Dec 2022 13:56:28 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 79098100F91A; Fri, 23 Dec 2022 18:56:26 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6261453AA; Fri, 23 Dec 2022 18:56:26 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 4681B19465B5; Fri, 23 Dec 2022 18:56:26 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id DC2C219465B1 for ; Fri, 23 Dec 2022 18:56:19 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id CAAF5492B02; Fri, 23 Dec 2022 18:56:19 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C1656492B00 for ; Fri, 23 Dec 2022 18:56:19 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A06F5101A55E for ; Fri, 23 Dec 2022 18:56:19 +0000 (UTC) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2073.outbound.protection.outlook.com [40.107.20.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-397-9kZ1dPxlM12NqgfIUjOE8A-1; Fri, 23 Dec 2022 13:56:17 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB8577.eurprd04.prod.outlook.com (2603:10a6:20b:424::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.14; Fri, 23 Dec 2022 18:56:16 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.012; Fri, 23 Dec 2022 18:56:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671821790; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=P8i/WzWlBQryK1L6hvGX4RPDyb28nT5clrFCUrcwEXk=; b=dKBpwbSupVqNu+7kLXDJ2Te8jimG/Nt7tlybGdYLHpOVSR9D61+c13lt5rEW+LQYDzo+qw z90bGkwXZ8fA7bQz3I0ep43fUd3BhK+rf/Pv1p2Ug7Yw8jRXktzjlib7Bbg6f38ZBWOish xwSX63o3+bHWhHKSATgrBmFqBcP9tAU= X-MC-Unique: SD_WCrntOlu0WBq3n3vxgg-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: 9kZ1dPxlM12NqgfIUjOE8A-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V5 02/11] spec: Move virtlogd to a new subpackage libvirt-daemon-log Date: Fri, 23 Dec 2022 11:55:55 -0700 Message-ID: <20221223185604.6134-3-jfehlig@suse.com> In-Reply-To: <20221223185604.6134-1-jfehlig@suse.com> References: <20221223185604.6134-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0008.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1d::14) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB8577:EE_ X-MS-Office365-Filtering-Correlation-Id: 19b8cb9b-3650-475c-6fb1-08dae5175e5d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: 4fSVYH7NiREF2w9atDnan2XWSR1TabJYW2pGvdnQG+B0KQLSNbwNRJHjJLi4RPWzR82lnwTDEC384GOxtL+nJ8Y8jrf43I1g6/vf9RJKYxSGeeWEa+3H+nBvx+hib6KoWZa/dQoklkkjOQkug6RwmDDSR9+Qdk3qw8NIs5bfOyBYxvTQyiqoiq90JTH0xUowQLq02aIrmg/YoV8YghSb40LGwwYAITI1x/OhWECpfWO3r4hSHcbO+suXpY3mkPzSm4u8bYm1nAVlu2d6H3DfO/SUdsjSc7mAHecE1Y4qbN1bbPrzraQEtY2T2uAHNDecNxk+EcSNU+OmpYCr5/zi7I1uVNjnzkmsYOlFGxdddEewUjlPAj02zCcPmH9GWwnU01ebhkpJlhUpsI2UDGFxIwFz4BpR/dlH+LREn5XeUmOg4u3rBbGZ+gOvdGnTi3k8XlbmbCDZZVkKKiznVAtCY18vXvsI4jQ1u6+Qhd1t/4gCztBdDtTjNJUO9orwbng+cbom04kF7cMpF8VO8e06zSmC8X+6ehVPKMUvcgq8UlIh4Hu/ZGuSjg07bdufoxTbsRGK8foJbPeZ4IsdEk4C9AVKH6jRS90r/pb1q7qMz45/nuYumPLdzHMOkB7PgF4tw+g4j29bBNtD1k/dMoK5GQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB4899.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(39860400002)(346002)(136003)(366004)(376002)(451199015)(8936002)(4326008)(66556008)(8676002)(36756003)(66476007)(450100002)(41300700001)(66946007)(6916009)(54906003)(316002)(1076003)(83380400001)(38100700002)(478600001)(6486002)(2616005)(6666004)(26005)(186003)(6506007)(6512007)(86362001)(2906002)(5660300002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?pGadhgolAOI69gFl7yocLWwsEnQX0Vo/iAyZuIE4padRUF3aGPluMMGkfDMC?= =?us-ascii?Q?3ivNL7LMbLXFvuY9dGd6IocvinS21im7JDcV1wEUdZ9o+BDrfuD1Pa/Zt44c?= =?us-ascii?Q?ZY4MTN1UVEI0UIc5t/wuFb6EwrO0QeLD6CSaoW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2xNJs/2QZfESB3RrXvWE7sRHX1sVv4FQGRcexr1oeDzFWdaYELKEhm3Jw?= =?us-ascii?Q?yossyOTUb/1gnrxWJ/0qXyTYLF8nJjMoYcZcQQW8U8cf29xrktAJrGURWvKM?= =?us-ascii?Q?JLhfNpyhDFrkyjmx67XeEReYRrGYfGqOrZ7UyM+ag7RpOPDXObT7aM+gmsaC?= =?us-ascii?Q?+C5cKs+tVILOIa/M7Q6c5X8zS5e7BPsGxLzGo2m8MCWBC8jMI9c/LO+NSZTv?= =?us-ascii?Q?MmPKVCK/xWEbpY9xbDtxOhkEefsYtmX3t3zKqyqg/PykIGBsFvNC/81nH6eT?= =?us-ascii?Q?j2tSJXXzbtzLZHHiJDpcOlhfcXm9Iqhu5aw6JExAgjXD5h672a9mPIyraetc?= =?us-ascii?Q?4fH/CR9c/PAlffMT1D/c+DiXyaUOo/bTZgS91M6yDq8gBK6p/viH9SvJ7bby?= =?us-ascii?Q?BlIi/EY8JMZ1oB/lFFRunMS+6Tjlk9bMO6SDCpM/0eFWv0WN8NEuIoEwkUHB?= =?us-ascii?Q?qZ2LyC3Dz1LxzTB+MkSh8/YQzTvnhZBFxxWH2AO3RVwsM+ky8RI1pd9P7dkg?= =?us-ascii?Q?hUyMdQbkIVfnc9bWaO4=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 19b8cb9b-3650-475c-6fb1-08dae5175e5d X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 18:56:15.9974 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 5kNaCG+uIEH9cmNS0xtYdrpXF72gJ68Hb40F4IyqkGpLBp5P4S1yslFFW4HVWZtofJUV9FTkNDkFshFyw4xhDQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8577 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1671821792580100003 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jim Fehlig Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- libvirt.spec.in | 53 +++++++++++++++++++++++++++++++++++-------------- 1 file changed, 38 insertions(+), 15 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 33398b2877..d303cac9df 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -430,6 +430,7 @@ Summary: Server side daemon and supporting files for li= bvirt library # The client side, i.e. shared libs are in a subpackage Requires: libvirt-libs =3D %{version}-%{release} Requires: libvirt-daemon-lock =3D %{version}-%{release} +Requires: libvirt-daemon-log =3D %{version}-%{release} # The libvirt-guests.sh script requires virsh from libvirt-client subpacka= ge, # but not every deployment wants to use libvirt-guests service. Using # Recommends here will install libvirt-client by default (if available), b= ut @@ -486,6 +487,13 @@ Requires: libvirt-libs =3D %{version}-%{release} Server side daemon used to manage locks held against virtual machine resources =20 +%package daemon-log +Summary: Server side daemon for managing logs +Requires: libvirt-libs =3D %{version}-%{release} + +%description daemon-log +Server side daemon used to manage logs from virtual machine consoles + %package daemon-config-network Summary: Default configuration files for the libvirtd daemon =20 @@ -1401,7 +1409,7 @@ fi \ %define libvirt_daemon_systemd_preun_priv() %systemd_preun %1.service %1-a= dmin.socket %1.socket =20 %pre daemon -%libvirt_sysconfig_pre libvirtd virtproxyd virtlogd libvirt-guests +%libvirt_sysconfig_pre libvirtd virtproxyd libvirt-guests # 'libvirt' group is just to allow password-less polkit access to # libvirtd. The uid number is irrelevant, so we use dynamic allocation # described at the above link. @@ -1409,7 +1417,6 @@ getent group libvirt >/dev/null || groupadd -r libvirt exit 0 =20 %post daemon -%libvirt_daemon_systemd_post_priv virtlogd %if %{with_modular_daemons} %libvirt_daemon_systemd_post_inet virtproxyd %else @@ -1422,17 +1429,13 @@ exit 0 %systemd_preun libvirt-guests.service %libvirt_daemon_systemd_preun_inet libvirtd %libvirt_daemon_systemd_preun_inet virtproxyd -%libvirt_daemon_systemd_preun_priv virtlogd =20 %postun daemon /bin/systemctl daemon-reload >/dev/null 2>&1 || : -if [ $1 -ge 1 ] ; then - /bin/systemctl reload-or-try-restart virtlogd.service >/dev/null 2>&1 = || : -fi %systemd_postun libvirt-guests.service =20 %posttrans daemon -%libvirt_sysconfig_posttrans libvirtd virtproxyd virtlogd libvirt-guests +%libvirt_sysconfig_posttrans libvirtd virtproxyd libvirt-guests if test %libvirt_daemon_needs_restart libvirtd then # See if user has previously modified their install to @@ -1484,6 +1487,24 @@ fi %posttrans daemon-lock %libvirt_sysconfig_posttrans virtlockd =20 +%pre daemon-log +%libvirt_sysconfig_pre virtlogd + +%post daemon-log +%libvirt_daemon_systemd_post_priv virtlogd + +%preun daemon-log +%libvirt_daemon_systemd_preun_priv virtlogd + +%postun daemon-log +/bin/systemctl daemon-reload >/dev/null 2>&1 || : +if [ $1 -ge 1 ] ; then + /bin/systemctl reload-or-try-restart virtlogd.service >/dev/null 2>&1 = || : +fi + +%posttrans daemon-log +%libvirt_sysconfig_posttrans virtlogd + %pre daemon-driver-network %libvirt_sysconfig_pre virtnetworkd =20 @@ -1762,13 +1783,9 @@ exit 0 %{_unitdir}/virtproxyd-tcp.socket %{_unitdir}/virtproxyd-tls.socket %{_unitdir}/virt-guest-shutdown.target -%{_unitdir}/virtlogd.service -%{_unitdir}/virtlogd.socket -%{_unitdir}/virtlogd-admin.socket %{_unitdir}/libvirt-guests.service %config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf %config(noreplace) %{_sysconfdir}/libvirt/virtproxyd.conf -%config(noreplace) %{_sysconfdir}/libvirt/virtlogd.conf %config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf %config(noreplace) %{_prefix}/lib/sysctl.d/60-libvirtd.conf %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd @@ -1788,8 +1805,6 @@ exit 0 %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/lockd.so %{_datadir}/augeas/lenses/libvirtd.aug %{_datadir}/augeas/lenses/tests/test_libvirtd.aug -%{_datadir}/augeas/lenses/virtlogd.aug -%{_datadir}/augeas/lenses/tests/test_virtlogd.aug %{_datadir}/augeas/lenses/virtproxyd.aug %{_datadir}/augeas/lenses/tests/test_virtproxyd.aug %{_datadir}/polkit-1/actions/org.libvirt.unix.policy @@ -1800,14 +1815,12 @@ exit 0 %attr(0755, root, root) %{_bindir}/virt-ssh-helper %attr(0755, root, root) %{_sbindir}/libvirtd %attr(0755, root, root) %{_sbindir}/virtproxyd -%attr(0755, root, root) %{_sbindir}/virtlogd %attr(0755, root, root) %{_libexecdir}/libvirt-guests.sh %{_mandir}/man1/virt-admin.1* %{_mandir}/man1/virt-host-validate.1* %{_mandir}/man8/virt-ssh-helper.8* %{_mandir}/man8/libvirt-guests.8* %{_mandir}/man8/libvirtd.8* -%{_mandir}/man8/virtlogd.8* %{_mandir}/man8/virtproxyd.8* %{_bindir}/virt-host-validate %{_bindir}/virt-admin @@ -1827,6 +1840,16 @@ exit 0 %attr(0755, root, root) %{_sbindir}/virtlockd %{_mandir}/man8/virtlockd.8* =20 +%files daemon-log +%{_unitdir}/virtlogd.service +%{_unitdir}/virtlogd.socket +%{_unitdir}/virtlogd-admin.socket +%config(noreplace) %{_sysconfdir}/libvirt/virtlogd.conf +%{_datadir}/augeas/lenses/virtlogd.aug +%{_datadir}/augeas/lenses/tests/test_virtlogd.aug +%attr(0755, root, root) %{_sbindir}/virtlogd +%{_mandir}/man8/virtlogd.8* + %files daemon-config-network %dir %{_datadir}/libvirt/networks/ %{_datadir}/libvirt/networks/default.xml --=20 2.38.1 From nobody Sat May 18 22:31:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1671821792; cv=none; d=zohomail.com; s=zohoarc; b=M3p1IMaojz8Oj/DM/UNm1nNHAHyU3OrUTFW7osGOIP47+x2OJB5BylsdCHvF+TJSg+/f0TOaME3DVAZtl/PQYpLoTT3xeNkwZc4Jgwo6FOcfA/f5lrwSoAJVlTUZ64wumKL0oIhKDRuc/vha0y8hmK/yhTYaeS8EmlS/Dvgq1iY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671821792; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=9kohsNCns+Uhvl8t3R4sRZxWlziKdqY3NR78AQlCtO4=; b=NCBptRJ/6WQBU/SnGngq50oViPTFsZtLlfDluvcDjCCVMQ2Z+9i87Pu2qgJyCJ31CuuLhsLSMRcwqd7qCXJYRV2dtXwC+uct+1K5E4IEbXTB2704e4Z8WnzitIS9j1l8mJiqD6E/+tFeE/usYEqqFlsfWqe6QX6YFqGOYwoLsQk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=quarantine dis=quarantine) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1671821792483753.9068072306153; Fri, 23 Dec 2022 10:56:32 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-359-dGn3LT4nNait1GXROrvunQ-1; Fri, 23 Dec 2022 13:56:29 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EA24518E0929; Fri, 23 Dec 2022 18:56:25 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id D35E140C2064; Fri, 23 Dec 2022 18:56:25 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id C6F9A19465B3; Fri, 23 Dec 2022 18:56:25 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id DA64419465B5 for ; Fri, 23 Dec 2022 18:56:23 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id CE1642026D2B; Fri, 23 Dec 2022 18:56:23 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C5E362026D2A for ; Fri, 23 Dec 2022 18:56:23 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 91EBA811E6E for ; Fri, 23 Dec 2022 18:56:23 +0000 (UTC) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2048.outbound.protection.outlook.com [40.107.20.48]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-363-S2nDBK-VPBapB5xnz6YAhA-1; Fri, 23 Dec 2022 13:56:21 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB8577.eurprd04.prod.outlook.com (2603:10a6:20b:424::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.14; Fri, 23 Dec 2022 18:56:19 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.012; Fri, 23 Dec 2022 18:56:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671821791; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=9kohsNCns+Uhvl8t3R4sRZxWlziKdqY3NR78AQlCtO4=; b=RuVEV4DIlawQZzX2G2J3YChzw0JJ2ktzUVTiHEcCtjmkL2mN6IYQQ1TmB44K6GCPGAT2KA 2DjI6e+T7Q7QezCeRYM7p9J2GwxH+V0wENE44jcSLmQzgAVGAELdTPX+YaZNEMnjx1xlLn 7gR2j8duldW6OHTvqPJNhV6iZK81uLI= X-MC-Unique: dGn3LT4nNait1GXROrvunQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: S2nDBK-VPBapB5xnz6YAhA-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V5 03/11] spec: Move virtproxyd to a new subpackage libvirt-daemon-proxy Date: Fri, 23 Dec 2022 11:55:56 -0700 Message-ID: <20221223185604.6134-4-jfehlig@suse.com> In-Reply-To: <20221223185604.6134-1-jfehlig@suse.com> References: <20221223185604.6134-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0007.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1d::6) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB8577:EE_ X-MS-Office365-Filtering-Correlation-Id: 5da1d082-fd78-46c2-5e06-08dae517609e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: 01NqFxBxDS9nUNWsJqiGJw0oSwy/yp/Li/lkSMIa6HZpGP0GC8YWw2E2fwXxeTNU3PEaFZPV79TyjTdwnShFoHyCGnKwVlB+ozSnblfAcApAs0vgcwYl/zyrDpGq1OKGywck5qNQoL1F2FHUBCUF14BQCcyn5XDvOetFPcBFjsr/ggvVVYHGVngLCWphlnWn4o8T0e8dR7xtROFAFuGVVT2KsqJ7EblvIgA7dWQg1+AiPlyzT7Xl1Q7GXA1HfxnFNm2gdPANXtvnFGi9Wkgasw/g0Tv6tdWr6jd9chUw3PT1fVywJjpaywqytVqN7pS5uqXWsiDS7KP57uqa+vinj5Nm0uHpE3jf/U6gRMzH4bT3JjP2urNEkjQKR3J9p1JaOEdzYPX6y+m/mrnlBdwLOR0z4z55MWEd56MDXzjvJLu8J4bKoYaMt2wczdl7CqIjocmLt5+aMZHS3LZvrVjUncq+M9Dn0h+FqzUyIC588nQc1iWLeTeNflenF9fYXdQyTCCpcnBtVxLef/u+M3gHwWmrcJoSf55Y/C0TJht5wKGY3OP1PKzNgsqtuIODgk1uieuO/b5+9V0BH4xQfa58KoTy1pyj/d6UpAJUM0N6oxJ22tcYlKOTaT9v7NtEHVPdKWBtmr7O+v50hbIHUyE9fg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB4899.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(39860400002)(346002)(136003)(366004)(376002)(451199015)(8936002)(4326008)(66556008)(8676002)(36756003)(66476007)(450100002)(41300700001)(66946007)(6916009)(54906003)(316002)(1076003)(83380400001)(38100700002)(478600001)(6486002)(2616005)(6666004)(26005)(186003)(6506007)(6512007)(86362001)(2906002)(5660300002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?jdUIJTJzSY7Hg9tcMF40S9yDPExWUnJ5A6pNWWM64r/JZ/D2MEgbV/ww6ws5?= =?us-ascii?Q?wPt5uPNnhq+tcsb/LqDOjUhcjlXvODao6ajcEg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Q?8/aSkBYidfTUK8Ei/APHj8SCeqDv1PQmJg54IcXnz30c3FhULtk6CG+9tSWR?= =?us-ascii?Q?Piu+MbW5oGsbqTNevyQ7zom3CPYWAo+BvfnKEjREA+rB5YpVZRUnmx0NUQJr?= =?us-ascii?Q?x79aA/O8EtQ1PRRVESFJspyeVC6/MSzrnLW+vPb+rXKF0E5OccWDTG8JFKxS?= =?us-ascii?Q?z7Al1+R6kl7M+SGBT0Zf+oNjIzStJn39y0NuYjETQfjZzXMzEiq6tLSldKxG?= =?us-ascii?Q?F6U7LYXQuxQzM27Q/SHUMVNPMcsGkxyXiXWKQLM4qwDZUwnswD9yZFEAqmy9?= =?us-ascii?Q?UHZ23YItUJpbALsTOpUK+gV+GeAt9TzOa6mhg/CgnqXO3mBkrB+GX5XSJJB6?= =?us-ascii?Q?9ZRnY0krCqK4ZHHODYKkukighH1jh2/hidsKBrAxXYv8UwGZ2dfj3WeVoywD?= =?us-ascii?Q?+6GaagWXHHN7JrEFf5LOorUf4HhMm1/nXQ3T2jdcXEsi+mEOm2KYqWYN/nYY?= =?us-ascii?Q?DD98qy/+0hnJW2IwHcNO3YRrtVE8L1sEGw08G/S0MCGENZ7gbKcF9siyG5Uh?= =?us-ascii?Q?YdXpQUEITrFK+oG3epHJvU9lXyNwaNui2wTL7mFrmgiXVbCUnY3ok8iGkwn6?= =?us-ascii?Q?fQBIR/GvVPQyFhCnX5o=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5da1d082-fd78-46c2-5e06-08dae517609e X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 18:56:19.7627 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: u1Zw+RrPtz2hjBJGjTatvzUMyLi+L5zM0u7tyxnqVnQL0eE8fdVQG98KYvLTEJjPkR1tIvaNJs/1+3Uv6tDkbA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8577 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1671821794490100005 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jim Fehlig Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- libvirt.spec.in | 68 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 45 insertions(+), 23 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index d303cac9df..a2bc591333 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -431,17 +431,12 @@ Summary: Server side daemon and supporting files for = libvirt library Requires: libvirt-libs =3D %{version}-%{release} Requires: libvirt-daemon-lock =3D %{version}-%{release} Requires: libvirt-daemon-log =3D %{version}-%{release} +Requires: libvirt-daemon-proxy =3D %{version}-%{release} # The libvirt-guests.sh script requires virsh from libvirt-client subpacka= ge, # but not every deployment wants to use libvirt-guests service. Using # Recommends here will install libvirt-client by default (if available), b= ut # RPM won't complain if the package is unavailable, masked, or removed lat= er. Recommends: libvirt-client =3D %{version}-%{release} -# netcat is needed on the server side so that clients that have -# libvirt < 6.9.0 can connect, but newer versions will prefer -# virt-ssh-helper. Making this a Recommends means that it gets -# installed by default, but can still be removed if compatibility -# with old clients is not required -Recommends: /usr/bin/nc # for modprobe of pci devices Requires: module-init-tools # for /sbin/ip @@ -494,6 +489,20 @@ Requires: libvirt-libs =3D %{version}-%{release} %description daemon-log Server side daemon used to manage logs from virtual machine consoles =20 +%package daemon-proxy +Summary: Server side daemon providing libvirtd proxy +Requires: libvirt-libs =3D %{version}-%{release} +# netcat is needed on the server side so that clients that have +# libvirt < 6.9.0 can connect, but newer versions will prefer +# virt-ssh-helper. Making this a Recommends means that it gets +# installed by default, but can still be removed if compatibility +# with old clients is not required +Recommends: /usr/bin/nc + +%description daemon-proxy +Server side daemon providing functionality previously provided by +the monolithic libvirtd + %package daemon-config-network Summary: Default configuration files for the libvirtd daemon =20 @@ -1409,7 +1418,7 @@ fi \ %define libvirt_daemon_systemd_preun_priv() %systemd_preun %1.service %1-a= dmin.socket %1.socket =20 %pre daemon -%libvirt_sysconfig_pre libvirtd virtproxyd libvirt-guests +%libvirt_sysconfig_pre libvirtd libvirt-guests # 'libvirt' group is just to allow password-less polkit access to # libvirtd. The uid number is irrelevant, so we use dynamic allocation # described at the above link. @@ -1417,9 +1426,7 @@ getent group libvirt >/dev/null || groupadd -r libvirt exit 0 =20 %post daemon -%if %{with_modular_daemons} -%libvirt_daemon_systemd_post_inet virtproxyd -%else +%if ! %{with_modular_daemons} %libvirt_daemon_systemd_post_inet libvirtd %endif %systemd_post libvirt-guests.service @@ -1428,14 +1435,13 @@ exit 0 %preun daemon %systemd_preun libvirt-guests.service %libvirt_daemon_systemd_preun_inet libvirtd -%libvirt_daemon_systemd_preun_inet virtproxyd =20 %postun daemon /bin/systemctl daemon-reload >/dev/null 2>&1 || : %systemd_postun libvirt-guests.service =20 %posttrans daemon -%libvirt_sysconfig_posttrans libvirtd virtproxyd libvirt-guests +%libvirt_sysconfig_posttrans libvirtd libvirt-guests if test %libvirt_daemon_needs_restart libvirtd then # See if user has previously modified their install to @@ -1505,6 +1511,20 @@ fi %posttrans daemon-log %libvirt_sysconfig_posttrans virtlogd =20 +%pre daemon-proxy +%libvirt_sysconfig_pre virtproxyd + +%post daemon-proxy +%if %{with_modular_daemons} +%libvirt_daemon_systemd_post_inet virtproxyd +%endif + +%preun daemon-proxy +%libvirt_daemon_systemd_preun_inet virtproxyd + +%posttrans daemon-proxy +%libvirt_sysconfig_posttrans virtproxyd + %pre daemon-driver-network %libvirt_sysconfig_pre virtnetworkd =20 @@ -1776,16 +1796,9 @@ exit 0 %{_unitdir}/libvirtd-admin.socket %{_unitdir}/libvirtd-tcp.socket %{_unitdir}/libvirtd-tls.socket -%{_unitdir}/virtproxyd.service -%{_unitdir}/virtproxyd.socket -%{_unitdir}/virtproxyd-ro.socket -%{_unitdir}/virtproxyd-admin.socket -%{_unitdir}/virtproxyd-tcp.socket -%{_unitdir}/virtproxyd-tls.socket %{_unitdir}/virt-guest-shutdown.target %{_unitdir}/libvirt-guests.service %config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf -%config(noreplace) %{_sysconfdir}/libvirt/virtproxyd.conf %config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf %config(noreplace) %{_prefix}/lib/sysctl.d/60-libvirtd.conf %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd @@ -1805,8 +1818,6 @@ exit 0 %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/lockd.so %{_datadir}/augeas/lenses/libvirtd.aug %{_datadir}/augeas/lenses/tests/test_libvirtd.aug -%{_datadir}/augeas/lenses/virtproxyd.aug -%{_datadir}/augeas/lenses/tests/test_virtproxyd.aug %{_datadir}/polkit-1/actions/org.libvirt.unix.policy %{_datadir}/polkit-1/actions/org.libvirt.api.policy %{_datadir}/polkit-1/rules.d/50-libvirt.rules @@ -1814,14 +1825,12 @@ exit 0 %attr(0755, root, root) %{_libexecdir}/libvirt_iohelper %attr(0755, root, root) %{_bindir}/virt-ssh-helper %attr(0755, root, root) %{_sbindir}/libvirtd -%attr(0755, root, root) %{_sbindir}/virtproxyd %attr(0755, root, root) %{_libexecdir}/libvirt-guests.sh %{_mandir}/man1/virt-admin.1* %{_mandir}/man1/virt-host-validate.1* %{_mandir}/man8/virt-ssh-helper.8* %{_mandir}/man8/libvirt-guests.8* %{_mandir}/man8/libvirtd.8* -%{_mandir}/man8/virtproxyd.8* %{_bindir}/virt-host-validate %{_bindir}/virt-admin %{_datadir}/bash-completion/completions/virt-admin @@ -1850,6 +1859,19 @@ exit 0 %attr(0755, root, root) %{_sbindir}/virtlogd %{_mandir}/man8/virtlogd.8* =20 +%files daemon-proxy +%{_unitdir}/virtproxyd.service +%{_unitdir}/virtproxyd.socket +%{_unitdir}/virtproxyd-ro.socket +%{_unitdir}/virtproxyd-admin.socket +%{_unitdir}/virtproxyd-tcp.socket +%{_unitdir}/virtproxyd-tls.socket +%config(noreplace) %{_sysconfdir}/libvirt/virtproxyd.conf +%{_datadir}/augeas/lenses/virtproxyd.aug +%{_datadir}/augeas/lenses/tests/test_virtproxyd.aug +%attr(0755, root, root) %{_sbindir}/virtproxyd +%{_mandir}/man8/virtproxyd.8* + %files daemon-config-network %dir %{_datadir}/libvirt/networks/ %{_datadir}/libvirt/networks/default.xml --=20 2.38.1 From nobody Sat May 18 22:31:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1671821800; cv=none; d=zohomail.com; s=zohoarc; b=Q6tGK+Rco+Ul/cdVN9Mn4Dbb6xsAORWxi5sjuvpI8//3RDORwscCvKAP/1GSxKkFcqDb/d4LMmc94c0tRmxj4lFv/xLahJgdldeoklRkWq8WCYJs2aJ+MPRwV4aTh9z17a1A5Z0aqct1qRAX+c2n2bM4zfV0rDJcf6ZLZwUQqG8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671821800; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=+3IyWZMHROF416lUAW+n7w+8NKLNxygVxRGEy1NqGT8=; b=d6g4CU1AuI+WcereRI0apfjYy9et2XykZW6mKsP8QXQboWP8fyZG61/H6uV5JNVbKXdAfVtNtNmpH71WZnIEiDg8gg8AhiILgLDjOF9oapMlTp5bg5S10y9C6piaTV70OkA4Q+MaXp+jEbJ3fARoF3rxxcyK0QNjTlExtunUgTo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=quarantine dis=quarantine) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1671821800419947.0779857498255; Fri, 23 Dec 2022 10:56:40 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-591-e0dDGlqMOXarLoV_0MY_PQ-1; Fri, 23 Dec 2022 13:56:35 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 46E94811E6E; Fri, 23 Dec 2022 18:56:29 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 30AC951FF; Fri, 23 Dec 2022 18:56:29 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 11D4919465B3; Fri, 23 Dec 2022 18:56:29 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id D81F619465B1 for ; Fri, 23 Dec 2022 18:56:27 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id BD8C3492C18; Fri, 23 Dec 2022 18:56:27 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast09.extmail.prod.ext.rdu2.redhat.com [10.11.55.25]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B60C8492C14 for ; Fri, 23 Dec 2022 18:56:27 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9026B2802BB4 for ; Fri, 23 Dec 2022 18:56:27 +0000 (UTC) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2042.outbound.protection.outlook.com [40.107.20.42]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-277-03wdoi1iO3iSpeRw4ER-tA-1; Fri, 23 Dec 2022 13:56:25 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB8577.eurprd04.prod.outlook.com (2603:10a6:20b:424::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.14; Fri, 23 Dec 2022 18:56:23 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.012; Fri, 23 Dec 2022 18:56:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671821799; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=+3IyWZMHROF416lUAW+n7w+8NKLNxygVxRGEy1NqGT8=; b=GhLxr3QX7hsdQek+65Ahiqp/wPVb1hGBElxkKtUm0NcKd1Yw0TMx7PF1zZC87/Cd4cp9Rv ahyB+pesVjmSM4xjVx+fSbNnja7I9UJ6YffXZR0fHXgdVd+phToGlR1GLMk5QYhD3KOSrN rYsKnnxs8I80foudNXQZ/AG9cpIrKXE= X-MC-Unique: e0dDGlqMOXarLoV_0MY_PQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: 03wdoi1iO3iSpeRw4ER-tA-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V5 04/11] spec: Move lockd plugin to a new subpackage Date: Fri, 23 Dec 2022 11:55:57 -0700 Message-ID: <20221223185604.6134-5-jfehlig@suse.com> In-Reply-To: <20221223185604.6134-1-jfehlig@suse.com> References: <20221223185604.6134-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0012.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1d::15) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB8577:EE_ X-MS-Office365-Filtering-Correlation-Id: f1ccce31-d2bc-48ea-fc63-08dae51762ef X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: xG6ihhThjJjpzkjFMeI/mB+lRS4mu968ZsTak2qgRIq0OOuDeh22MwBP5CmmPf0GQhPH5TNVC1hDUFoK/XRZuvQfhIXuUMLrNdz9ITLPkFYgm60FJjaHxKkchw/ACA0EXmdbFl3a2XuP5OqY3fVdxJfyGMaPFfLv+/LJpN1E7HJfemQNSPu7BZmt23guRnZ7+TBRXx5EmP5EcjMyRvSVclIHC8+StFjX0g8v99kk9pOqGDeACD3YI3Ci737PBr6ULOgslA236iSqcqkZPLsGcwUfXIgT51rPzeNK7pOMjodkt5/zIfk1IVxV89nptTqXycTENh6Rhuw0itckmS6wFTz5oGqfeIsct9B3BwSr16bwpdg7dy5VV9VPbzZRvDHr3YeOqAl+AT+XKRdhoJq0MbQn1g7WXBxgXxtu7BH8NUrAVcWZ91MBEWQFJsIp2UXWLDqSAWWzJSTKQqOFCjL6OoEqKCAgs20lBx0fUH/V3zgiHkjDwGE7+tJdqnfwySrvcvhP90CyPXx0VTkehfn42K1xBNSybokpZbfJpc1Z+fpcHZf3Pk6CDH0s1jgnRYBp/gAhqldcsu7wgSGJeRMp9wsHDPzQJfdfr3R7PLan1IyUQHONXxOEQDBg15+4xYS0iTVMIzHmG2zNqsYipFqcsw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB4899.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(39860400002)(346002)(136003)(366004)(376002)(451199015)(8936002)(4326008)(66556008)(8676002)(36756003)(66476007)(450100002)(41300700001)(66946007)(6916009)(54906003)(316002)(1076003)(83380400001)(38100700002)(478600001)(6486002)(2616005)(6666004)(26005)(186003)(6506007)(6512007)(86362001)(2906002)(5660300002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?hHQjIFssG3W2xlAo53r5QZTouYSoqrkwWXhttNDSfbyJIYvZFbzBugzWKPs4?= =?us-ascii?Q?6cHfuJbe6h4e6kaJ+5MH+882pKxmx8y++4ifdHYvoTcCdIWaSC6/7KwDf6EO?= =?us-ascii?Q?RAgy6SkAUm2Qx2W002gprExgXrYABQZv/VWPUYB25qgnwywXRHuZ8SYyCElC?= =?us-ascii?Q?pvB2vMdMlrb6BHJrqggLJMAx7cO4cWIyPnAz59UwZqjpRhxIL868Ijx8Z4LP?= =?us-ascii?Q?Gxrp8Ip/Ws+2NquVrJDKfEiWLsbng+QEWW/HAvEKRpLAf0RdBlrOzCa3ToXk?= =?us-ascii?Q?GS+a5ty4tdfis8JYBo7Mc/2+BqA9J9Htf/QncGcdnicEhzM30QMR/oBlGZCQ?= =?us-ascii?Q?XK2MxwkjCwZyeDOkh4sA68uZsoDnHb0bQ6sVA0eG3hDzYVfkdUUj+V9pH5db?= =?us-ascii?Q?Ti2DJ2OX4xHYwTa31V6aoovIJrsBrn5Xp4xPgNLFzZBWW1sXXlkH8aig/XRN?= =?us-ascii?Q?gdjHYtjOYlnUSXtGXzSEq1an93TO7+ACHmBRpOcozz7yz/xmEOcOkDFGNJOA?= =?us-ascii?Q?W4MWPm6pka7Tk6KcQDA9qNlxOZQ66rJ8L1WjWv7SiaI2USz04+k+/ET59bYe?= =?us-ascii?Q?IamwXov3t1JbA0RQBupS6rbT2hAlLLyv8qXdz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=?us-ascii?Q?Kw2gCyOoHCXGeWwGASiPMsM7jbfkn7Lh8UUGh0V7GL0CF/0kJ116CtC1grM2?= =?us-ascii?Q?S+DcRqqOytjf69NhDOA=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: f1ccce31-d2bc-48ea-fc63-08dae51762ef X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 18:56:23.4656 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: TR67GppAb2yuK6Ftu4HFrEhlIoEOF/iJmtvg/VWQqr6E5SzutojgNTE6xA/JvtfydQ8bm4DMtwgShvhcnwrLnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8577 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1671821802542100001 Content-Type: text/plain; charset="utf-8" Introduce the libvirt-daemon-plugin-lockd subpackage to provide the client-side lockd plugin for virtlockd. Signed-off-by: Jim Fehlig Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- libvirt.spec.in | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index a2bc591333..7c011c68cb 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -430,6 +430,7 @@ Summary: Server side daemon and supporting files for li= bvirt library # The client side, i.e. shared libs are in a subpackage Requires: libvirt-libs =3D %{version}-%{release} Requires: libvirt-daemon-lock =3D %{version}-%{release} +Requires: libvirt-daemon-plugin-lockd =3D %{version}-%{release} Requires: libvirt-daemon-log =3D %{version}-%{release} Requires: libvirt-daemon-proxy =3D %{version}-%{release} # The libvirt-guests.sh script requires virsh from libvirt-client subpacka= ge, @@ -482,6 +483,15 @@ Requires: libvirt-libs =3D %{version}-%{release} Server side daemon used to manage locks held against virtual machine resources =20 +%package daemon-plugin-lockd +Summary: lockd client plugin for virtlockd +Requires: libvirt-libs =3D %{version}-%{release} +Requires: libvirt-daemon-lock =3D %{version}-%{release} + +%description daemon-plugin-lockd +A client-side plugin that implements disk locking using POSIX fcntl adviso= ry +locks via communication with the virtlockd daemon + %package daemon-log Summary: Server side daemon for managing logs Requires: libvirt-libs =3D %{version}-%{release} @@ -1815,7 +1825,6 @@ exit 0 %dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/ %dir %attr(0755, root, root) %{_libdir}/libvirt/storage-backend/ %dir %attr(0755, root, root) %{_libdir}/libvirt/storage-file/ -%attr(0755, root, root) %{_libdir}/libvirt/lock-driver/lockd.so %{_datadir}/augeas/lenses/libvirtd.aug %{_datadir}/augeas/lenses/tests/test_libvirtd.aug %{_datadir}/polkit-1/actions/org.libvirt.unix.policy @@ -1849,6 +1858,10 @@ exit 0 %attr(0755, root, root) %{_sbindir}/virtlockd %{_mandir}/man8/virtlockd.8* =20 +%files daemon-plugin-lockd +%dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/ +%attr(0755, root, root) %{_libdir}/libvirt/lock-driver/lockd.so + %files daemon-log %{_unitdir}/virtlogd.service %{_unitdir}/virtlogd.socket --=20 2.38.1 From nobody Sat May 18 22:31:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1671821801; cv=none; d=zohomail.com; s=zohoarc; b=KkvY+JdMNWz950mZVrZ+wcHXgN3Soos7t81EDiEv8AZmBLubqhWnQkoVxd6hhDRLksNCVi5VEh+UB6WjeIrPQJq4sUalHdrGMpcENts0BtpfuVnCUyMRvABPSHXpE6Yuz5zPDD/bqSh01IRPXRb3LQupjXFJVReELx2xQtTVm64= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671821801; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=HxkKF6wPL39Ik/PdcZCiKDdUC/kRtIo933buaEN3LGU=; b=mfhSZ24uQVuoZ6H54QikvFQ+Wf+6KRb4eTm5J/uXzK/vra7iK7ZQqR/N2zWQK85+U/hVtMBdjXvYCDv3gKgRBL/PWyBDjmlVNMPFa7/XbMibJ/W8h40eOrDgoplfzG3wuPTvgYWytAf7mRoDxL4PFyCZ3vBLF7VI/KsqS8wCMMQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=quarantine dis=quarantine) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1671821801378338.4484215569021; Fri, 23 Dec 2022 10:56:41 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-657-nf6keKLPOG-O8SiCQALgGw-1; Fri, 23 Dec 2022 13:56:37 -0500 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 825A72802BB3; Fri, 23 Dec 2022 18:56:32 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6C22B2026D4B; Fri, 23 Dec 2022 18:56:32 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 4E30119465B3; Fri, 23 Dec 2022 18:56:32 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 38A3619465B1 for ; Fri, 23 Dec 2022 18:56:31 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 1D950492B03; Fri, 23 Dec 2022 18:56:31 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast05.extmail.prod.ext.rdu2.redhat.com [10.11.55.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 14E26492B02 for ; Fri, 23 Dec 2022 18:56:31 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id EAF6088B76E for ; Fri, 23 Dec 2022 18:56:30 +0000 (UTC) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2070.outbound.protection.outlook.com [40.107.20.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-578-7xoqC0P8NCC0SrJGvXFA9Q-1; Fri, 23 Dec 2022 13:56:29 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB8577.eurprd04.prod.outlook.com (2603:10a6:20b:424::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.14; Fri, 23 Dec 2022 18:56:27 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.012; Fri, 23 Dec 2022 18:56:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671821800; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=HxkKF6wPL39Ik/PdcZCiKDdUC/kRtIo933buaEN3LGU=; b=VUsSrIRRzhl+V0Mq31UHe+2Zn4mm5O59UsMH618puQteHAMo1RG4S6nwX67qHar8UXEbAN H6drCv6MoQCaJpgzFpQ5LDA1aLxxwdh4s4YZbQ8qShILSiEkSlSF68SkQPygnRy8TU4cHq k6ZJpGphk6dFKoQ8LLvawWVyu8loSYM= X-MC-Unique: nf6keKLPOG-O8SiCQALgGw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: 7xoqC0P8NCC0SrJGvXFA9Q-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V5 05/11] spec: Rename the libvirt-lock-sanlock subpackage Date: Fri, 23 Dec 2022 11:55:58 -0700 Message-ID: <20221223185604.6134-6-jfehlig@suse.com> In-Reply-To: <20221223185604.6134-1-jfehlig@suse.com> References: <20221223185604.6134-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0011.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1d::17) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB8577:EE_ X-MS-Office365-Filtering-Correlation-Id: 10515b24-a47b-4baa-1385-08dae5176519 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: rfLNIKuQhe7EBEaaJVmjbWI7/F3w+wg/K8xvgxn09DkRib/ogWMDa8SS2mDiOwBe0J8ylw7TXEvnqoS5ntlC35eyTfxJPXFRGoBWxoxd8ohlJ+e4MPZ3ZipGcUvsKIJB82MiySeki/dzHC+ffJXs5j4wpY/Jvx8k0R0nU7Q6TfYQQQAv8QQbu3b9Iav/QKceLoQ9V+a4SGStcm5WUdFM8wYOvgpWfxGT4hilXzITfSl1f4SN1uphrrf5jjvTSUE4RbWdVWTarmkfdur/wsLfjZCKlLsRcgRUrgFzFsF5G3aV6Q5DC/r4vb5/zKNcdocJ++BlHxrQtHZ/uoDWqdiwNtebBBEBcUHR87tL//3Y6csch/773w41LFxBNw5cmdfAn9mKUq8UlhFgaMSFG/05nHzIcCEK14ryt79N2UVPs/6eYy3d2YTmK5nTTmXXsZGc4aeyZ12gsHW6q0pP34W1JX/exZCm9+KHKUsWF4tR0tE5F+mS3TL+wWCyxvB4xMEPUO0MRKSaBCEK2+pHPledD8y3SBrjDTNPcZV/1Zp7QN7J0lsYUaLrpzHxG4hoF1cpXqHtGnOAw7L4rdL85aQeXWbYOkS8Hh4pdrekmn/sYfnLLdhnAqb9ML6oyR6YezG4TXiIJNRVQwMw8N6VWJY+/50w6KMpWFfDmAed4o8UNU0tOnLGH9ZqBrk3Y6+GQODF X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB4899.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(39860400002)(346002)(136003)(366004)(376002)(451199015)(8936002)(4326008)(66556008)(8676002)(36756003)(66476007)(450100002)(41300700001)(66946007)(6916009)(316002)(1076003)(83380400001)(38100700002)(478600001)(6486002)(2616005)(6666004)(26005)(186003)(6506007)(6512007)(86362001)(2906002)(5660300002)(21314003); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?5rVYgIXA1V74BqH8m7BLCHDAuRHqAV0/A0lJFSV6lhCBjuvVW2430MFtULAN?= =?us-ascii?Q?yWtEORisf9F3Dqi1r35t4bK3/As5+Kge9wQ1g2WhXU6JEzPVLLsyJ2VvYAhZ?= =?us-ascii?Q?CF5MJJ/aF6kv9HKTkkna/GN7VyzcCJo8J8LB4tuavVohD38w41F2WRGTE9ug?= =?us-ascii?Q?8VG0T33UEjTjzCuFgCYQp4nwMUQgQ5+5h14xFJXr1TtMnXmvkLZY+/pjfsP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gmE2/Fio+FWMGdWPIAdShRCg?= =?us-ascii?Q?IJ/K2x13zshIm+p4/hjYWbPPkYoTWT6P29zKguU2FMRsnJWltOoIeJae7UpE?= =?us-ascii?Q?AqzXFXO25Bi5NfhVgHXB7CAYN/bB2h+FA0vzAK9X/UeAG0+Mhkg8SNcjx6jd?= =?us-ascii?Q?bS74oqKLaf1ZrMn1udir3AsTXABSRZc5YTU6BPmysIJ4WHiAHnCwQWuaP6x1?= =?us-ascii?Q?JiopnKNrbiEHwSzGKmL348PLnWJCaGvnxgNsikbb7RAC3wyFbkLoGSUl5S48?= =?us-ascii?Q?jWAlMbR1fFVT6eGRFf+yqxQ2HgyhF8uk63K5ILWd9j3lGr6RNFLWwB73nlTa?= =?us-ascii?Q?4mr6HtQEH7zkAO57adA3PtpYGJxFOueuqzUYXf69pggxw2q67/5PUeXMUYQa?= =?us-ascii?Q?rr45roFDL5tqgXA0N14jxn0ojKc3IMJhmlDO4+62OLZNAfROqtQnsUtYzRbe?= =?us-ascii?Q?Cl7B0V+YooUeuV1bEUE=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 10515b24-a47b-4baa-1385-08dae5176519 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 18:56:27.2153 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: OM4a6SqhOiDk7YN0lIo/G1Mpm4UCn/KN10iRchBf3rVAkP3u8fseOsc7TtjNTsdmfQPutwLMP36CYyUgf6+wOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8577 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1671821802556100002 Content-Type: text/plain; charset="utf-8" The new name "libvirt-daemon-plugin-sanlock" provides consistency with the newly introduced "libvirt-daemon-plugin-lockd" subpackage. It's also a good opportunity to taking ownership of %{_libdir}/libvirt/lock-driver/, removing the need for a dependency on the libvirt-daemon package. Signed-off-by: Jim Fehlig Reviewed-by: Andrea Bolognani --- docs/kbase/rpm-deployment.rst | 12 ++++++------ libvirt.spec.in | 11 ++++++----- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/docs/kbase/rpm-deployment.rst b/docs/kbase/rpm-deployment.rst index 31805c2280..7685ee1291 100644 --- a/docs/kbase/rpm-deployment.rst +++ b/docs/kbase/rpm-deployment.rst @@ -289,6 +289,12 @@ RPM packages features, the subset of libvirt-daemon-driver-XXX packages should be used instead. =20 +* libvirt-daemon-plugin-sanlock + + This package provides the sanlock.so module, a daemon plugin that implem= ents + disk locking via communication with the sanlock daemon. It is optional a= nd + only relevant to hosts with the QEMU driver and oVirt management applica= tion. + * libvirt-daemon-qemu =20 This is an empty package that exists only as a convenient way to request @@ -352,12 +358,6 @@ RPM packages take to the libvirt daemons to utilize stateful drivers (QEMU, Xen, BHyv= e, LXC, VZ, etc). This is needed on all libvirt hosts, both client and serv= er. =20 -* libvirt-lock-sanlock - - A plugin for locking disks that communicates with the sanlock daemon. It= is - optional and only relevant to hosts with the QEMU driver and oVirt manag= ement - application. - * libvirt-login-shell =20 A simple login shell that automatically spawns an LXC container for the = user diff --git a/libvirt.spec.in b/libvirt.spec.in index 7c011c68cb..dd1b6a74e9 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -956,15 +956,16 @@ Requires: pkgconfig Include header files & development libraries for the libvirt C library. =20 %if %{with_sanlock} -%package lock-sanlock +%package daemon-plugin-sanlock Summary: Sanlock lock manager plugin for QEMU driver Requires: sanlock >=3D 2.4 #for virt-sanlock-cleanup require augeas Requires: augeas -Requires: libvirt-daemon =3D %{version}-%{release} Requires: libvirt-libs =3D %{version}-%{release} +Obsoletes: libvirt-lock-sanlock < 9.0.0 +Provides: libvirt-lock-sanlock =3D %{version}-%{release} =20 -%description lock-sanlock +%description daemon-plugin-sanlock Includes the Sanlock lock manager plugin for the QEMU driver %endif @@ -1822,7 +1823,6 @@ exit 0 %dir %attr(0711, root, root) %{_localstatedir}/cache/libvirt/ %dir %attr(0755, root, root) %{_libdir}/libvirt/ %dir %attr(0755, root, root) %{_libdir}/libvirt/connection-driver/ -%dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/ %dir %attr(0755, root, root) %{_libdir}/libvirt/storage-backend/ %dir %attr(0755, root, root) %{_libdir}/libvirt/storage-file/ %{_datadir}/augeas/lenses/libvirtd.aug @@ -2162,13 +2162,14 @@ exit 0 %endif =20 %if %{with_sanlock} -%files lock-sanlock +%files daemon-plugin-sanlock %if %{with_qemu} %config(noreplace) %{_sysconfdir}/libvirt/qemu-sanlock.conf %endif %if %{with_libxl} %config(noreplace) %{_sysconfdir}/libvirt/libxl-sanlock.conf %endif +%dir %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/ %attr(0755, root, root) %{_libdir}/libvirt/lock-driver/sanlock.so %{_datadir}/augeas/lenses/libvirt_sanlock.aug %{_datadir}/augeas/lenses/tests/test_libvirt_sanlock.aug --=20 2.38.1 From nobody Sat May 18 22:31:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1671821802; cv=none; d=zohomail.com; s=zohoarc; b=Y6l3FyGUsPLucFWhDHiXPeMLpnDk1cEM0ZCbueuKm5EXYkVy+QBD/UaBhYD02MnOlWGEvC++daqvweabzR8p203XRGaF/3FzDFP84IyZEpoLQ8z8xDJq6nzjHamEPcEOqYiuKkX4K1YA4Zf9XvkeSlJIxOflcEGrst1unZd9PBU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671821802; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=0kfj0wqWJVvo0apQvSDU097+qCBuc7qyiUSJN9eXDTU=; b=c23JvP/BCr7SCVl773B+j2E79wafqb5giybQopcF0NltJZ/RVlEPfi2nCsOQ9aA16dGPz/neprFBSXnEvfQ5T0m/feCs5PK8iY2+YBnURnAVeKYoOavqJThoRK0xez7ilOPTYw/PdFZvq+y6ts6mrcaZtLd+hMjhBYIU2CRrfy0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=quarantine dis=quarantine) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1671821802960170.24325014917622; Fri, 23 Dec 2022 10:56:42 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-562-6yUyeZMKPeGxl6w8mHX7OQ-1; Fri, 23 Dec 2022 13:56:40 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CA41788B76E; Fri, 23 Dec 2022 18:56:38 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id B0FD751FF; Fri, 23 Dec 2022 18:56:38 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id A01E719465B3; Fri, 23 Dec 2022 18:56:38 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 8464019465BA for ; Fri, 23 Dec 2022 18:56:37 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 762E640C2064; Fri, 23 Dec 2022 18:56:37 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6E2E640C2004 for ; Fri, 23 Dec 2022 18:56:37 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 3D94785A588 for ; Fri, 23 Dec 2022 18:56:37 +0000 (UTC) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2084.outbound.protection.outlook.com [40.107.20.84]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-562-T5XDe4eIO0yuTxMGoxQW5A-1; Fri, 23 Dec 2022 13:56:34 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB8577.eurprd04.prod.outlook.com (2603:10a6:20b:424::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.14; Fri, 23 Dec 2022 18:56:31 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.012; Fri, 23 Dec 2022 18:56:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671821802; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=0kfj0wqWJVvo0apQvSDU097+qCBuc7qyiUSJN9eXDTU=; b=YDmNycYl11zDonk+pVX3cMiqsN7BS/Z5bn+epeAwuVFFhxGbFjjjjP8FU73/9fO3c0+hM1 QfhA8B5d2MsbDUVgT/M3QjjryevhlA3kSNyUiU42+Ipu/vJ9nWOov4fS4sEzqmLqkUU8YH jV57UucGsG2CrYBW0zwlMXDPHFpEaRo= X-MC-Unique: 6yUyeZMKPeGxl6w8mHX7OQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: T5XDe4eIO0yuTxMGoxQW5A-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V5 06/11] spec: Move common files and dependencies to libvirt-daemon-common Date: Fri, 23 Dec 2022 11:55:59 -0700 Message-ID: <20221223185604.6134-7-jfehlig@suse.com> In-Reply-To: <20221223185604.6134-1-jfehlig@suse.com> References: <20221223185604.6134-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0012.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:15::17) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB8577:EE_ X-MS-Office365-Filtering-Correlation-Id: 430abe87-2b33-4c74-eb5b-08dae5176784 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: X5gNdE3NTOQtu72cI7e5+PHWoL8IITUftvRjsnSzJ9bbC/q1MwGZnD7ZbOQaIW8WeQA/5657/DX5m3kJyEIbG8Hh7dvocHOlrPrisv37QUks22CCr7W8tCze+3S+GCKQvXDvg/MYzXCjkToQLHala/RMzMKocmtoRQI1GLWJduN8FTg532BwwpbIWEKv9IpWR4xtjnHodu50E3n8Ta/OP/2yXtw6VQMfLAS13CuLSV66/ZW0VZK9Fm8IyaPqIlTO6Ic0tptfVrV5PKm28I5gkqyj21VABaKguCSTq+fA5qnTcV3UialIUYiNJBKp16GtkBGWerRYGSzTf8ETnRvdJRIAbm2juBDSWuUVCh5dCsk+AqZyTlr4bANNmDA/kf6mt3lX6NcftuRte4FLJsQiw3ZVmMnpAROAa1WoT96hMdpJA/9w8msLoGldvbSHKZnyhliCaWlDA7IQn2fTSykKYJaS+/niWWH7jzb1dj13JW79T8Xruyc1yKpNNAp5ifHYnK90rA0DYJSfNFgy6Tha4ClLxtpGLEni+TGp9lKH9Q+qpboc8ScMDHlvUCcbEWmRps2C8sT6LohNmVJ6reW9Iz6rHcEeNyhPVL9lvNfXMKoaIuLmWdh7NsKLK3Pdp8f2eEQB/QHxRCb05ZXzJh0mWw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB4899.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(39860400002)(346002)(136003)(366004)(376002)(451199015)(8936002)(66556008)(8676002)(36756003)(66476007)(41300700001)(66946007)(6916009)(316002)(1076003)(83380400001)(38100700002)(478600001)(6486002)(2616005)(6666004)(26005)(186003)(6506007)(6512007)(86362001)(2906002)(5660300002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ZL5miKMe7GnkxRFWD6Of1V7L/6AZHDebArNhilfzE8PINWCmbf3lnLVc8Uj3?= =?us-ascii?Q?htqNNhT0W7fcrAd/e0lYqKeHPOZN3DTunhmuuVnbrdkxJsUG7K7ACjSEhkz/?= =?us-ascii?Q?8qzdYun/KU88DYYCLBHIs+bzQwgjHOiy7+EJ024qAbhjHPD/dvoTE+wW7+Yb?= =?us-ascii?Q?fGakgIkjkiqFcI4i4qDPQHLgr6VFd2XkWEnkQD6jGTZGH0dArXxIAeOAhrft?= =?us-ascii?Q?2mtdBbRjO4zCzOHvHySMUXfAIRwK6IJ4lqnos+SrgJAiWdz2nzVG6oAF4cLq?= =?us-ascii?Q?Or5GhZormb5ACCK3S0vFqpGvfi+uRWVBygVNwUhjl5D/EWaIovPspmQ/AJEm?= =?us-ascii?Q?ArymUvoAskILqRWSIP71JJPoUW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ascii?Q?GBFa3RQfn7KmX1QdbyY7K3TAvEbeijfWqXjqAoj1krT2Y7/RkWiD4wFbbmh7?= =?us-ascii?Q?e2sdlY2NXikQNGWi/e05AYusclIcLrpxYX4TU+WloVI6KbssUE8Rv79F4Dv4?= =?us-ascii?Q?hSj8P88snnHe0nfgkKHHDNQ81rNx/zSVl2ijefLtbPe6uPfrYmGoNLlW6s2M?= =?us-ascii?Q?QFYB5D7Wyj7RtzA2tbLL3JShPsc7PC/GE8Fvo2TsiovumJNB0kDqKGB9XTbL?= =?us-ascii?Q?PgP8U+WuTe7a8D1bTpudKI+26y5fKsR+XEaaXs2nM++Zan4Vro4Gbmdq5nP2?= =?us-ascii?Q?FId4rxjRZQa+caoHTyw=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 430abe87-2b33-4c74-eb5b-08dae5176784 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 18:56:31.2931 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: kEgQVnshhjZ2SEavjhJWjLrhagxtukfyD4biBPUp1gDTfmi3wNxLzrAZ+seZwVwABH6hrkg0N+DhqlYCkRl9MQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8577 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1671821804600100005 Content-Type: text/plain; charset="utf-8" Introduce a new subpackage libvirt-daemon-common and move virt-admin, virt-host-validate, virt-ssh-helper, libvirt-guests and miscellaneous files/directories to it. Also move common dependencies to the new subpackage. These files, utilities, and dependecies are used by other core libvirt daemons Signed-off-by: Jim Fehlig Reviewed-by: Andrea Bolognani --- libvirt.spec.in | 77 ++++++++++++++++++++++++++++++------------------- 1 file changed, 48 insertions(+), 29 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index dd1b6a74e9..12151cb90f 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -429,17 +429,30 @@ Summary: Server side daemon and supporting files for = libvirt library =20 # The client side, i.e. shared libs are in a subpackage Requires: libvirt-libs =3D %{version}-%{release} +Requires: libvirt-daemon-common =3D %{version}-%{release} Requires: libvirt-daemon-lock =3D %{version}-%{release} Requires: libvirt-daemon-plugin-lockd =3D %{version}-%{release} Requires: libvirt-daemon-log =3D %{version}-%{release} Requires: libvirt-daemon-proxy =3D %{version}-%{release} +# for modprobe of pci devices +Requires: module-init-tools +%if %{with_numad} +Requires: numad +%endif + +%description daemon +Server side daemon required to manage the virtualization capabilities +of recent versions of Linux. Requires a hypervisor specific sub-RPM +for specific drivers. + +%package daemon-common +Summary: Files and utilities used by daemons +Requires: libvirt-libs =3D %{version}-%{release} # The libvirt-guests.sh script requires virsh from libvirt-client subpacka= ge, # but not every deployment wants to use libvirt-guests service. Using # Recommends here will install libvirt-client by default (if available), b= ut # RPM won't complain if the package is unavailable, masked, or removed lat= er. Recommends: libvirt-client =3D %{version}-%{release} -# for modprobe of pci devices -Requires: module-init-tools # for /sbin/ip Requires: iproute # for /sbin/tc @@ -451,9 +464,6 @@ Requires: dmidecode %endif # For service management Requires(post): /usr/bin/systemctl -%if %{with_numad} -Requires: numad -%endif # libvirtd depends on 'messagebus' service Requires: dbus # For uid creation during pre @@ -470,10 +480,8 @@ Obsoletes: libvirt-admin < 7.3.0 Provides: libvirt-admin =3D %{version}-%{release} Obsoletes: libvirt-bash-completion < 7.3.0 =20 -%description daemon -Server side daemon required to manage the virtualization capabilities -of recent versions of Linux. Requires a hypervisor specific sub-RPM -for specific drivers. +%description daemon-common +Miscellaneous files and utilities used by other libvirt daemons =20 %package daemon-lock Summary: Server side daemon for managing locks @@ -1429,30 +1437,19 @@ fi \ %define libvirt_daemon_systemd_preun_priv() %systemd_preun %1.service %1-a= dmin.socket %1.socket =20 %pre daemon -%libvirt_sysconfig_pre libvirtd libvirt-guests -# 'libvirt' group is just to allow password-less polkit access to -# libvirtd. The uid number is irrelevant, so we use dynamic allocation -# described at the above link. -getent group libvirt >/dev/null || groupadd -r libvirt -exit 0 +%libvirt_sysconfig_pre libvirtd =20 %post daemon %if ! %{with_modular_daemons} %libvirt_daemon_systemd_post_inet libvirtd %endif -%systemd_post libvirt-guests.service %libvirt_daemon_schedule_restart libvirtd =20 %preun daemon -%systemd_preun libvirt-guests.service %libvirt_daemon_systemd_preun_inet libvirtd =20 -%postun daemon -/bin/systemctl daemon-reload >/dev/null 2>&1 || : -%systemd_postun libvirt-guests.service - %posttrans daemon -%libvirt_sysconfig_posttrans libvirtd libvirt-guests +%libvirt_sysconfig_posttrans libvirtd if test %libvirt_daemon_needs_restart libvirtd then # See if user has previously modified their install to @@ -1486,6 +1483,26 @@ then fi %libvirt_daemon_finish_restart libvirtd =20 +%pre daemon-common +%libvirt_sysconfig_pre libvirt-guests +# 'libvirt' group is just to allow password-less polkit access to libvirt +# daemons. The uid number is irrelevant, so we use dynamic allocation. +getent group libvirt >/dev/null || groupadd -r libvirt +exit 0 + +%post daemon-common +%systemd_post libvirt-guests.service + +%preun daemon-common +%systemd_preun libvirt-guests.service + +%postun daemon-common +/bin/systemctl daemon-reload >/dev/null 2>&1 || : +%systemd_postun libvirt-guests.service + +%posttrans daemon-common +%libvirt_sysconfig_posttrans libvirt-guests + %pre daemon-lock %libvirt_sysconfig_pre virtlockd =20 @@ -1807,12 +1824,18 @@ exit 0 %{_unitdir}/libvirtd-admin.socket %{_unitdir}/libvirtd-tcp.socket %{_unitdir}/libvirtd-tls.socket -%{_unitdir}/virt-guest-shutdown.target -%{_unitdir}/libvirt-guests.service %config(noreplace) %{_sysconfdir}/libvirt/libvirtd.conf -%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf %config(noreplace) %{_prefix}/lib/sysctl.d/60-libvirtd.conf %config(noreplace) %{_sysconfdir}/logrotate.d/libvirtd +%{_datadir}/augeas/lenses/libvirtd.aug +%{_datadir}/augeas/lenses/tests/test_libvirtd.aug +%attr(0755, root, root) %{_sbindir}/libvirtd +%{_mandir}/man8/libvirtd.8* + +%files daemon-common +%{_unitdir}/virt-guest-shutdown.target +%{_unitdir}/libvirt-guests.service +%config(noreplace) %{_sysconfdir}/sasl2/libvirt.conf %dir %{_datadir}/libvirt/ %ghost %dir %{_rundir}/libvirt/ %ghost %dir %{_rundir}/libvirt/common/ @@ -1825,21 +1848,17 @@ exit 0 %dir %attr(0755, root, root) %{_libdir}/libvirt/connection-driver/ %dir %attr(0755, root, root) %{_libdir}/libvirt/storage-backend/ %dir %attr(0755, root, root) %{_libdir}/libvirt/storage-file/ -%{_datadir}/augeas/lenses/libvirtd.aug -%{_datadir}/augeas/lenses/tests/test_libvirtd.aug %{_datadir}/polkit-1/actions/org.libvirt.unix.policy %{_datadir}/polkit-1/actions/org.libvirt.api.policy %{_datadir}/polkit-1/rules.d/50-libvirt.rules %dir %attr(0700, root, root) %{_localstatedir}/log/libvirt/ %attr(0755, root, root) %{_libexecdir}/libvirt_iohelper %attr(0755, root, root) %{_bindir}/virt-ssh-helper -%attr(0755, root, root) %{_sbindir}/libvirtd %attr(0755, root, root) %{_libexecdir}/libvirt-guests.sh %{_mandir}/man1/virt-admin.1* %{_mandir}/man1/virt-host-validate.1* %{_mandir}/man8/virt-ssh-helper.8* %{_mandir}/man8/libvirt-guests.8* -%{_mandir}/man8/libvirtd.8* %{_bindir}/virt-host-validate %{_bindir}/virt-admin %{_datadir}/bash-completion/completions/virt-admin --=20 2.38.1 From nobody Sat May 18 22:31:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1671821808; cv=none; d=zohomail.com; s=zohoarc; b=llo2CDrcXyeYkJns5nrjmW7HkavqxPZp+7TRc680kTru+gWByKL25wzSgBq2U7lJ69UeLvL6YW0qqrnhik7CFbyHMCZl2VNHEOa9vjBT4FvLYZDxav8qDod2gLAKdxcO7KoWoBoU+1CImJbPetnmF71dUG+VTj48MXfu66DEWz0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671821808; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=++FrvDjp95P5isglRVQQrGSb+SuBpO48fuQLfMjsn8g=; b=KJb42zX5u4Qer/SLStxNwzQ3iu//IJPgtVPAwtXsmZN/VY3tY26Vcu7hYL+dulKd2Uzd2Upkr0G+UGHOIN2XhWisb2eSPiFrqWrzV+rqI2DlnC+2HITYzXxrmHvCTsTcjHE/P6MNe2HeURejtSDAslaj2HsJ7uLUVCljoxSQQP0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=quarantine dis=quarantine) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 167182180804558.46956021464939; Fri, 23 Dec 2022 10:56:48 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-595-DBsM-aplMH6sUfKER80_YA-1; Fri, 23 Dec 2022 13:56:43 -0500 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id D8C4E101A521; Fri, 23 Dec 2022 18:56:40 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id C11F8492C18; Fri, 23 Dec 2022 18:56:40 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id A10051946A40; Fri, 23 Dec 2022 18:56:40 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id BCE3C19465B1 for ; Fri, 23 Dec 2022 18:56:38 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id A711240C2004; Fri, 23 Dec 2022 18:56:38 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast07.extmail.prod.ext.rdu2.redhat.com [10.11.55.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 9EEB040C2064 for ; Fri, 23 Dec 2022 18:56:38 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 864EC3C0F7E8 for ; Fri, 23 Dec 2022 18:56:38 +0000 (UTC) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2084.outbound.protection.outlook.com [40.107.20.84]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-562-SLU41fH_MFKW7ryKi3t_4A-2; Fri, 23 Dec 2022 13:56:36 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB8577.eurprd04.prod.outlook.com (2603:10a6:20b:424::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.14; Fri, 23 Dec 2022 18:56:35 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.012; Fri, 23 Dec 2022 18:56:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671821807; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=++FrvDjp95P5isglRVQQrGSb+SuBpO48fuQLfMjsn8g=; b=iVNiGHOgdWEAELMZSp0gSqDuDlNJy5G8mIZtX1+yyt4xeIugR1/faPXvU2oj01p8cDAWTu lZ3RZ4Qh7/5WMgyH48OEbQml4/Ur2C8l4C0oJnju1hULOk/OYatTfw9Z+KgzTKkghUjYks 2EbaE3XGO/CLWCYZgnybCnewcWXAUvs= X-MC-Unique: DBsM-aplMH6sUfKER80_YA-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: SLU41fH_MFKW7ryKi3t_4A-2 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V5 07/11] spec: Add module-init-tools dependency to nodedev and lxc drivers Date: Fri, 23 Dec 2022 11:56:00 -0700 Message-ID: <20221223185604.6134-8-jfehlig@suse.com> In-Reply-To: <20221223185604.6134-1-jfehlig@suse.com> References: <20221223185604.6134-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0010.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:15::15) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB8577:EE_ X-MS-Office365-Filtering-Correlation-Id: 43b3d5f5-c23a-4caf-d799-08dae51769e4 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: RqPZlaeHXp39OmTnia1KMBiA7qskyDaGIyTua8dVZX+K8gn1cIHlCEt9jft9m4SsyTxtViEqPNhLbnxbZDentHQhJT6jSVd46zfsVql4Ce8X8lXwlSRTmVKDEsEzeoBTgOKtsad7vIqrH622DmwyFYXgkmkq1BaLeNWMPhDiEpN8fNrFz5A7lv7ulQND0Dv0vO7kmaT/X/tJEDzMDiAZvcymXgyTZO9FJcD6AZavQD5HnOFa/DKm0vxxpmHOf2N9O9eAzWMN7fLBQxdnwvff6CPxGV7I2v3lSyQMXVAf+Tw709zJF3n9/+tSkqFBW8tPvrHwmpGmBbszFEHg0XqKWoKnxcdqVrB4UswVlGbR/zItrqXYWoaE1GwJU8/C5xQgVGacsHPGrYM0KRhDqHWSB9EXZXBgNIcHKs6LJpOVJg8iPuHttE+5uFTv2zsA9cr88FBTo3XyQL2hxWu2YsA27tBy8lwj2QXj+ivRnvnQJ72Xb/jEDd9BjST1N6LKWc2TSfC1skZjE0QazW0eRJ3qay+aUzMmwnxeJi6n7TiQQ5Asw3pnyh1FV9IT1chPMlnL1AIc9uqNHnEI+HhuzopcR5M4+o67zhT8Yqa8abdIQED16tgVg32sDu3xirvz4i4jLR2GG8NYXlnRROPEuFhA0A== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB4899.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(39860400002)(346002)(136003)(366004)(376002)(451199015)(8936002)(4326008)(66556008)(8676002)(36756003)(66476007)(450100002)(41300700001)(66946007)(6916009)(316002)(1076003)(83380400001)(38100700002)(478600001)(6486002)(2616005)(6666004)(26005)(186003)(6506007)(6512007)(86362001)(2906002)(5660300002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?6v6J//8A+b2o5lWBqANcthWIIpnAJTrNrlKMd1syUYvSUo4djVkeKpGYeF5z?= =?us-ascii?Q?lkXEMmagkAV9HVeE3e/ec6T6jf1UtgypyXGACvSsrZnIoF/Gw6LVBBLatDRc?= =?us-ascii?Q?C6hm7S9jIyHNQlWkJliy2O2+mVrCgIW7YCK2tsfbX/VP6ZPMogKfFRKKg7kY?= =?us-ascii?Q?Rqrd+sCWy998TT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ZR8yLqIEL6?= =?us-ascii?Q?t/0tnNHPKpZn86buBC9yeAXNdefc6GXqAggzlkGMA/76NFd5USd7vOHJ/eF0?= =?us-ascii?Q?xFZwWTeWsve1QsceuJ+AI14N10a7iBKML5lB0UkLfWNqD3FcwtpBSuXH6ZCC?= =?us-ascii?Q?BMyNtULYo8oUozFZ1h1UtwdJa3OmlYZAUSknDJUdGoeIHL+jw8X4qzsuRShL?= =?us-ascii?Q?19tgwRPyN5UWG+IvLf62Q7gku2YJ9pPI5M/DjTNIjNBqB11qU2ZNovhUgLj+?= =?us-ascii?Q?gTf7vEQr3E7IJ87TLN2ShIJVJMFgfi2wY6jXPyiRniQzGu1I9+V276silPOo?= =?us-ascii?Q?9x3QsVaojJAKppxW2kefSHsnFKRFOP3Ut97CyPibl1eA1yhGxa2BUih5Oshn?= =?us-ascii?Q?iJP7YOxyXns8b0U4Nl5WAeWOUmizD4NM0XqgIc48TehY6emDcu7NSE8jLacb?= =?us-ascii?Q?OHeCbQ+6kNDDga+PYr1I9WqH8AFbE24It6DLO8W+GdG9V27tyyq1Z+yaeBsi?= =?us-ascii?Q?kDUC1DMwFyOk7FSPjos=3D?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 43b3d5f5-c23a-4caf-d799-08dae51769e4 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 18:56:35.0897 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 8WVuJfVa2j2HT4FNpXDZK0JRNrJ9bIHSx+lq1FymzG2wx7OcTWchuOoG0OXOEZ5oCGI+4udG+Spf3wnyVA/7kQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8577 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1671821808563100001 Content-Type: text/plain; charset="utf-8" Both the nodedev and lxc drivers can load kernel modules. Add a module-init-tools dependency to the drivers and remove the dependency from libvirt-daemon. Signed-off-by: Jim Fehlig Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- libvirt.spec.in | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 12151cb90f..a86d9b99ee 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -434,8 +434,6 @@ Requires: libvirt-daemon-lock =3D %{version}-%{release} Requires: libvirt-daemon-plugin-lockd =3D %{version}-%{release} Requires: libvirt-daemon-log =3D %{version}-%{release} Requires: libvirt-daemon-proxy =3D %{version}-%{release} -# for modprobe of pci devices -Requires: module-init-tools %if %{with_numad} Requires: numad %endif @@ -571,6 +569,8 @@ Requires: libvirt-libs =3D %{version}-%{release} Requires: systemd >=3D 185 # For managing persistent mediated devices Requires: mdevctl +# for modprobe of pci devices +Requires: module-init-tools =20 %description daemon-driver-nodedev The nodedev driver plugin for the libvirtd daemon, providing @@ -776,6 +776,8 @@ Requires: libvirt-libs =3D %{version}-%{release} # There really is a hard cross-driver dependency here Requires: libvirt-daemon-driver-network =3D %{version}-%{release} Requires: systemd-container +# for modprobe of nbd driver +Requires: module-init-tools =20 %description daemon-driver-lxc The LXC driver plugin for the libvirtd daemon, providing --=20 2.38.1 From nobody Sat May 18 22:31:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1671821807; cv=none; d=zohomail.com; s=zohoarc; b=moUub7891zD9datAZJ8iZC1DS7azMHd34CDla93BQ2bdZdo2k9HT60mRLCqI86CNl0i8UE4yNbYO+cRhPBHGyKjY6Wic37HUQaGsWkJ1lmKZ0vjNCw9hfo0aesgFPNp/AiqtbCOvA98/kkmq/l9JlyHXKapYjpDhQKZuPlCiiu0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671821807; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=DLuCLmgBjTIpG7svkMl/nQrG+JaPJgHDkSCcoBRwkRI=; b=CE/9vuZrf21tuzQzZnhRdB3kymIrrtcBf2RuyQlK0GDDDHBtfo2YCR1L9Th95ifeC4GF+n6EQl/FdXO6+H4lMEPRuzQCasYN0zDzsxTHV706pKhfOepYe8S5bH7GO7VTGWjrH3ugyrbKSkH8IO2i+QiJ8bgp1oJCOsaEg8K0RvQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=quarantine dis=quarantine) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1671821807970282.1544783787683; Fri, 23 Dec 2022 10:56:47 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-662-AOUnRSxpOSGx6KD3lzsWdA-1; Fri, 23 Dec 2022 13:56:45 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 23E523832783; Fri, 23 Dec 2022 18:56:44 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0F487140EBF5; Fri, 23 Dec 2022 18:56:44 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id E6DE219465B5; Fri, 23 Dec 2022 18:56:43 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id A468519465B1 for ; Fri, 23 Dec 2022 18:56:42 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 971E82166B34; Fri, 23 Dec 2022 18:56:42 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast10.extmail.prod.ext.rdu2.redhat.com [10.11.55.26]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8EFB42166B33 for ; Fri, 23 Dec 2022 18:56:42 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 71B261C05122 for ; Fri, 23 Dec 2022 18:56:42 +0000 (UTC) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2054.outbound.protection.outlook.com [40.107.20.54]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-20-4m3K7CHkOcWFLdVqXLoHmw-1; Fri, 23 Dec 2022 13:56:40 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB8577.eurprd04.prod.outlook.com (2603:10a6:20b:424::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.14; Fri, 23 Dec 2022 18:56:39 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.012; Fri, 23 Dec 2022 18:56:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671821807; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=DLuCLmgBjTIpG7svkMl/nQrG+JaPJgHDkSCcoBRwkRI=; b=WTC+/CDfd/GiZ7HLCPsPcT2CpK16Mi1TSYY/lPsKaVRnYwJ+w46dJSEms+R4gYQzvYTTYj UkfT6pwkiSn6uSJLLiNSiomt0qvvgAaRwznT00N6JFYwt60K1GhAOa8GEWWh3nJpt2iS/0 kAt+42tuBKbhvmz737hj5kFjXmRFAyY= X-MC-Unique: AOUnRSxpOSGx6KD3lzsWdA-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: 4m3K7CHkOcWFLdVqXLoHmw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V5 08/11] spec: Add numad dependency to qemu and lxc drivers Date: Fri, 23 Dec 2022 11:56:01 -0700 Message-ID: <20221223185604.6134-9-jfehlig@suse.com> In-Reply-To: <20221223185604.6134-1-jfehlig@suse.com> References: <20221223185604.6134-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0009.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:15::14) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB8577:EE_ X-MS-Office365-Filtering-Correlation-Id: edb2887e-9989-4ae4-c3e4-08dae5176c44 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: nJdAKO5771LnlsNDr5Xu4W2AFFn+eQ4ki+Ok6kVjRiAXPlP5dCMEw0CAJVdY0tMjAR/nfLG7MAGrkAfTi3UoJ2Gq6Oz/dhl9aoVog9ZHbfMILhv2IE2WMoM1P1Xd1RwXosQVcbzg6cnyCg+TfF5ANFW/GSKPRaTbh+e0V1IK19u+OlqDggv54X6g44NwioFDj9aVhCi1vYJ1/pbEjwNJWBQEJNJpcwsMk40jQqIZR0ZXmw+APero+08+NnhitkQJEX2b9umQREAdPyj2bJPUT7MUQFV4ApKe9bLwHSdNR0sM71A33m6Qwqo2qz/r3GrHYPXfdnC+1q6hxTIzxksBGzsHAvyiSr3edYtcKCCawZ76e3IP5d4/ag8685zkrW6HJdJeVmNa/3JxGrywBKxT+Hb0mMSyySLvBr4RbE6n66YvC200v+NUcFigvJ/IKC6Kk3DeanbkRIWBWs9t0tXWk1P6jGr6dwCbAKpb1pONPa8BOuzP7Icmzsud1Za3a28+qjNJYeJgk5KQhST51hjLfiTxhxuKUtuN4fdWoVXH4uVzH7eP/KOPFl1W2Gliud1hTqcltBnQvor/aTpWaRm2kfEdm+NdZ5XPBCaNTZJYglMJ2ceyfxf7/QyynPL4PLrBumEVSfnuQp7aFb3TUtNJPg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB4899.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(39860400002)(346002)(136003)(366004)(376002)(451199015)(8936002)(4326008)(66556008)(8676002)(36756003)(66476007)(450100002)(41300700001)(66946007)(6916009)(316002)(1076003)(83380400001)(38100700002)(478600001)(6486002)(2616005)(6666004)(26005)(186003)(6506007)(6512007)(86362001)(2906002)(5660300002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?WyANQu7X9EefZOt52VqfrlrrIbICDTDoLLyCsW9WMil381iRoKpqKi1D7+1V?= =?us-ascii?Q?mJgOmozXEBprOlVAjSVf7tFSk0vMCTkpRCbx+V+kFZU/rTP7Kvjr8tRXU7vm?= =?us-ascii?Q?67KjKeUuYRC5+4fxuP8k2yfmJveeZpVWHG2grxY8ixdviRRWuQTgzzF9D9gO?= =?us-ascii?Q?MEbMb8qyLisLdWPQRn5W73pXVHK6LKF7Cy36qxn3ShRXKagIuLk2DLZYjMBH?= =?us-ascii?Q?A5LdomnnYlbFmR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fwj?= =?us-ascii?Q?Cv5JVQjJy1HgjnT7+lYmWT/0vWuNjmtq23KEPFoOSsPe+cWQPmuvoXCH7nUy?= =?us-ascii?Q?nUybRjAJtBVrI4pdrUy9hnOzOPuA2MXsr0EfbeUZFR7fycaXkezp1UN+YtkX?= =?us-ascii?Q?sH3S9EPyMhX2kK2Fkk8LRPhnrn7tjvWwB7xHozwHVMi0TLqEaogmY4+okBf8?= =?us-ascii?Q?8xQBEMryIiZm15wdhDk7yr5m3CTW1rh9Q90fQwygC6VmhF3nGLLG17dElHlL?= =?us-ascii?Q?gNZMhXwucdclh+oQZR8WzkZTbhtB0ba1DCZAq7YiWtFflA4Idhjm6EhZnLpB?= =?us-ascii?Q?i6CpahAMXKHpv07gd6YAuz0/0BEnnoB1IHp8iPd17Mp3+feuZfIp51ngPteJ?= =?us-ascii?Q?74tLfp+qHfA703zDeC1pO1DC3PSPaTaUDHEQqmnOMfzIgRN+Qfa6g85eRAer?= =?us-ascii?Q?NCXLgvU/7EKj/8r1Gk+f5DShh5UDVZ/zMPrFW/SB?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: edb2887e-9989-4ae4-c3e4-08dae5176c44 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 18:56:39.1050 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: FzYThBQNzxHwLbzA/+mEK8bvR5XYu8X0+B4wnGlFMZ8I/HF7QMXi+aQc5d2wDzn/g1MI8thPV+mFt/0g2OtzBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8577 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1671821808637100003 Content-Type: text/plain; charset="utf-8" Both drivers use numad via virNumaGetAutoPlacementAdvice. Drop the numad dependency from libvirt-daemon. Signed-off-by: Jim Fehlig Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- libvirt.spec.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index a86d9b99ee..3927698dcd 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -434,9 +434,6 @@ Requires: libvirt-daemon-lock =3D %{version}-%{release} Requires: libvirt-daemon-plugin-lockd =3D %{version}-%{release} Requires: libvirt-daemon-log =3D %{version}-%{release} Requires: libvirt-daemon-proxy =3D %{version}-%{release} -%if %{with_numad} -Requires: numad -%endif =20 %description daemon Server side daemon required to manage the virtualization capabilities @@ -761,6 +758,9 @@ Requires: lzop Requires: xz Requires: systemd-container Requires: swtpm-tools + %if %{with_numad} +Requires: numad + %endif =20 %description daemon-driver-qemu The qemu driver plugin for the libvirtd daemon, providing @@ -778,6 +778,9 @@ Requires: libvirt-daemon-driver-network =3D %{version}-= %{release} Requires: systemd-container # for modprobe of nbd driver Requires: module-init-tools + %if %{with_numad} +Requires: numad + %endif =20 %description daemon-driver-lxc The LXC driver plugin for the libvirtd daemon, providing --=20 2.38.1 From nobody Sat May 18 22:31:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1671821812; cv=none; d=zohomail.com; s=zohoarc; b=Fy9FSStbfdljcpwTIuQaYHXyiwMT70pgE/aCC6bIYjVWoxrJ1KXKUADfz6H5Jjm8FYEyOinGnVLPc0GaoQ3ZbCNDWid2ROmu78R5YVQwGBWEhH2eFsW1ZTm4nfPN/M9pvi8zcWiikjBW4tWyqUka+Il3bY50RNY6CO8Pnf6DoEY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671821812; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=nIGUTPneDpK3z0prFQsnwz32FYMnD8b3scW05pps6yw=; b=SPv2IEHj9ucIVnIb62+YcoV2HgY0WlnYbmkXg3f94hI7LDOnm8F9JgVH22NCBf6eElr1t5HUsz8XeK8TqLrpUZ6ztOdC3Ilv2XlQa5vdOcsrcorjodreFA5E9p+uxYrH9Y6j4dGzBeWacwmz3onMQh3cduiFThsJ0//eiGBn6YM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=quarantine dis=quarantine) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 167182181264927.240383758587313; Fri, 23 Dec 2022 10:56:52 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-19-TIez0YirONOQE9zif5jB7g-1; Fri, 23 Dec 2022 13:56:50 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 25D382802BB5; Fri, 23 Dec 2022 18:56:48 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0FCC0111F3B0; Fri, 23 Dec 2022 18:56:48 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id F3FA419465B3; Fri, 23 Dec 2022 18:56:47 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id B42D71946A6D for ; Fri, 23 Dec 2022 18:56:46 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 9F097492B00; Fri, 23 Dec 2022 18:56:46 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast06.extmail.prod.ext.rdu2.redhat.com [10.11.55.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 95DAD492B02 for ; Fri, 23 Dec 2022 18:56:46 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 776FC18E0A62 for ; Fri, 23 Dec 2022 18:56:46 +0000 (UTC) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2048.outbound.protection.outlook.com [40.107.20.48]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-414-Pkgjc_fNMg--q5QB3hijQQ-1; Fri, 23 Dec 2022 13:56:44 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB8577.eurprd04.prod.outlook.com (2603:10a6:20b:424::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.14; Fri, 23 Dec 2022 18:56:42 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.012; Fri, 23 Dec 2022 18:56:42 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671821811; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=nIGUTPneDpK3z0prFQsnwz32FYMnD8b3scW05pps6yw=; b=YJbFNlf6NNLHFutVt4Jhv0vUGb30TYIRwn2VusVBtJ+E8mymtm1yTRmSM3K91ZapJfBowy 5cMps0TltCFA1Xfas+j24Sf11Nolol9Ppe3PQAonhMPa90O/9L4bZtdZH32ZdS0bdE6Yem mCeNWEuYOGzgzoI/VhO1ukJPFYDwsG4= X-MC-Unique: TIez0YirONOQE9zif5jB7g-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: Pkgjc_fNMg--q5QB3hijQQ-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V5 09/11] spec: Remove libvirt-daemon dependency from drivers Date: Fri, 23 Dec 2022 11:56:02 -0700 Message-ID: <20221223185604.6134-10-jfehlig@suse.com> In-Reply-To: <20221223185604.6134-1-jfehlig@suse.com> References: <20221223185604.6134-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0018.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:15::23) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB8577:EE_ X-MS-Office365-Filtering-Correlation-Id: 9069a6b0-ffdc-4301-1668-08dae5176e69 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: hhPZ07/fCpa3ih6ZwsjooD/BjIMwRzuNRHD8dJqVU6yEBT3aB/BsK5rr6Mfbqdab+nCTkSZGs0CR+uv6WmcawzwNDivuuehc9hMSubhOXtL5YV6CjjBDquCJozsEPDoGmRAm+M38ZBY1deFK3O1nmoi1oiQCsYeOSgGudOtsmhLynrG2kVytfAbCG5cnN/MKJNoVMdkZfRFpw27SazzbPjI67qhyVjB7WNICo+B0sZT7NG8oalHwKU4kOWnsZZ92m4Ct16X+ZJ7ZWiHh+N6cQu+ZOlagKc0trcn6GdOaVyXwOwz8rRcDpBdMbMHlWRutvCYwttuU1ocolx4zXJaMqUqPVwiqCqaV3C7N9EgRfdGRGA3fsqM6yUrK3UD8X3RWKnjxVzbRZKpVzD8eEakmXnfRRj45T3P89HCx2nZek9UizpRKlr0zV367R1V+sWKud5X6zxWzoEy0diCU6NUpXuIm5Nre8UyY7O84LGr4b0oahoSf7F0HNyzlTVaugu551ERs0rN7c6BNOR0n1Dl0B+CZrVsLGvLnUxvCp0czdRDXkRDWP9Cv3j8npqb4HALlxCGzXWlBD4zjo0hI8A20cSNKAI3ZaYmN++hT8cPh27ugk0b0/vYN1VyXp97CkXXZYGslz3ofY7JwD5HfgAdXkw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB4899.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(39860400002)(346002)(136003)(366004)(376002)(451199015)(8936002)(4326008)(66556008)(8676002)(36756003)(66476007)(450100002)(41300700001)(66946007)(6916009)(316002)(1076003)(83380400001)(38100700002)(478600001)(6486002)(2616005)(6666004)(26005)(186003)(6506007)(6512007)(86362001)(2906002)(5660300002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?eBKHZZNnE2vCY8k80h4d5a+SOF2hbvczXcOTZ0pUcDDTYDaEvXf5pBJFXyVc?= =?us-ascii?Q?ItzZd8d2MPlizCMu6uWXVMd+h0cvVBqzlFrVW9vW0J8xMffB80bw84HmeYqK?= =?us-ascii?Q?kvHbQdtIc2MgNny+mVmejqyiVmQ10NSb05eCMp0riSvRm1tLbyZcCQbuLfwc?= =?us-ascii?Q?mHXqCihJfz0K+S9lof36DVGK2FkOj0pMeJ/tcgDenzJVq7+hSfSCCwlFgBGt?= =?us-ascii?Q?MWMfkCyyeUgUpMpVlDSWy2/VC6c8pXiCFxoxsSJWBkNHFvZFsO9/nFejKyaL?= =?us-ascii?Q?XwfiSVHLuV6jHpfw+aWxJMPlZ/JZzyK3uxLYp6LWuUQo2Q8g/+gzZvVSd2W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Z0avrmJ+0THD84Ehgbya68EiEdWXmQ/HATj5yo?= =?us-ascii?Q?R9vNxqiBLfSIhuf+R1zj2/RlzB+E0vPPqLbEYAezXPX0UJf4zPkcOOxkfYMn?= =?us-ascii?Q?cXtB3dIdL68c3ERk1J6BKH+Vd8RXwDOTu+WbeqIUnpgWnAfslH+oZcp98R7V?= =?us-ascii?Q?3A2Vi32AX3oLNOAPps8Rh1EpkjuP+recEYPa0S2s29MfVeeZ6FXcHIttRvGq?= =?us-ascii?Q?bU40Fg5ZhiyW259JQd4Ig3bfo/rNPD9BMpaL+NHbQssODYOJoAXVBYRm1tm7?= =?us-ascii?Q?L76+Bcoz1ZYUD/Jmuomf2AeYeb2T2vTzZIoq6v8ws0LQo0EFuUoEmcw3+BAR?= =?us-ascii?Q?0PlJjOvRHLPz13x2mn/62w0IUbVlhMFEWQ9RlmUI?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9069a6b0-ffdc-4301-1668-08dae5176e69 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 18:56:42.8860 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: xsulEky1Po5QqToXq35pUy4jlinnjEvCjTL7cNWaky5X9ZzX2fjsnuB66495gP4EeeGT66JRB9/bLUXPe8qa1Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8577 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1671821814574100001 Content-Type: text/plain; charset="utf-8" To avoid needlessly installing the monolithic daemon, replace the libvirt-daemon dependency with libvirt-daemon-common. The common subpackage contains all the utilities (e.g. virt-admin) and files used by other daemons. Signed-off-by: Jim Fehlig Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- libvirt.spec.in | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 3927698dcd..2cc77a2622 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -519,7 +519,6 @@ the monolithic libvirtd %package daemon-config-network Summary: Default configuration files for the libvirtd daemon =20 -Requires: libvirt-daemon =3D %{version}-%{release} Requires: libvirt-daemon-driver-network =3D %{version}-%{release} =20 %description daemon-config-network @@ -528,7 +527,6 @@ Default configuration files for setting up NAT based ne= tworking %package daemon-config-nwfilter Summary: Network filter configuration files for the libvirtd daemon =20 -Requires: libvirt-daemon =3D %{version}-%{release} Requires: libvirt-daemon-driver-nwfilter =3D %{version}-%{release} =20 %description daemon-config-nwfilter @@ -536,7 +534,7 @@ Network filter configuration files for cleaning guest t= raffic =20 %package daemon-driver-network Summary: Network driver plugin for the libvirtd daemon -Requires: libvirt-daemon =3D %{version}-%{release} +Requires: libvirt-daemon-common =3D %{version}-%{release} Requires: libvirt-libs =3D %{version}-%{release} Requires: dnsmasq >=3D 2.41 Requires: iptables @@ -548,7 +546,7 @@ bridge capabilities. =20 %package daemon-driver-nwfilter Summary: Nwfilter driver plugin for the libvirtd daemon -Requires: libvirt-daemon =3D %{version}-%{release} +Requires: libvirt-daemon-common =3D %{version}-%{release} Requires: libvirt-libs =3D %{version}-%{release} Requires: iptables Requires: ebtables @@ -560,7 +558,7 @@ iptables and ip6tables capabilities =20 %package daemon-driver-nodedev Summary: Nodedev driver plugin for the libvirtd daemon -Requires: libvirt-daemon =3D %{version}-%{release} +Requires: libvirt-daemon-common =3D %{version}-%{release} Requires: libvirt-libs =3D %{version}-%{release} # needed for device enumeration Requires: systemd >=3D 185 @@ -576,7 +574,7 @@ capabilities. =20 %package daemon-driver-interface Summary: Interface driver plugin for the libvirtd daemon -Requires: libvirt-daemon =3D %{version}-%{release} +Requires: libvirt-daemon-common =3D %{version}-%{release} Requires: libvirt-libs =3D %{version}-%{release} %if %{with_netcf} Requires: netcf-libs >=3D 0.2.2 @@ -588,7 +586,7 @@ an implementation of the host network interface APIs. =20 %package daemon-driver-secret Summary: Secret driver plugin for the libvirtd daemon -Requires: libvirt-daemon =3D %{version}-%{release} +Requires: libvirt-daemon-common =3D %{version}-%{release} Requires: libvirt-libs =3D %{version}-%{release} =20 %description daemon-driver-secret @@ -597,7 +595,7 @@ an implementation of the secret key APIs. =20 %package daemon-driver-storage-core Summary: Storage driver plugin including base backends for the libvirtd da= emon -Requires: libvirt-daemon =3D %{version}-%{release} +Requires: libvirt-daemon-common =3D %{version}-%{release} Requires: libvirt-libs =3D %{version}-%{release} Requires: nfs-utils # For mkfs @@ -748,7 +746,7 @@ parted and more. %if %{with_qemu} %package daemon-driver-qemu Summary: QEMU driver plugin for the libvirtd daemon -Requires: libvirt-daemon =3D %{version}-%{release} +Requires: libvirt-daemon-common =3D %{version}-%{release} Requires: libvirt-libs =3D %{version}-%{release} Requires: /usr/bin/qemu-img # For image compression @@ -771,7 +769,7 @@ QEMU %if %{with_lxc} %package daemon-driver-lxc Summary: LXC driver plugin for the libvirtd daemon -Requires: libvirt-daemon =3D %{version}-%{release} +Requires: libvirt-daemon-common =3D %{version}-%{release} Requires: libvirt-libs =3D %{version}-%{release} # There really is a hard cross-driver dependency here Requires: libvirt-daemon-driver-network =3D %{version}-%{release} @@ -791,7 +789,7 @@ the Linux kernel %if %{with_vbox} %package daemon-driver-vbox Summary: VirtualBox driver plugin for the libvirtd daemon -Requires: libvirt-daemon =3D %{version}-%{release} +Requires: libvirt-daemon-common =3D %{version}-%{release} Requires: libvirt-libs =3D %{version}-%{release} =20 %description daemon-driver-vbox @@ -803,7 +801,7 @@ VirtualBox %if %{with_libxl} %package daemon-driver-libxl Summary: Libxl driver plugin for the libvirtd daemon -Requires: libvirt-daemon =3D %{version}-%{release} +Requires: libvirt-daemon-common =3D %{version}-%{release} Requires: libvirt-libs =3D %{version}-%{release} Obsoletes: libvirt-daemon-driver-xen < 4.3.0 =20 --=20 2.38.1 From nobody Sat May 18 22:31:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1671821815; cv=none; d=zohomail.com; s=zohoarc; b=RkaLRimEPwOqsOGxReJINhuTioPJSJaQhxMMobQ9+du0r/2RyUsbcKMt+pdIpR6Y0q/ag47X4I44cCjqT9bMERbLtrzBx8jgsurIUWR+S/V84rayviKVxXzKapYYtTZ17dEHtFTdCWQGEdH04wvzHaEsr7BPHyUvK6oN7qzgqXs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671821815; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=FRtar20dJUY5lKsAAgxkOE42gUXiv362wVy2gTU8dHo=; b=n55fOF/XgQNRZ4Us2j3X/08lpEOkN5sORdtXhLQ+5uoV4RRPF+sx8Sh56VfLgGgW/FuovpVK0otKhFzeKLvvC0G5OjuEnLnJeP/aEzZJi/yWeTnIBJAT/Dp/EOTWYHaM7yiLmVjt3z+da6Q3VWFPyIIipCE9yQZrMW9keZDWp2g= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=quarantine dis=quarantine) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 16718218157551012.0379455757882; Fri, 23 Dec 2022 10:56:55 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-270-YuLDv92jNA66LS0iko2nPQ-1; Fri, 23 Dec 2022 13:56:53 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 714398F6E82; Fri, 23 Dec 2022 18:56:51 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 59704C15BAE; Fri, 23 Dec 2022 18:56:51 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 4A70319465B3; Fri, 23 Dec 2022 18:56:51 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.rdu2.redhat.com [10.11.54.8]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 3980919465B1 for ; Fri, 23 Dec 2022 18:56:50 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 2FA3BC15BAE; Fri, 23 Dec 2022 18:56:50 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast07.extmail.prod.ext.rdu2.redhat.com [10.11.55.23]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 27A70C15BA0 for ; Fri, 23 Dec 2022 18:56:50 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 076E23C0F7E8 for ; Fri, 23 Dec 2022 18:56:50 +0000 (UTC) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2086.outbound.protection.outlook.com [40.107.20.86]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-398-a80vcwG9PuyudKaf6ySlBg-1; Fri, 23 Dec 2022 13:56:48 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB8577.eurprd04.prod.outlook.com (2603:10a6:20b:424::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.14; Fri, 23 Dec 2022 18:56:46 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.012; Fri, 23 Dec 2022 18:56:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671821815; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=FRtar20dJUY5lKsAAgxkOE42gUXiv362wVy2gTU8dHo=; b=aPRYAt/GO90NuiRXO3iUAK/ICcaQoIXfHDPK8LIj12DUqH7NbcpqZGOA9PVsP1k9FOi1LR jFjqaIGgl//TZmIC2pJQJY+xYb8klVh1DwDwXiamqdub+BuvgA8C++AZIR1VM4ksJbM4zl uaoobp2kBN+65pqsSokBRyFbjGvw0Fc= X-MC-Unique: YuLDv92jNA66LS0iko2nPQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: a80vcwG9PuyudKaf6ySlBg-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V5 10/11] spec: Remove libvirt-daemon dependency from hypervisor subpackages Date: Fri, 23 Dec 2022 11:56:03 -0700 Message-ID: <20221223185604.6134-11-jfehlig@suse.com> In-Reply-To: <20221223185604.6134-1-jfehlig@suse.com> References: <20221223185604.6134-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0047.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4a::10) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB8577:EE_ X-MS-Office365-Filtering-Correlation-Id: 3d12ee18-df2a-4399-b2cb-08dae51770d9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: +izCj65UI3ixTJrK/sB+CMa1uQ3PQ/VjazlyTmMvt9dB7Tc72zGth25MkAikedujtgWxRII8vW+5QFJ4VEHSrvgfClW8WMi0mJaC+n7yhq3+yX/+0op3kGOTE0mWfz4koy5k+HTNUQZGEswFJw2zdS17lh+sMrxeaCIHAujbkFP0ZL8CdM/5AcqUhrbrY3D11vpjd3Vg9tFIf1hqqrQWCI9fpDQlAbyhdpU5j0JVQ/wCe1YoJIrOK2bVG8PqsithCLFnM+Q3NY1ZUzXneZju6FD6YBLRR0AS2z3APotIMiEbUwrb4HTwATABVoZp6oMZHAnAtNKuI/UQ2wjHvtQ0rewrp29VhthghPPRR013bbAKpxFNyPJikIFFQpX2fiOKLKGz6lBwNpWhAjYDJV2ysbabNefZsLj+2Fce2P6dpznVlR+FWL65tYHM2RpRbCaS9MaHx5H76Je4oWukRsaSVpTLi34sDkZhygpxaH0TeZMyXaKGbD8vOJsmkenekfSv0z2LBuE5lwUAPjouzz2V5Lw+7nelSQb3pa9DjtvKwG16C65tI1qMVNHehpwMmDCV1Oq23SoRJ6sKGAPssUMWGku1Qnn6SZ+86XeTrM1fXrB8jj2J3UGkhbWrWUbvTZtM/ixicuc/e7kkLVW9Lxv4Og== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB4899.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(39860400002)(346002)(136003)(366004)(376002)(451199015)(8936002)(66556008)(8676002)(36756003)(66476007)(41300700001)(66946007)(6916009)(316002)(1076003)(83380400001)(38100700002)(478600001)(6486002)(2616005)(6666004)(26005)(186003)(6506007)(6512007)(86362001)(2906002)(5660300002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?6ueidjk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/eZs?= =?us-ascii?Q?bAxh4HBT3mUWamsIMtP/QwGO28JXrC0xDFmWd7dMAxGTLb7lS7+9nQoJwT9f?= =?us-ascii?Q?xSvpqrdMyn0MrXvEYpdnXu1EYddo2WymLLfHmmql+t4xcIkhaV1vmy+ecp+Y?= =?us-ascii?Q?ph8ALPWTyYw2yRlY+PRRDFWCaLuRNQ4LZvLCd1VLIXg2J8+zw6KwTC4iLGHf?= =?us-ascii?Q?iZeRTMdGCKkSiQ775efxFMuKqqPkcfh7zaE7O2Mn3PSzRtkmEgTJRzxMgJ2K?= =?us-ascii?Q?oX6MmKDSOUcNZwxK/Y7qawMSNzRQshU/m7m+X1TiM0nZfMo9ye51C93EfsW9?= =?us-ascii?Q?WVPIbmgXg9plJ+OMPDfrXyJlwKUEXAPGCIBZLTuZReNbmlZc7CVgzuVwRuLp?= =?us-ascii?Q?BejolPc25HM5Qd/Mk2YTR6PtWp5WqX8Mai/OmG7PsUwDxM98vvehuNSVSwjB?= =?us-ascii?Q?gDu1uWY6MqNoXQ8EcKsrjPp4elr7Xv61Ed6/CjxpwSM+J0f2MzwfAoOVe1rQ?= =?us-ascii?Q?aUZ0/gpl52ex+Y2p8dqXqJPemt+CnTBV6ubVzWckQUNS7xRu6Px7BhbfPm2/?= =?us-ascii?Q?A6Z7qdty5S8JH4ZURUZPjCS29NCHPcPag+w3nagescpemXIOBHcvpsp+HsJv?= =?us-ascii?Q?bndiPAe4nsgn8MKL8Y9cII14alrjPdhTBVVDA4nJN9jFje2Mnz3M3a3LtiY/?= =?us-ascii?Q?VzIdQsZsCGhu9jSHRpk8gkWANoeHU5OuvdnvH4cE?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 3d12ee18-df2a-4399-b2cb-08dae51770d9 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 18:56:46.7451 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: RgQ1pqkUdtBKyTy5sPFrcC/mtqZHmrXE8XPn7cHDriVCU2UicXdEipBnU4KIOaEyHf5ZEDeYtoslRFdJJA2umw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB8577 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1671821818576100001 Content-Type: text/plain; charset="utf-8" Remove the libvirt-daemon dependency from the various libvirt-daemon- subpackages, replacing it with a set of the new sub subpackages providing the same functionality. Signed-off-by: Jim Fehlig --- libvirt.spec.in | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index 2cc77a2622..a5b2e2c99d 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -815,7 +815,14 @@ Libxl %package daemon-qemu Summary: Server side daemon & driver required to run QEMU guests =20 + %if %{with_modular_daemons} +Requires: libvirt-daemon-common =3D %{version}-%{release} +Requires: libvirt-daemon-log =3D %{version}-%{release} +Requires: libvirt-daemon-lock =3D %{version}-%{release} +Requires: libvirt-daemon-plugin-lockd =3D %{version}-%{release} + %else Requires: libvirt-daemon =3D %{version}-%{release} + %endif Requires: libvirt-daemon-driver-qemu =3D %{version}-%{release} Requires: libvirt-daemon-driver-interface =3D %{version}-%{release} Requires: libvirt-daemon-driver-network =3D %{version}-%{release} @@ -834,7 +841,14 @@ capabilities of the QEMU TCG emulators %package daemon-kvm Summary: Server side daemon & driver required to run KVM guests =20 + %if %{with_modular_daemons} +Requires: libvirt-daemon-common =3D %{version}-%{release} +Requires: libvirt-daemon-log =3D %{version}-%{release} +Requires: libvirt-daemon-lock =3D %{version}-%{release} +Requires: libvirt-daemon-plugin-lockd =3D %{version}-%{release} + %else Requires: libvirt-daemon =3D %{version}-%{release} + %endif Requires: libvirt-daemon-driver-qemu =3D %{version}-%{release} Requires: libvirt-daemon-driver-interface =3D %{version}-%{release} Requires: libvirt-daemon-driver-network =3D %{version}-%{release} @@ -853,7 +867,11 @@ capabilities of the KVM hypervisor %package daemon-lxc Summary: Server side daemon & driver required to run LXC guests =20 + %if %{with_modular_daemons} +Requires: libvirt-daemon-common =3D %{version}-%{release} + %else Requires: libvirt-daemon =3D %{version}-%{release} + %endif Requires: libvirt-daemon-driver-lxc =3D %{version}-%{release} Requires: libvirt-daemon-driver-interface =3D %{version}-%{release} Requires: libvirt-daemon-driver-network =3D %{version}-%{release} @@ -871,7 +889,13 @@ capabilities of LXC %package daemon-xen Summary: Server side daemon & driver required to run XEN guests =20 + %if %{with_modular_daemons} +Requires: libvirt-daemon-common =3D %{version}-%{release} +Requires: libvirt-daemon-lock =3D %{version}-%{release} +Requires: libvirt-daemon-plugin-lockd =3D %{version}-%{release} + %else Requires: libvirt-daemon =3D %{version}-%{release} + %endif Requires: libvirt-daemon-driver-libxl =3D %{version}-%{release} Requires: libvirt-daemon-driver-interface =3D %{version}-%{release} Requires: libvirt-daemon-driver-network =3D %{version}-%{release} @@ -890,7 +914,11 @@ capabilities of XEN %package daemon-vbox Summary: Server side daemon & driver required to run VirtualBox guests =20 + %if %{with_modular_daemons} +Requires: libvirt-daemon-common =3D %{version}-%{release} + %else Requires: libvirt-daemon =3D %{version}-%{release} + %endif Requires: libvirt-daemon-driver-vbox =3D %{version}-%{release} Requires: libvirt-daemon-driver-interface =3D %{version}-%{release} Requires: libvirt-daemon-driver-network =3D %{version}-%{release} --=20 2.38.1 From nobody Sat May 18 22:31:26 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=quarantine dis=quarantine) header.from=suse.com ARC-Seal: i=1; a=rsa-sha256; t=1671821824; cv=none; d=zohomail.com; s=zohoarc; b=EHv1W5+DkJz1J/BDjUFoQLxVRcXM+3YanEwoWbiYH0ptalQNUR9M8Ll3MW2L1Eun63QR2V/Tlv0KQ8iMHAfeTb9AvkOokAxNq54yF+NVwr5Jun7grNIgMQn52gxC9OcqFW13+oEEXkn6qX+xzIpyAUEYRBiAkY6t/K/X9VIWqF8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1671821824; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=6lIkRQS90lq2p0hKZP/AVh6b4euq+gf0QZVsGHL5fVU=; b=RSTViaFc9SuARp6zYGySurDToLFZvpo5K3CABVRNpep0BdG7mPCw5K1AxR6DwLYyaLA+mi9D1NnMDlMq+pG50hr7R5r6N0zBQh3eL6Dm6utGZUT2VCbHlWnAbtaz90Xfo4CCeBpb5Z3ANxC6mrhnT6yOc5dbdKWNR9sAtLgGCtw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=quarantine dis=quarantine) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 1671821824534547.4599116691114; Fri, 23 Dec 2022 10:57:04 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-177-9wB4zbvmP3uyaMNWLL33jg-1; Fri, 23 Dec 2022 13:57:00 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id B362E85A588; Fri, 23 Dec 2022 18:56:57 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9D256111F3B0; Fri, 23 Dec 2022 18:56:57 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 8A9A519465B3; Fri, 23 Dec 2022 18:56:57 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id E288B19465B1 for ; Fri, 23 Dec 2022 18:56:56 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id C7BAE492B02; Fri, 23 Dec 2022 18:56:56 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BF485492B00 for ; Fri, 23 Dec 2022 18:56:56 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A00BA8F6E80 for ; Fri, 23 Dec 2022 18:56:56 +0000 (UTC) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2077.outbound.protection.outlook.com [40.107.7.77]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-441-Ne01FTFeNEahDnhh2Vb1Tw-1; Fri, 23 Dec 2022 13:56:55 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AM7PR04MB6822.eurprd04.prod.outlook.com (2603:10a6:20b:108::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5924.16; Fri, 23 Dec 2022 18:56:52 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.012; Fri, 23 Dec 2022 18:56:52 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1671821823; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=6lIkRQS90lq2p0hKZP/AVh6b4euq+gf0QZVsGHL5fVU=; b=Saygvi1zTS76U9oqgrzpNKiaC4wWYPU2t2e9G4xkCixB1DThMhqVyP8995ZrblK8oAXcCU VvS3Mkf5XTuYTWwhjpW5vrncIRqG2n5u/wT6Bv9zRIkWs2AneqnaaHjgVbsJNNMv0knqVL 8+hSfX2DiocHxXjf3onmEYXNSkTh9aA= X-MC-Unique: 9wB4zbvmP3uyaMNWLL33jg-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: Ne01FTFeNEahDnhh2Vb1Tw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V5 11/11] kbase: Update rpm-deployment.rst with new subpackages Date: Fri, 23 Dec 2022 11:56:04 -0700 Message-ID: <20221223185604.6134-12-jfehlig@suse.com> In-Reply-To: <20221223185604.6134-1-jfehlig@suse.com> References: <20221223185604.6134-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0042.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:4a::13) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AM7PR04MB6822:EE_ X-MS-Office365-Filtering-Correlation-Id: 123b10cd-118f-43d6-07b9-08dae5177409 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: N9EUDe91o7JNRbKKiScSWxeMhTmNZ02uaERMExF/W5czv9XIwt5td+D5ZrrU03OOxCAvaBNCh2M2BqYsucP3e431iJt+2BAvJYOtgczps++4R+FdzXahDy++psvMDNCmncuLcrGsKaG0TyVd7hdw5vQ1yA72SSDKI9Fhcb31Tjwd1BU+iHsh3DVw2N8Wx+6FRsqhELqeOrxpJGKKsfdfuaS+ER/9Bl923SsQLXks5aYm2/mmQH1ovMF0wJIC80umdm9Cr9M8v/lMaHYokSyYd51qhqt/8PUeBJKROk7K8nvQzQu0QSkFGSTWDLfsHcdTPS2FqKTyVvPOtRhcuM5AMycMeqIl8NSfiRPorYxDmQP3i6KmsyEg0SA0GFbX/7rD1LPRM9ZCfJm2GNmveBY1eUTFOjjdJ2Qy/pIjrsdM9vWTMGmvsGUosxAYvstGVrg4Y2m8r5aVi2NAo+toXI1sWWshkEHPDI7iEzGW8qqaf2EQFFV53gFPa7OTwgDQq6L0zn0cgKJOyEMh+2QeqFIoJKdIMlJFQzD6iopc7hQkAGaat75NAdPUD7vSgBWSeJGBcTwE3h97T1wy59mVIQzdskeg3oFOlSXihFspGzS7BxX/66PeR73fga0MTCehKFkhOw2WkL5QPFIcVgPdYEjMiwqcsRoBDYryMyPN2VWMSs13T+ah8ia1YC2Xn4iKaU6N X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR04MB4899.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(396003)(346002)(136003)(366004)(376002)(39860400002)(451199015)(6666004)(36756003)(86362001)(41300700001)(186003)(478600001)(6486002)(6512007)(15650500001)(26005)(6916009)(316002)(6506007)(2616005)(8936002)(66556008)(1076003)(38100700002)(8676002)(66476007)(66946007)(5660300002)(2906002)(83380400001)(21314003); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?x9g5xzm3zqalp/P1AB26g/ghBiof5Ml+4pKIKtVvjlBLMbC5QkeF8V7Tp/fA?= =?us-ascii?Q?pmwjzAuqkGwI6jq+uYRPsUidIw8nrthxj1C9B2LO0LYpFT6xIUtq37XM7TwU?= =?us-ascii?Q?5dmyo5XM2SMGbx6apNnkrgpYB/KleLXGSiqTiqw9xxFfgRhGeXu1L06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FpXS4rRFlFPFalqF5/WoVpcqGgODN60Ey?= =?us-ascii?Q?tThl3AetrgsImlQecIE/8tSCNxB0J0XDDNUJqAJkQca0yF2DRCJrbg4wiH+1?= =?us-ascii?Q?jItWMjMmE3dxeI9P0BSpO0l/d+LOe4H2YXQaEHCYit4Kz8i/WYGSFxk2QOmh?= =?us-ascii?Q?8bwStRIUOFfdi7lNXrbTwJTS0HcKz4r2Xo/phQXDRM3sQySg5n4epULy9yVj?= =?us-ascii?Q?gAl9z67v3E0Xm0UL2SMbceZ2YhB2ioFEC+0HjkQTugRjgDcMkifg8SHHPCf6?= =?us-ascii?Q?wkFBw1tO1BIKPAIX43tLuGo3nxtwBKe2dO3m9hAGyl0V48XTIE2n+M/G5Mye?= =?us-ascii?Q?Tk12zpUTZb8+PzkyMbsJozJRkxBL1N5DGBnYyRN04UAcFIcp5OoXV7dsZvKG?= =?us-ascii?Q?Naj3Dqw5DZEWMefu4iP3JwabD2516oHzZrlZAZtgkMPRZF8qRHiL2r65r/po?= =?us-ascii?Q?mA6yiA0Ni51za8a63e3e27FSjbiWlCRogacaMqPT4s2KEowvih149qHYngDh?= =?us-ascii?Q?wdFPebOMI6Nd4Axt5bULGUfWWRssQwsLdm0yNrvt?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 123b10cd-118f-43d6-07b9-08dae5177409 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Dec 2022 18:56:52.1197 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: f7a17af6-1c5c-4a36-aa8b-f5be247aa4ba X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: H8KFw+rjixglE21pwMgblsQTrMslzisuhgkTc/eToq3WD9ZVW2NGcNBXmWzeQ0fuN2z4hAxoz7S1wWG1f+hXxw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6822 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1671821826603100003 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jim Fehlig --- docs/kbase/rpm-deployment.rst | 39 ++++++++++++++++++++++++++++------- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/docs/kbase/rpm-deployment.rst b/docs/kbase/rpm-deployment.rst index 7685ee1291..2f50d04c80 100644 --- a/docs/kbase/rpm-deployment.rst +++ b/docs/kbase/rpm-deployment.rst @@ -109,14 +109,20 @@ RPM packages stateful drivers. This package does not contain any drivers, so further packages need to be installed to provide the desired drivers. =20 - In addition to the libvirtd daemon this package also contains the virtlo= gd, - virtlockd and virtproxyd daemons, plus a number of helpers, configuration - files and other bits necessary to create and admin a virtualization host. + This package depends on libvirt-daemon-common, libvirt-daemon-lock, + libvirt-daemon-plugin-lockd, libvirt-daemon-log, and libvirt-daemon-prox= y. =20 - The virt-admin tool, also included in this package, is used for - administrative operations on any libvirt daemons. Most usefully it allows - for logging filters and outputs to be reconfigured on a running daemon - without a restart. + New installations should not use this package, instead opting for one of + the modular daemon deployment options. + +* libvirt-daemon-common + This package contains libvirt-guests, virt-host-validate, virt-ssh-helper + and other utilities and configuration files necessary to create and + administer a virtualization host. + + The virt-admin tool, used for administrative operations on any of the li= bvirt + daemons, is also included in this package. It is most useful for reconfi= guring + logging filters and outputs on a running daemon without the need for a r= estart. =20 * libvirt-daemon-config-network =20 @@ -276,6 +282,14 @@ RPM packages features, the subset of libvirt-daemon-driver-XXX packages should be used instead. =20 +* libvirt-daemon-lock + This package provides virtlockd, a server side daemon used to manage loc= ks + held against virtual machine resources. + +* libvirt-daemon-log + This package provides virtlogd, a server side daemon used to manage logs + from virtual machine consoles. + * libvirt-daemon-lxc =20 This is an empty package that exists only as a convenient way to request @@ -289,12 +303,23 @@ RPM packages features, the subset of libvirt-daemon-driver-XXX packages should be used instead. =20 +* libvirt-daemon-plugin-lockd + This package provides the lockd.so module, a daemon plugin that implemen= ts + disk locking using POSIX fcntl advisory locks via communication with the + virtlockd daemon. + * libvirt-daemon-plugin-sanlock =20 This package provides the sanlock.so module, a daemon plugin that implem= ents disk locking via communication with the sanlock daemon. It is optional a= nd only relevant to hosts with the QEMU driver and oVirt management applica= tion. =20 +* libvirt-daemon-proxy + This package provides virtproxyd, a server side daemon providing remote + network access to libvirt daemons, as well as backwards compatibility + for older libvirt clients expecting to communicate with the traditional, + monolithic libvirtd. + * libvirt-daemon-qemu =20 This is an empty package that exists only as a convenient way to request --=20 2.38.1