From nobody Sat May 18 04:46:32 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=1673286161; cv=none; d=zohomail.com; s=zohoarc; b=QCnbX2zPlT3c+l3gX3Nvd810SbTjfjcdU5clc8RvQLJmUAl7mIRINmYGdh/JuH4jBCKurDUDRYsEggS3qPwu/VxUxPNZH+HqzdaHSGLvbWypfkLktcEY3SjNQxxdHtfohgnOa8Ag9mevZZNp+SqOrCMLTyweOBOd/z8zuh0vQvY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673286161; 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=g0eiBg69diCu7s9ertkzQX9hZU0YylZMIPKCfnRlKWdrtJjshFU/y5N4qzxoov2GXoLUWcFi2qDO8E3DQ5fYG4ZJArUbcQjKDYXjE7JUz3gM6TS7rqLvwtBx4DNhNGdSmDknur2or1u4V8A0irXFsfKPdXaItporvO1zuWg0Zlw= 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 1673286161633140.948800410643; Mon, 9 Jan 2023 09:42: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-480-rEA2-FipOuGIgOliUveDOw-1; Mon, 09 Jan 2023 12:42:39 -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 2613B1C07588; Mon, 9 Jan 2023 17:42:36 +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 0E4BB1121319; Mon, 9 Jan 2023 17:42:36 +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 CC7D41949748; Mon, 9 Jan 2023 17:42:35 +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 AEE6C1946587 for ; Mon, 9 Jan 2023 17:42:34 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id A1B22C16027; Mon, 9 Jan 2023 17:42:34 +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 984C7C16026 for ; Mon, 9 Jan 2023 17:42:34 +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 791A7857D0D for ; Mon, 9 Jan 2023 17:42:34 +0000 (UTC) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2088.outbound.protection.outlook.com [40.107.21.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-PuxiGnDoNRWgw8gYt3TNKw-1; Mon, 09 Jan 2023 12:42:33 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Mon, 9 Jan 2023 17:42:30 +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.5986.018; Mon, 9 Jan 2023 17:42:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673286160; 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=D0DKCO8buY53iwjq5NhPc2vr6X0/+KVK3jJP03dGYho3EyqMwIOp4KbpjgcCK48EI7Az4c MNgIITGfOAl+Wli0xIW078+T+jLCvAheq0WPdV//aH8zMD0BWvu57LH2qTG6Y4y5hOpfWS H11QTWkBLE7PGyKZfDCqSjbzBBKfafo= X-MC-Unique: rEA2-FipOuGIgOliUveDOw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: PuxiGnDoNRWgw8gYt3TNKw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V7 01/12] spec: Move virtlockd to a new subpackage libvirt-daemon-lock Date: Mon, 9 Jan 2023 10:42:11 -0700 Message-ID: <20230109174222.28140-2-jfehlig@suse.com> In-Reply-To: <20230109174222.28140-1-jfehlig@suse.com> References: <20230109174222.28140-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0091.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::11) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|PAXPR04MB9448:EE_ X-MS-Office365-Filtering-Correlation-Id: ef4bde89-6e74-4658-7250-08daf268e1a2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: +8p+FInxMagLZsXyRC7c+AN/SdU9Wjgtxz7GT5ogDU8oDEl1LMeLX4I0/RTJGEbsx8CYb4tqV/eVXGMWMD32NkaKIRDKLy3Z5xUuo+IlzrZDeGKAYV1LJ9IcWVxPrKWm1AKQF39JnNw96GXE/F7LB2Ft0vOeHlUN9rkfFs9ZX0NnC3UvZBP+uOuiOmeqdtqeuX3tSzC0/dvPuIcjUaS/6bbSK88gptmQfmry8OlcP8DJIlbyzfr/Ty/No/XkvlhAeY2Wv/D09rYE2nb6xYIpv5fm4tQiUWpXH1UnXc45ixFgdd6jco5QygEanGSlDXIseA6DlHt1w/R1Rs594+ETcmPR4ujYoV0NIiQg8Jk6HWyzXnQR4Pg5AZfqXsZa0MsH57TWVBlCXDxecN1R5QcZAfT1CkU5EFoVyWyT0ucERPPcsYqEkb+YqBJKKa30QQWFyMffr0wPLgJbRqtl0z7UBda5/rtrK2sUmc/xAXfB40cqJH4ghlKD4efuQhJMgpGaaDN95zCGWW2a5I/PNTyQm7/mcTbe3qnzaNC49RlYLsHFEHq/GbEiwV6evqvUPXeK3jIehZ2JRithkBE+SAd5pAQquimjvkLiWdP1NvxRf7REE/eNgYNovLDgO5/afvPopgDQLYzcQCUGWOul7xVWcg== 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(451199015)(1076003)(316002)(5660300002)(186003)(26005)(6512007)(6486002)(478600001)(2616005)(41300700001)(8676002)(54906003)(66946007)(4326008)(6916009)(66476007)(66556008)(450100002)(83380400001)(8936002)(36756003)(86362001)(6666004)(6506007)(38100700002)(2906002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?CRkveeVlmw04GfZe3sIsKDF99/hWz4hxzioEv8cnow7xzwS+VQEU2NjwwiKO?= =?us-ascii?Q?tRjcu5Rgeh6PAUhf93oAfvSh1XQC5nT1yofXJM5phpxVfulmdAjpdJfxkECj?= =?us-ascii?Q?BZ7nlTW6/vYivt8hT2Vw7Fo6Nuqll8pRdgSoo4XmZRvzOUJUkDUP1zdtNYfj?= =?us-ascii?Q?eMUCpVt3G6w28oYv4Ex9pWV+de+3LMSZf+xUl0Pk0MQWU6Ki6yO/HstlKxfX?= =?us-ascii?Q?vWnz336/uTJu+0g60iUn23HYXoC7HRmg+43xGmfM0qWWCfw2OgWh5OZb+OJS?= =?us-ascii?Q?vRGYEo46jTx+EClv0zW40xWFj2O/P4jMzRrXtbVirolzztLw0mwPCtwbUIeD?= =?us-ascii?Q?lvlfZXtd1PbFsoMH6lILrd1Fxp1nvOx3i7JSB8unjDgCjLqVuJyGOMiRSt3l?= =?us-ascii?Q?tzSoBTgLPSIhQkTmKk5MrBlePuMwDhfySTM/171s9GYoEEMm7uWqCP+3mhf9?= =?us-ascii?Q?uAseFd8IRsXe4d8gxTq4q5F8gPUK8jQj0udNezjd4jaRTifMDh/+dWBWSM8F?= =?us-ascii?Q?IAk0PoRSYetOWsXgvRW8C9W7wbqDq6AhO+gfdlkmRrAL6xKVjTSNelVq1xFY?= =?us-ascii?Q?5PmzcJNnGYIorX5oFBFI4K/mVgQRtKFFFE9OeSzLL+PssWmsV3QbcOUDijVr?= =?us-ascii?Q?7xhGk5PPsY/sMWIfVG1j1QnWvzQqYaDFZA8mhKqVX6PlEwVZFJ7IDIz5Uaa4?= =?us-ascii?Q?2xaqptUFnFygKSz5TU0F7YjTLkfVdVVfNAdV8+7j3YMiXDYAJDlNteJDGvbh?= =?us-ascii?Q?pr81VODfOXnXeHYPR7D2fyHejYdd2ihGSJOhTLBsBVdd2AjJcU36g6RxC871?= =?us-ascii?Q?tdAU2yfu4YROO3QWeWg5VteNlZp1jGdV3pAuMDja6VMA7O7nA5492KqANP0K?= =?us-ascii?Q?s3NMtN9KBPSHsKg3ibSThWMZBI6K8iySJf0r5YZYm527uF90hkQXdkCJIH0D?= =?us-ascii?Q?i0+ENU6yyNiYsvE6d37dF59rPAip25RTot9ad0oGgXEiaZmMNZtK1Lwag33F?= =?us-ascii?Q?tyaqd0vLX5OGify59+u53T40Y6Ll9WuW+lHStWSKQo4pqcqKdGdm+kFQyqZj?= =?us-ascii?Q?AEGa1zwWgeTBf8QSrJ+aAnSMY/r6jI218bEI4ucfmvJmFg0Pgqubh95KgqQe?= =?us-ascii?Q?Rlj4ce3Ro0GljgcxkavXrp+bw92mZrRDpstd6l0y9KWvSP7GBIgZrPPcOeeh?= =?us-ascii?Q?UNfiSz0OiYJBIhYerbtrOx9gmsBLf7g3GSyxCGev5vpyi5kmJ+97Z2sojSmO?= =?us-ascii?Q?YpgTv4dtc8GiXFN8swQ6FceyC79p7n2eeYXWHeWFn+tzr1MBeGXoSJnmkpvO?= =?us-ascii?Q?8VYaK97bqYza7+QRQ/RKGOUC76M0ijZyS75XXCTWcL2tDgPiwM79cyW7Qzni?= =?us-ascii?Q?4AyQM9uGWw3PtUFBhXNsfGVcYPPTWYk4si9eetGPM/kbGpmKLJjA1Am5XkvK?= =?us-ascii?Q?g+zLjn+0vhMkrhXua5K/kDAf8mXjMwd5W4xkTh9VcZqx7rT1nMGZDrgLM+ku?= =?us-ascii?Q?eUOhUO+MRNJLFj7tUWbKKCSRolYBO0795N0bEjWIocNj7oO1sunOyt0UyHPI?= =?us-ascii?Q?RobYqhSZMFmDtImSERNifBSkg3w09ip4hLSncYbO?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: ef4bde89-6e74-4658-7250-08daf268e1a2 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 17:42:30.5355 (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: JK0ZOw6tLStwaRLqcf0qzzPXIeFgxDgewQbSEnTcGH8nINZVfRe6cPcqsthzzkOLhUdQWEFppqVZTUBDh3NqMQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9448 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: , Cc: Andrea Bolognani 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: 1673286163213100001 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 04:46:32 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=1673286167; cv=none; d=zohomail.com; s=zohoarc; b=Wd0gnQGJIfldVc9ec1OHwJQiOz3yp0dncH8X+JYdTwhcHU8ADm3CR99uEMMM7L5K9DbuNKthPWUHkNcAP3trAvwjyPh6z9NuwsVlgJXnTBOvWcitZcnTThDBRTyZgt4mx8+6G+1rIBSZeF4XoVJO6wkd63ke6QBWBfgZbTJ8tiM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673286167; 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=AH9pDJ/JzkGChTlwGg1obNasZhTCWAvdnHN0ZUC1BNtwuv6rT2UeZ9CBfrepoJGc7a4syJEMKgYyjmHrTZI6Cpqy+UQaRHjG+wgsXeak2jQ1XSXTP+syWpYPUJhvtFXBEbHCdcnXKZHhNKiZw5OYxytxbk6/dP1D2PI9YOF7zDQ= 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 1673286167563788.8935041947923; Mon, 9 Jan 2023 09:42:47 -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-533-6Pbr3dFVN26C1y2fDsEuDw-1; Mon, 09 Jan 2023 12:42:44 -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 45A4E858F09; Mon, 9 Jan 2023 17:42:42 +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 2DEEC2026D4B; Mon, 9 Jan 2023 17:42:42 +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 1A7811949749; Mon, 9 Jan 2023 17:42:42 +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 26FDF1946587 for ; Mon, 9 Jan 2023 17:42:41 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 1723240C2004; Mon, 9 Jan 2023 17:42:41 +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 0EBE140C2064 for ; Mon, 9 Jan 2023 17:42:41 +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 D0902101A521 for ; Mon, 9 Jan 2023 17:42:40 +0000 (UTC) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2061.outbound.protection.outlook.com [40.107.21.61]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-503-eSQsivvDM2C1TfT74sOWCw-1; Mon, 09 Jan 2023 12:42:36 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Mon, 9 Jan 2023 17:42:34 +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.5986.018; Mon, 9 Jan 2023 17:42:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673286166; 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=bKqrZf7/LCyEZ7rrZ7345xkhx4X8KjAbDyp2HDvwL9gut8NdbJwUhNDpB0xmh6yto//abh iVdS+OJ+2kOMalrddA34N2Pg8rgwz13QLUM5KPyxeaN/c4Yp8pxdH1p2qGTz4Q/VzdwlFb l2T5oQ9p02fZNoTemC5fcZL0/uZMbc0= X-MC-Unique: 6Pbr3dFVN26C1y2fDsEuDw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: eSQsivvDM2C1TfT74sOWCw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V7 02/12] spec: Move virtlogd to a new subpackage libvirt-daemon-log Date: Mon, 9 Jan 2023 10:42:12 -0700 Message-ID: <20230109174222.28140-3-jfehlig@suse.com> In-Reply-To: <20230109174222.28140-1-jfehlig@suse.com> References: <20230109174222.28140-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0097.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::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_|PAXPR04MB9448:EE_ X-MS-Office365-Filtering-Correlation-Id: 4176689a-2d64-470e-6485-08daf268e3a5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: UXkEKmM+NbNyHP6ch9AXrv8Gn2Vp8vSpD44V6hAMqBU73aB3iMK3+MdyyrF58cOJxbiCtGzATm1eyxYfygklzEChEcDbrS+ypBo5WAoM/h3/DI+Ju7kHTWA1a7qmLpJlqs8IcjHMO2PTvyj3bQv6CwimG9Rgl3E3hNydc3//NpJtlF0uq2RlNuV+ii0FefCsBBFmyRje2XDz1FqDCqAxyqqvKihY/nwGq54z8e9xl0+fGhZImDF5fjf1aXXqSJlSsl9fzNDGgb7nPeUHcqhoRx5ibJB8xe7VtaU7fmiEL5pZ8/UIRdjEQnlE5hbSyNwoKOJl+0jlk8jxX5gUK5GiBgdQnXYFI2XYjjJrlbkepbtNqQl4TkdQxQArvUzhEr2SqQO18Q44uCIRLENnfge0Ua7Pe3V3bljmfusC0lPP59pEt6P221a33LrFL2bhXF38873Q/swgEPsN8BnF9zGl08EVDJ0cpQuExmG1fjjbKzXcaUl4CRenLnuTpm1sRi49NMxoJxi31FywJERDj7Z3Rdwws34f5IcD2pR1LFDzXEn/qN+T7OhHVG/hP56Nq2mh8OF4lUX5KqQuNtslreuI9PdEdBGYZE206JnFSgZRUlBG+/5A+ewaZ+6A0MFbDmHMq0FFPk0DaA9btq0kk1KAZg== 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(451199015)(1076003)(316002)(5660300002)(186003)(26005)(6512007)(6486002)(478600001)(2616005)(41300700001)(8676002)(54906003)(66946007)(4326008)(6916009)(66476007)(66556008)(450100002)(83380400001)(8936002)(36756003)(86362001)(6666004)(6506007)(38100700002)(2906002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?GNAXA/n6hnUaSwhbJ+jxrZ+pLi98lDofzY6Lc9jNWZeASSHtLwGlRlluEFXK?= =?us-ascii?Q?XWnXv+DopNaVh2/4tn7UejWisF4reuBxyRACYbU4HQ4+IfzeIsAqaTZjcsWU?= =?us-ascii?Q?sNGa/RVGPqNfsdlOSuuKs/UkzaxSWrIgBkyNydhzCjBcJ62Kf/+hy278pd+x?= =?us-ascii?Q?558fFm4lZRBe6JDWbbCV2xSvTjLhw2o79zlaZi2+HrTKCKe1ZicIggm79iF2?= =?us-ascii?Q?ClY0BA1icV927bw9aJ5pUbpDUNoMm4bb8eL6b+SkBj7JDyjBBN2kowDxgl6W?= =?us-ascii?Q?e8EAsTLe4UZvLylZCMGK5tklhSccuw0kFmtahcb3gwV9WNEPZLg3CD2+twav?= =?us-ascii?Q?TfOzgAEa9OQg26fy1E1B55CstcV30kjXMfyJ8ucey/HbWhFBAw0K4SF8K9M5?= =?us-ascii?Q?9oXZxLES9GH7B1/9oy6B/5pkXk95F52VjEk6hBWA7xGFyxD3iHcPQLRsbBUL?= =?us-ascii?Q?zCry19mMS2/IlBX3pxj+B+ET2szqGTtBmjxdVaTzsBQd1w/ASYc1hoXF9BW+?= =?us-ascii?Q?OrcfGRHz55B2NSLhSRhoDbTufgFWvJ2YgUw1yHybbmr29UkfbiCEG4jlOsdV?= =?us-ascii?Q?8MIHnTHGZkEUtnqEGYdGWPuZ4ve3Q80CMAVLp2agQZ3glellRnwixZ+DwMdV?= =?us-ascii?Q?wOXuK1KYP3LOY/Oia5zUII2sSEAaTgqoNM/d6mEu2B01FmtVbj32rRuShHaC?= =?us-ascii?Q?eJv8hhqbZManbzs1a24GLMPyp72H2LwWsVoKjg/oxt314dD1rrlmbgIP9//Q?= =?us-ascii?Q?FQAOyMi98tqYC18gfwHq+wxRssUGH97sJLqyFR5GMFkcSfRXfe1r5xS+itZm?= =?us-ascii?Q?FSzm4CwCKv9/YkYxYmYZ7IknNyBcQpO4VrKr0Dtf/ahh9PJANxXWwPvkIpOH?= =?us-ascii?Q?hxYnt6htnzCWzdaxR4hZFCCFZiqH7Bpu4hOE4dANvDUgz6bcIOtWzrIgOrUW?= =?us-ascii?Q?oxDJLhJetu982KWYg5ovUi6QXqRHN30jgFh2fGZrS9BBG2+g6gEar+Qt7qjq?= =?us-ascii?Q?NvEYhpA69kQuomYwbXgDmYs4/WL8GMUJOjs10pA/sOnvqmnUufxK+ulESXyA?= =?us-ascii?Q?VUK9DkvegzrfUtzuXC/rQxGVG3EMhGIj1rELOpwqFB6GRPlc6NiPAItWrkOo?= =?us-ascii?Q?LxGGtwEfscRPVuVssKfK1NL7VcLaIR6crcLhmnwVZMuRjdHmKghsTgoqli1M?= =?us-ascii?Q?gB9SkXZb69zd+8M52jUbLdiglwgTfV3vJ4vqXRfahWG6dCyhrJud+CW84bYd?= =?us-ascii?Q?oJ1wZfhA0Pn5ZoMRdTG/Vo3KitECQ9vgT5dt3/xhkHt68IIdhMRIwnkcVfuM?= =?us-ascii?Q?Pd05svYefPI8B09g2pHaZnok5XTDiMEPpAPLrc/yCxPUcR72JnTHz/A1MjTZ?= =?us-ascii?Q?oseNzGRpMam0qHAuGS4WKa+pFK4Wg6l1lFkVlZvvAJd/mueUyp7CoH7Uy+O2?= =?us-ascii?Q?xdRKBIW0LExosHB+rt9HCxNawLd4ofYr8fmE0igCEt/KwUzXBS8d/o5Xwnyu?= =?us-ascii?Q?HC8zOtz+a+hf59p2uYJJkJfqCjbTlA+p+m3ROIsaRCefasgwWx0YWO2OM040?= =?us-ascii?Q?a9UaItPcVlTO4TOSPlmfP09Yl/YuqZSMXKBx4X0t?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4176689a-2d64-470e-6485-08daf268e3a5 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 17:42:33.9102 (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: Pr82YIoHCuAdOjNmQ2IskUaz6gEJ7E+NwPP/m5Flv2EYMQ3b4rk3Lueh3BlvHGsAmv8j5kFgUQTIIgqsa/uaGA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9448 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: , 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: 1673286169348100001 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 04:46:32 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=1673286169; cv=none; d=zohomail.com; s=zohoarc; b=LP+XDXEDJrsOo06WRZ8+sdir84Rq8y+LVkOrJie0tuGGAi8jzBGxtIkinIiIK8VN83SuL+S7QCgNAlFptYoVmop4Xsx3W8ZYRLu5KdSOzbwc+wIsrzppvh6MTOfJAJIAmZgHQ1vxboEQ5ChHzhODyH3kPfSdFh/QOPXWNPYC4R8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673286169; 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=E/vEDUsflMVbqHqvyCLOgWvZtBRHxBNivF4yJoCYsu7P4mJ7xk8fXrbNLK88wDFmNILG60gZJf+2PyNjvNDIUp+bi06e8J975DPQzIGHKNH6s1vrp7eahelOY7ZuVNQpAKna6XgpwpIHp8SbB6qbL+31pDS4PMHO4Yh7QJwac0M= 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 167328616904833.03765083480994; Mon, 9 Jan 2023 09:42:49 -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-410-mUpxhPmvOT-4TI4HluuyWA-1; Mon, 09 Jan 2023 12:42:46 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id A3D04101A52E; Mon, 9 Jan 2023 17:42: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 8B43F2166B26; Mon, 9 Jan 2023 17:42: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 7C206194974A; Mon, 9 Jan 2023 17:42:44 +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 5F841194974C for ; Mon, 9 Jan 2023 17:42:43 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 54411492C18; Mon, 9 Jan 2023 17:42:43 +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 4C1D7492C14 for ; Mon, 9 Jan 2023 17:42:43 +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 2C960185A794 for ; Mon, 9 Jan 2023 17:42:43 +0000 (UTC) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2077.outbound.protection.outlook.com [40.107.21.77]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-484-F8QjeS4VMimlWwL0vcU44Q-1; Mon, 09 Jan 2023 12:42:39 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Mon, 9 Jan 2023 17:42:37 +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.5986.018; Mon, 9 Jan 2023 17:42:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673286167; 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=AP6i1xTx7/imppk21N+a7CbvZ34DHujvg3OyS4uwwHJzhB9TPnBv6Fr96JTNQylH8Mj/uI yIhFH0SOceVGA1WBZtlD8k9sdij28RYBGCM9KsCKi84jzM6sQ/T9pyNUrTdI1gx3n9EOa5 SKziKT2aoYNnmMXtibbCIipw7O2CtKk= X-MC-Unique: mUpxhPmvOT-4TI4HluuyWA-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: F8QjeS4VMimlWwL0vcU44Q-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V7 03/12] spec: Move virtproxyd to a new subpackage libvirt-daemon-proxy Date: Mon, 9 Jan 2023 10:42:13 -0700 Message-ID: <20230109174222.28140-4-jfehlig@suse.com> In-Reply-To: <20230109174222.28140-1-jfehlig@suse.com> References: <20230109174222.28140-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0132.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:97::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_|PAXPR04MB9448:EE_ X-MS-Office365-Filtering-Correlation-Id: aa5f5d20-89ed-4fdc-0915-08daf268e59a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: vTN9/UzOJ5HmD2y6S1SyV4T7iufL462p9oDE1q8k1KpyaFMubh1Wp/ui8gTUveOYt9R+jWEwWLx0dVjj9jK85VJMVKb6pjHjWQeJyRHjZ11utWJtXYx7Guz2Q2yMHlkIO7ZIWNznIfs1iQjK5nsGCOGq2GicG47bbvrMzrpGM4JYU0j5mTYLp3cKolDmW7tAvMb0OsXkiPLSEguGgV2ZodO2inIUM1NRFYu0CzO1Ck5vq8bTARrrykm4lib9r+NeATzsmP/AdPehh2Pn5psyPGi+JTPIOVBvO2jgSPcNKd+8mD2quGnYPaGMehEdy7ENhPCA85kBcFxtSBcfj4Qbfz4V2DJg6qlDJCWML/2PyqiW9MNqS3Uoepcf2PYJuD0XNBnYv5FaWN4nhM3wkVZR/D4I0JYOEvALcmkzNHi2icSRK87LWmbUDJ0aupPl0cNN2ffKFGnEyVqh+33VCF57hBBDs/TLGa1LhlLO06mLnUaCy19Hd/i1d2XfW4afQOwj4hxgf/LRxR4rJVoaq5ElFvOMaMaJqFaZBnWIgy5JmPufaLPRXUqo407/5Y+NaF+tLM4EAs7Z27H0c2VRi7hX//RTgmHiOL7OroHtqf1kjbj7ExWoJDPDmussA9AiXhpjtUr40MsiKVGdOax8YPMwiA== 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(451199015)(1076003)(316002)(5660300002)(186003)(26005)(6512007)(6486002)(478600001)(2616005)(41300700001)(8676002)(54906003)(66946007)(4326008)(6916009)(66476007)(66556008)(450100002)(83380400001)(8936002)(36756003)(86362001)(6666004)(6506007)(38100700002)(2906002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?hVmrojpjlqNAe94GQ/HW6ejnxs7g12oVO4ubdmV0DJxTwQNGn9yV2bruRKpg?= =?us-ascii?Q?UmkhGdwsitMoHWSfHoAoCv0a09FH//fxZwqUspk9TBthGs/8xAfH0XgoF3fz?= =?us-ascii?Q?9ebikIoS4d6kFF5jvia2ndIXj2sAl7yblxwE2+E87GSPZzwIpNFcirugsrtC?= =?us-ascii?Q?ds93TZRl/BzGB0wlVlJEc2f0fwVIQ7KKvUb9LZyZh/EdcmerMDelVr14OP2J?= =?us-ascii?Q?HzE4VNOszOZaHNtd0kfu6UNJiZrf+ghOHuF4r9vUx7u4hhgMPFsDtmJqs5XM?= =?us-ascii?Q?epeMGx+WNDXcZuBrT4nyJwZHWaJM5VlafEotlWRM3cwnxP/MWwRWRWKJbp/5?= =?us-ascii?Q?gYuNrJmOa9d0vyi9JFvrbhQtuC367EiUIP4o0wqj7RvA25/WDRTTDv+r+hgm?= =?us-ascii?Q?Se1Pha0y3YLlAQBTHOR1K7bNlM0myqkypu4o7wEq9BZZqkEjD6zr4a+TQkZs?= =?us-ascii?Q?QjqoamBjHhy2QWYSGEwH429aLzjOWTt56sLrc8zp90h4lGJTG7NJsM0UCoJG?= =?us-ascii?Q?949OipbxXzo5Tw3NmxwcJtQGD6K6mwN7bZJdHBrpAiF9tkSKqr6ntR08ZFkY?= =?us-ascii?Q?fZN1q4pGJJgl0DtKyrpBOuDBPMSifkO2mTozJI6IggRRzxnPxWDsD0rRaj01?= =?us-ascii?Q?MSq8yFQMAu/YesWlseIHr1IWq5Bb4LPT20PJLBwQvjeIBSdwVZxNl/ot03k/?= =?us-ascii?Q?CZf5S7UCTCE0qW43fwpU9j+Apwkw5C2N9il0ABuEOIPK48/BrrNXczuTw41q?= =?us-ascii?Q?EZHZ/iLN/CmO4COVXs2Oi60pYISO40WU11R1cBxerwN/KZ0apSHfyDULWp2i?= =?us-ascii?Q?lPDq3qleP1nhOLV/+13QjLJ3XHBbjoNRat8K3hqfQJ+mwppYuhiUWuH5AotF?= =?us-ascii?Q?XD4lhfrHvpjkY7IzJW7JXILRnnI9LBIlThOZXK+nPrXPThozk2PIXiUJtp7B?= =?us-ascii?Q?NDElSc9E2bTd/JLhE48luq7aHGNlo4+5+YkZZVPCGJN7hulb6O7WRQsH6r0c?= =?us-ascii?Q?y+N+JOCeyHt9HA5pl77pkeSNULRRcmL6BRswUVvbirZFxURb5HI6AvtjzeZt?= =?us-ascii?Q?c0z03A6YXPyT/YEvO3TFvKjoj86lH9M1MXYy1fOKB2cAvEl5CZmqiZ6zERhF?= =?us-ascii?Q?7+KtwCAL1DfUrPAaQzPHUz4zm/J2sW/DKpSX/n+iKykfbCdbD4eg2hH1/AON?= =?us-ascii?Q?5xRoutlxtqhhlWZB9Ahn1oUXMQuX31yp4zlAH1+dUGVCn/VsWF5odWB8vmdg?= =?us-ascii?Q?1SK4qqrjrnF2EBqp30OhuyfJJT0CX2xJ71lLmFztInT+gjDfj0YmwWVgk2k0?= =?us-ascii?Q?1EOvujCQN9xLLVAFToKkyqGGdp5TUn/6J9ojQC+KdgzafNJcrMUWJxO1THEM?= =?us-ascii?Q?uR7/UqEUUf8wpsTLOjsn/vShKmEyfzrIoOt8EyAwzQKoG4Sy+50PpsT8Nh5D?= =?us-ascii?Q?VQz047Eu2tJ+ZUb4lSfzVHyGXPQNwnc+WKQNOIOTnOhyKw99XP2TNHN5t3c/?= =?us-ascii?Q?wBTPB3ZxTbuWVZPTVpI43KHE/Jj1KwW8R7j6eklCv8C+u2qYOgBdTJohxoZm?= =?us-ascii?Q?Bf5dwywVHqJGYQXXPcrN1KpepuRNhH+IoAkQ4sqS?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: aa5f5d20-89ed-4fdc-0915-08daf268e59a X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 17:42:37.1444 (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: SP1tZkG+XF9MReqnfF9SdP0FRthfnoZNz4w33Z4M47Mbm5nDDSgmNoyFtkzvwQpJ25ag9V1eR3ZJy+fuycYDvA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9448 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.6 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: 1673286171279100003 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 04:46:32 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=1673286173; cv=none; d=zohomail.com; s=zohoarc; b=SNZAOLtlyygiIXLBidWZSylIUigyypIZSBnpCf5KsYyidi0vTAJKVJbt5cW7/w4hvkh2gQ9baj3QI2mUItC/SFC2etgUmScSMqMDXVrrOVoi2SIYnHsa0PJrG+WaK+g3eCxWX9gbmOsx/TMrIYEI5zri91bsM8jF5/6JtP07hMc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673286173; 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=lHBiDTxSiVT/E4bHuOvXAJb+AmEhG05Re2T+0aqTna0fOOGcILapnpzecRThxnOeolpeyS1E4//Cx+HdNWp0egoe8i8mRUPWQi7XdKwZUXu4MRfIoxYVispPSe974RzpwvecnsAVT6/2WU+Rik6ekV5nle9h0gZd6VYE5qm9ZOw= 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 1673286173656701.4420195126761; Mon, 9 Jan 2023 09:42:53 -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-43-1Thf1CguN0myuVNZyuJBGw-1; Mon, 09 Jan 2023 12:42:50 -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 7A0653C10229; Mon, 9 Jan 2023 17:42: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 6356C140EBF5; Mon, 9 Jan 2023 17:42: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 554E0194974C; Mon, 9 Jan 2023 17:42:48 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id ADCF21946587 for ; Mon, 9 Jan 2023 17:42:46 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 9111014171B6; Mon, 9 Jan 2023 17:42:46 +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 88C8F140EBF6 for ; Mon, 9 Jan 2023 17:42:46 +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 6C1002804120 for ; Mon, 9 Jan 2023 17:42:46 +0000 (UTC) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2079.outbound.protection.outlook.com [40.107.21.79]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-609-OEBlwo1MPm292zLGEMlKfQ-1; Mon, 09 Jan 2023 12:42:43 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Mon, 9 Jan 2023 17:42:40 +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.5986.018; Mon, 9 Jan 2023 17:42:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673286172; 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=QOKf4YRdkqHWT7l50Gq2XC5UDEmhheTupP/MKiXiyHOrwPAzzO2HPpoZfjpdG1Joyx72Ne m+GGPAqx95qHtLxpcO/jsQm5w4jzuHNhV8oUMHQNHz1F48TKFBx0c6uB4SXWC5rMxPCfFu DYjeMrRm1zumb8o71WjIqoGXQroYT5Y= X-MC-Unique: 1Thf1CguN0myuVNZyuJBGw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: OEBlwo1MPm292zLGEMlKfQ-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V7 04/12] spec: Move lockd plugin to a new subpackage Date: Mon, 9 Jan 2023 10:42:14 -0700 Message-ID: <20230109174222.28140-5-jfehlig@suse.com> In-Reply-To: <20230109174222.28140-1-jfehlig@suse.com> References: <20230109174222.28140-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0127.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:97::8) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|PAXPR04MB9448:EE_ X-MS-Office365-Filtering-Correlation-Id: 9b5a42da-761b-453c-f944-08daf268e7bb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: HTtIJccfU/N3lY7JGB8zjNmlo68J/EFK9AWbrvke4gpq7/zmL2GSQqCLNmZiRgfOj7f6Ri6AxbxHFvB4zDaTVotFIC3uvM+6cvi5VA4s5GaU3KwM/PNkXYRp188bmIowKbb7zzKe1gw1pDqtFaJlxnMqVhKSr/uLHFORet1kOW52gAumtx60m+HPDC9wCf7Eh3keAJOFFK8kvLIKnwHavM63idmStw48SB4sO4irzP/2If1mV9sS7kfB34H2hwfvGyoW/zc5MDgM0tBF8eyipIiPU5tYMPbiu83NUxK5eAgH071y2eD6RTj0pmsIlfrWx9MhjaSpwAA+qxsqcReDQezWSM03PcZYldY6tYJNJs7vcOBUALK6jiY1syvWnvAbMHiN1AiOdz/VH0dhQWypLL0C9lIFKvfo4DkWzN1oUDhD+i47BT+xGeQ6/JDnQCwMOLB4U5FrMdcSxOwmX1j074sJQJvLS+yjPucdFsTW6g9Fbv+mddzhQHFhnxbFeuJ9H1wr4NRCu1FUz2kL/CU45HxPC/uo5zdpM2GFzfiiFO5EV6Jc+KxPBQP9+hMYPvvXMovvFHkBjksKa3i7LmvTSLfZJx6Qn8F9/S+H6XWmZTvQifCjbMZBFYjvr7UqCGr4/RwM0rFiyyf/yYT5OpQwsA== 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(451199015)(1076003)(316002)(5660300002)(186003)(26005)(6512007)(6486002)(478600001)(2616005)(41300700001)(8676002)(54906003)(66946007)(4326008)(6916009)(66476007)(66556008)(450100002)(83380400001)(8936002)(36756003)(86362001)(6666004)(6506007)(38100700002)(2906002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?N7Cc8WQmlxKhs5NnwUrO3awnipqva43xBHU2xKHDnVCPe0XuoLbulP23vVtT?= =?us-ascii?Q?XFaoBq4ZFNMEGVCIQB37t36oqMlWD7mBIUPnpeZS8fCCG/GufIrv51x0DCph?= =?us-ascii?Q?ySCuw3PEn0SZSENExDJUQpzuCdxiPBXoIEmnS9bwJOPf1IGoAjAOI2+ziRmK?= =?us-ascii?Q?BrNC/uCtoRUVZz6VcV0EeKwucuZ2FzlEJ9clFwZmLBI3BkE6znRLyhfGyL13?= =?us-ascii?Q?cu/XNL9FCB43yT7kbG7ludE4fq9Wh+OHxFbfH46zyBnocyaXY4a5vRDMoYop?= =?us-ascii?Q?fkgKP8saO/9t/N9tHgn5IuMIGsv2o9MwvFS6ymHTGPvDeqx7fNY74hKMKKH/?= =?us-ascii?Q?kFn0jDOEeK1xCxwRaha7DoejExMMS+yt0juDObOrmKBDvYN/eF36+9jXfMbA?= =?us-ascii?Q?jTYDn36b1Kxh5ch9OrPmS/OwXXMIhkBzDGdvd0BAFyfekP6N62+CYFer3icg?= =?us-ascii?Q?SqaNv2H4N+V9UepPdbQX/Xir/i6eWVt6QxibJ2uOYZg8kVe3uRqwLNh/m6Pu?= =?us-ascii?Q?XueetdJV2hLU7CD3ZyBfcrCGR+9Q2KCTI5cHr8z21SeG1awprmXk7Gf4lId/?= =?us-ascii?Q?Qr0ah1qP1MIAEpDxA+Mkmu/4OJBZRJyJVpMCduUYxjWPlbVmxX3AWf8WBpJe?= =?us-ascii?Q?YkBqbZP4sqrE46U100EcY2nWsReCUDz2DfuWc0/zsKFQub9CCmrQtjEw5yln?= =?us-ascii?Q?Eiz+yl7mprShtwE2wKd9UpojUoxkm51v5bYrUZW/HzQXL3jHpHOVJLGWgPno?= =?us-ascii?Q?dlFjnuV+YXh/EJvXNHt4eHIaaVPulpJEJIZpIkuQgTxNGdZ1pxLNvnYEIO6o?= =?us-ascii?Q?u9xas64BTM6TeIBu4hk9JPt9IPaRra0J7aiHRBqX63r22YW4ujVWEZogwibV?= =?us-ascii?Q?4+0LAZTZCRI73cV3l+qXRS1VK2Xc6D3VwCrnmFlMPq2+mwsedivpFklvB/g6?= =?us-ascii?Q?VGMadag0kb4cIHIt8E8foznrKF/JifuGfahTUDnkj4pdHzNKDIsg3FuGkKJw?= =?us-ascii?Q?QANYPBOivolmIRo0M+Ob0PcYbae4+oMrkrxXBjPkwsoPV6QqhREGQYal/rwx?= =?us-ascii?Q?1IXarmz9DW942nuIZolKe1Yx0OUe0GpwTK4C9gmJn/vbMYNMAGCbyzZuJ1iE?= =?us-ascii?Q?nMENRBmajjugwwJjvDo4YAfZTTNCMdfhOlMBqx0K5QzTc7FkHFtOuMdE+7lq?= =?us-ascii?Q?D3rO/b7xuGtMh7rYcVeQ0OPrQt5x14I8JZfg+Cxxzu6wLHXjBf4uikgaGI0u?= =?us-ascii?Q?SO7zX+U59DyGSwYHUevg8xDbTCx7U2Mxf/bdYL9nm4C67JnWQw4JEsP8aJwZ?= =?us-ascii?Q?wtbO59BlikoBF3p0QbFihKGryG61CTMPwLwdF6ZToJHutw/yrb8cLr0Xu4Fe?= =?us-ascii?Q?qlohHKD6bhlC+9X+Op6htqHatxv3KngEdGOOVBycwZ4qsvokbFQODDJ8iTYE?= =?us-ascii?Q?tq9/eyGmURpZQ5jEyuc1q0/TuOGZHAjaQheVJrxZBGnn7OFCOjoZYuj00gIG?= =?us-ascii?Q?X+/gQ6m+HVFV+jvAza+VUm7A3VdwnCwS/Lt7BD3IBpzP1sQbn08A+EnHbrc2?= =?us-ascii?Q?jel5SVi1V38xgPlAq5slA1TJaJ/pIAMcZoG+BSuv?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9b5a42da-761b-453c-f944-08daf268e7bb X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 17:42:40.7691 (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: aEOa52qiNdUNUjvn3U+UO08ElYNFegCtNf66YpuXthL6YRtg6/SVIepCui1cunvymCo1uuh7hBsg9mMm4+zpXQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9448 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.7 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.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: 1673286175241100001 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 04:46:32 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=1673286178; cv=none; d=zohomail.com; s=zohoarc; b=POBqXvisxuZPpLHM2rpvZJcnqYe4sY7lf0lznkGafplrBpvHiw+i+7znfQfOv8DJPdLyPm11JVxBQOmchJgQKLTb0f8PaFmUfU1w0EcJIvpJ+UZ0dXBDUi/yMkaTD3FwQJl33JvDtRTkwxrwGR8t7Wj2Em5URChWw0RiQwvRM2c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673286178; 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=aLcoWj09ZboVQBNc2KMn80mdKsRMOyX/hu3lJZ1tDMbOKyvEXQhoAJWWEDRD1wjvj/pElAgCPo3NCcXnHN6if6alsWWVTRBO08kXQLiuc4rrOnuBwLiKguUTf7jtxMA/qaxfgwMfyEnxBbE/lw5zkzDbel/v/ui1Ij6xVV/P/Hk= 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 167328617827959.64753896790751; Mon, 9 Jan 2023 09:42:58 -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-57-ETjwBun1NX2aE4mL4ZYs_Q-1; Mon, 09 Jan 2023 12:42:53 -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 CEDB1185A794; Mon, 9 Jan 2023 17:42:50 +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 B614B40C2004; Mon, 9 Jan 2023 17:42:50 +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 92CF5194974D; Mon, 9 Jan 2023 17:42:50 +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 278961946587 for ; Mon, 9 Jan 2023 17:42:50 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 0BD3A492B01; Mon, 9 Jan 2023 17:42: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 02E99492B00 for ; Mon, 9 Jan 2023 17:42:49 +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 D89473C10228 for ; Mon, 9 Jan 2023 17:42:49 +0000 (UTC) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2060.outbound.protection.outlook.com [40.107.21.60]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-584-3e58A81COHqNF7tGnJzTpA-1; Mon, 09 Jan 2023 12:42:46 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Mon, 9 Jan 2023 17:42:44 +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.5986.018; Mon, 9 Jan 2023 17:42:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673286176; 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=Hy+j8bru8tmYQ1IKwjFTm1+PXlS6Ze3Y0V/wtT5IBPBMVMQJdFlsR4RfeUcGYBNTZo9u0b jxCqBzgCo3hEIGJiSmh1zvQXuFh+nRvTA+T+uidJymAygHJdOE5Z7dQFXXMvbw1SEBWk3f 5XS2h+hciiHJgbI+9TWUU6gwvGlxvi0= X-MC-Unique: ETjwBun1NX2aE4mL4ZYs_Q-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: 3e58A81COHqNF7tGnJzTpA-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V7 05/12] spec: Rename the libvirt-lock-sanlock subpackage Date: Mon, 9 Jan 2023 10:42:15 -0700 Message-ID: <20230109174222.28140-6-jfehlig@suse.com> In-Reply-To: <20230109174222.28140-1-jfehlig@suse.com> References: <20230109174222.28140-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0125.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:97::20) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|PAXPR04MB9448:EE_ X-MS-Office365-Filtering-Correlation-Id: dbe463ed-8803-4e3a-fdf0-08daf268e9d1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: eSLh3VPVW4s84qid5T7TkJivsY0mP/bKZgwJVgETk/9lPbgZvWDpBS3ds31MkT2gaEQaqHCAM3aLUmlL9QEF/e0Xcet2od/FKHW90GjdyaeufQ5Mqtuqogzbc6TTy9idr5RRU4dd+Kh1+7IBp6Ztp9Bbh1QggYZmEJo5VKwXsJ5qKOE1z+y82CEJtFDMGkygAp6S103vGmdPPTKBrK/RjvZHWRYKrgLOuWRAaNv0H0Scd9HpMwH2E3txQkLmZ48b76iq7Jg9loLxE7UtCMiWq1mtfYkuQHk5JeMDaa6dsWqNdCaLx88pXhV4BwDyRSQRn57wKLsnT7LrvleRn23Z67t+vSqe3JvwQQYWlPZ4APNNixXPxEF9TMmT1AjkbFw9yxY7qe9w09VS19hm1RWS3PJ2pbjNJHKVoPdWDJWk9MsJY8/lJo5Amao2iPVA4g7bCAuvcQG2hQlVDYYEuRa3ce1TkKAy3v7W6yzzOrqdqn5efmYt9awH8soiWW9Ogg6zGIjlXTo8rkEPNqWdHMMR3xEIo7aYhyETMIfK6q3g5XcYLCISzjSVsQRiTDLXNueZliYmTqBgx/Gonnn9U5z4nctUOmuQc63WlXry1vNaU0pQw/fQIk4ApLm5PApmsvv1p4ob+DG/JMNX6BBMkg/lohtuJS9tpS8SX4GFElK5qwclJxDyg0oNwnZSUdZ3HHWE 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(451199015)(1076003)(316002)(5660300002)(186003)(26005)(6512007)(6486002)(478600001)(2616005)(41300700001)(8676002)(66946007)(4326008)(6916009)(66476007)(66556008)(450100002)(83380400001)(8936002)(36756003)(86362001)(6666004)(6506007)(38100700002)(2906002)(21314003); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?bm4mEQF95ah2IHIe4g9L7ngPuZ67YHMVWFPm3KlOFMsIXDGFhY5bXTuh3SMP?= =?us-ascii?Q?sQiFxMrjQ9r0La/o9VNoNhYy3W7/r73vnrpZWL01RjoDAFmj//+3aowGa8PR?= =?us-ascii?Q?4L0Cf+nziG3PSgl/b7HEyiGYGNrPwtTLV465cX/bKubeGaui6cFO1cUMickm?= =?us-ascii?Q?5kvyMGIFlkLr4UDLmrUscK4VCXKEmlJ/ArdtlLNl9xTFT9g/hNUHL1SBMze6?= =?us-ascii?Q?WTDIyZdL+xjEb8HIovCahXEaQBiOTc8sVADJpQT8v2vR84O31nMsHbZds7NW?= =?us-ascii?Q?SUaYas3YAUgKhBKgJG85fmQ+JOX0EvQGQnjjaWdADoccJndoZSEgMmd2pNte?= =?us-ascii?Q?suBieKdJII31fzjr85diHZnkiZdafzOeo25BRAcU16F9U5dpRMjFcBl+b4cH?= =?us-ascii?Q?J1Uj8fwinxZzXKcztZkfNySvny3x0U2eoL7mUMdW+PcEf90ZDwfZirzCLEX/?= =?us-ascii?Q?zuy+n2SfrhR0Rr4R+ZSfcITf9U981x9qKRIltyQEMJ8mLVoNaQtCbdRk5OSn?= =?us-ascii?Q?m7F754bfHafvU+VRpdY25QvQon7cs9Kt7SAQMMS/8fHMjnPIe/UmSgKoPtT7?= =?us-ascii?Q?M8s4R9P0z4GDn3vnHmHs6T20H5M+Hj3L8bfMZkjlqw15ly+cYwuuuFSRWWiL?= =?us-ascii?Q?S1CsNL/ru7reli6UbjLNP2jKKysTo80ntXIa67scmPDBgfhEKO56pke+k/hG?= =?us-ascii?Q?oHGWKybfRPMSfApMBPfyi2I5Z/oyyPLDo+sxb69OuoIPKl1OuZ1tFPAWtv9k?= =?us-ascii?Q?zYqhMLwGZ6rwdzBDXtY7RwmJS+Q+feDBh8pOV2CPX5vjngmHuCrpAmqwO7qD?= =?us-ascii?Q?GQKvrVrki7csNY9yOBcgm8M9292D4hxD4Pv4W8r32akgsDvsEmNciVasTUSz?= =?us-ascii?Q?P2XYfoy33Kyf6+c9T7mt5VilVkeLFshIWOhec8anjdw3++DSafLou5hK3xXx?= =?us-ascii?Q?fjaqx/URbhOayG9mHk/f3sXMkctP4SiaCZIqb2hsT6BRMI207XPWCEgQZ6X4?= =?us-ascii?Q?LKtL46SIfgQWoLIzQaF64IdSobcorrpjPIiQ0i9NDPpNPw2ZnpChufV74L7x?= =?us-ascii?Q?pMbISdyNa2UwegACiYW6t9jtI1k+zzgQAALg4KPOm4zMBVVOoQD8XIHbMosR?= =?us-ascii?Q?8QM6/E2V9zgXqO9cXCXWXdzRVMxSqa6RAfTe/HAYh93w1K+FrgRTNdVD+OBp?= =?us-ascii?Q?bAbeCady+vuLzNpAcqKmNZw8nV+otbuH3C9QTi7TqJWiYAx4nQpN3Td8VsPR?= =?us-ascii?Q?qFrgit7fr2uuvcAdeoebsNce3BsZX9uaaSc4XVW0nBjbiV0ihFen/7Woj7fz?= =?us-ascii?Q?yDwrJcJkuZXnlkgEA/seVKEenvk9EeGjb4bN0QFrzkXvh2mQlGZax7kuFYR8?= =?us-ascii?Q?pKmT0IUcRQmsD6Rm2nOq3F4WnHSUmCePTss6bjeR94zLDTN2DzHF7yzL5/MA?= =?us-ascii?Q?VostG9MInWTslwayxFA0KiDSODYFTc+A6fGW2tvhnHWr58SDNNLWSblgrt7w?= =?us-ascii?Q?wgim7uHzhfEgQWW3vbTj5DKwZF1sTLmyAEESgX6xESSUV03NGXeZLhLJqeMt?= =?us-ascii?Q?wCuIBqtEImEKnWq+krhxztV4EHcu5U534JbKsUdl?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: dbe463ed-8803-4e3a-fdf0-08daf268e9d1 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 17:42:44.2376 (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: zZakVcXCz8JMBmA8zSvV07L7iH4Q/IQMq4W3+HX3LsN/Qx+G6yaUTej54EoqmO9ABQRO2Nb6dSLIiDkU2fEaoA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9448 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.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: 1673286179299100001 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 04:46:32 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=1673286180; cv=none; d=zohomail.com; s=zohoarc; b=G8hZVzh3YCF1NOHNYHXUXB2x02yGQTjeCnl/BTzvDo3R3ytXb569ruVJ4BuvwygBrL3ip4IzWDoHDtR3jYxhyXyhykBSRKJLWW6mmmDkLvKX3pbuNytEibUfcZfknA8tjs1nVN7CTpcIx8WIavx2npjJAGlKgZqwperzaapaViM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673286180; 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=PvWkNzpSE0weaHc93xnaIuO0X8xnqiYNgcsjlhHtFC4=; b=BIpX6tZu8oeDLwvyHVhQeCtWtnF+ufSSqsyD414m6ekINQApkIdCbFyZIxwgdZJyPzf0MZk/KV3DRIsj4egECFaF305oeJTqwIFvSj8aGhVYyUHWDOZSunoRABAdOQxHD2Jgx8PA87eFLyAT/g8qI7qGKa9HE8AMGQd5DhXEFl8= 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 1673286180178956.5419793858003; Mon, 9 Jan 2023 09:43:00 -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-205-VTmSBT6DOC-EaNblWkxcew-1; Mon, 09 Jan 2023 12:42:57 -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 050963C1022B; Mon, 9 Jan 2023 17:42:55 +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 E08F842238; Mon, 9 Jan 2023 17:42:54 +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 D1CFB194974F; Mon, 9 Jan 2023 17:42:54 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 702B8194974E for ; Mon, 9 Jan 2023 17:42:53 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 5FB804078904; Mon, 9 Jan 2023 17:42:53 +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 574694078903 for ; Mon, 9 Jan 2023 17:42:53 +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 3893980D0E7 for ; Mon, 9 Jan 2023 17:42:53 +0000 (UTC) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2074.outbound.protection.outlook.com [40.107.21.74]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-610-5S2tc8mBMZq6szM5KGsF2Q-1; Mon, 09 Jan 2023 12:42:49 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by PAXPR04MB9448.eurprd04.prod.outlook.com (2603:10a6:102:2b1::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Mon, 9 Jan 2023 17:42:47 +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.5986.018; Mon, 9 Jan 2023 17:42:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673286179; 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=PvWkNzpSE0weaHc93xnaIuO0X8xnqiYNgcsjlhHtFC4=; b=aLqyI6/4ZXEz7mlkMPkvX2CENl79WDggeODYbyNyOpmL1qjqdMpRs1+KZ+ZtUrDJjy/xe8 oPz/k/pIdn50PNiWWPhxHuTpjKHUq1d3R8AUWIEkkksFYMrCkt7dMoxQ+1oBoIV20Zrio3 bWU/w47H4Rkdd2dLYuUAzoJUkFDEo3Q= X-MC-Unique: VTmSBT6DOC-EaNblWkxcew-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: 5S2tc8mBMZq6szM5KGsF2Q-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V7 06/12] spec: Move common files and dependencies to libvirt-daemon-common Date: Mon, 9 Jan 2023 10:42:16 -0700 Message-ID: <20230109174222.28140-7-jfehlig@suse.com> In-Reply-To: <20230109174222.28140-1-jfehlig@suse.com> References: <20230109174222.28140-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0128.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:97::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_|PAXPR04MB9448:EE_ X-MS-Office365-Filtering-Correlation-Id: 9fd2121a-f7ca-4e80-3e13-08daf268ebe3 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: 90g4iPKywLMYoGmXPlZ+g0MGUsZvn4z9l2R3MKhBVnz+gwK4Hsj1qNGkQmHB5C8QgbtbbxDx4HRbc6UiUxl/J2L4NBhJ91NJ70Ne705CNkTZwutCvnK7+vMlOP5hm+s4ujeQH7HZyamxUnMWRFqBSGBzGhuLpS+qPyEDt4TTkXje83wLffMNQclNQSP2DSiuMFaMreJYjDr0EQcLFhUkL++M4ov8mwhM0K4SynxUW4LcoV6ZRxa70q77jCLAoGTX2/iJn3SOiEmJFFMd4jpiXZDxj0pQsKxqTFzPAQB2YHLLgRgDnaWPLx2WCRAUCU23reLL1ks8bZPjLgtT3oDPrL3TjnSOVPjV92nbf1JZkg5OSHmYwE3J8Ub2fZU4Gr8JG7IPZBJUOHZLhteLrq+JdyFqUSVM6UWpdkWKBQTShDRBL2F+vsB43BADzEjyzgcAwCcbRwv7ujhSA4V+gPopkrOe8E/fbHpU8wWr2DlM2VfIYeuusNWu/BFqssMDrkIwYFwskqhrKCmBRVQli9KmLXFVICo9LQhKLDasSAKmGFXvr+jzltB3nGLvj4M/6igHMNgCH2TjrgqlaI/84uNeJ5u6GI7rhy2eAXebtplbaokUHqyBfc8fOo1oQnAySBPSIw2kbDySfMHf/yd+1jh7OA== 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)(366004)(136003)(39860400002)(396003)(376002)(346002)(451199015)(1076003)(316002)(5660300002)(186003)(26005)(6512007)(6486002)(478600001)(2616005)(41300700001)(8676002)(66946007)(4326008)(6916009)(66476007)(66556008)(450100002)(83380400001)(8936002)(36756003)(86362001)(6666004)(6506007)(38100700002)(2906002); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?V+kUf+XQhB+xtGvL86Ywg8TZlpLoHi0S8Wqd6bagjTa5/5BLTrVS3Pd6rFba?= =?us-ascii?Q?emUw9yzg4HN8rMhxVL8dPnHSFZ4gUT7tShG4DkrObYyxmZ2srpVNMyvL2Mya?= =?us-ascii?Q?CqFOf8OIuQ8Dxxa4kw6IlDvbPaa8HdUDhq8dsA+ykh9VMx590CK89Y294y8k?= =?us-ascii?Q?k9FRlyF1Qrzm4PU/xryXzJXcVSzATDdLfpKdjtYzvC0Peu0xipSQ8m9cX8XH?= =?us-ascii?Q?jtY0Un8BFrTZMSbYCjyZHX49ICioW6XTz8C5H3i+1nMjndppMBnYmoeJHtwK?= =?us-ascii?Q?EQlJLdM4DnjG4wEZpsVGCm8E8ih6hTHlk+k9gqdOEIRYF4ZJ4GfpONdWZw8p?= =?us-ascii?Q?WyXnGToy78jeU3mcXTPECTuVXrghypUxT+pUsJU9cEV+9zEdZHcaDH1pgW9G?= =?us-ascii?Q?vRsHJ9g3cOWlVPq42AwXfKuqHAvVnimEEmAnTzlkQqxopb4QCzWBa5q/KBmA?= =?us-ascii?Q?lCfFXIXV+szvlr17hobGg6Xm91b5tYx2Vl/YSDhjXUv5sxRs0kxs4txpU5PH?= =?us-ascii?Q?qKzC6F0Y2r46+PrKmiLDEYDlFBhid8zpxi7FQr/0N2ZVmt6jI8qk4wdJrD+w?= =?us-ascii?Q?zHGKfQJUGUxwD1YtXN2g+BObufieeBFAh+x/1Xz7dr+jWA7xlcla9wsrM2As?= =?us-ascii?Q?hx3tu495lTYmQ+iaLQu6oNX4/K8PHXhoOKJZm3qQrTr4+JJbGsuQls1VfeO1?= =?us-ascii?Q?wgaKBu0UEYyR+sPrO6gTdLN8EKKwxnA4z8zEJpaooU7ZCyG10I6RgjkU9vX6?= =?us-ascii?Q?qtS26dwxZq58WP4/kGl3ihv2ynQfIRbFVLKVsWASgMEC36bx09iWJaq9KJo/?= =?us-ascii?Q?e1/6MlF/sc0wM74cTHQsQ6Cpx0tm0BXlkCbypdg1R9oFreRVDfW/PenwL63+?= =?us-ascii?Q?e38At+dc/p29w3PySzGWCJPgL3BVQWx0K/r9RbV+xA+gkgjhMmU+sNnx/SdX?= =?us-ascii?Q?4MOnLXX97ZpBGnf4ulsbKrjSes3A5aFlKEdm4g/pq2nuPf6mLTGN1+jyLF3w?= =?us-ascii?Q?kCNtH5jmzCNWPeDPPkP6M0n3S1iQjAwS1YvoWXFn+E3AgmrFfyaC1MlwRADt?= =?us-ascii?Q?Q/4L1UPtwhZKCUNMgnVUrUs6GnuAZnTSnnWyb3C4oRY+gzT8s0+oeZG+o3Ai?= =?us-ascii?Q?T5jXcLrm72MSV+EwGrWPoKT5Geg2780LuHZGrcPfgmSxpj0L3cQYLOM4P8rm?= =?us-ascii?Q?cvom9TKYCpF2FSuIdN+ojA7lDRvjpx7ypRUSsov6qM5b04ygya+vMS1BC6Ev?= =?us-ascii?Q?k2Ose60bFz3636wqKG/lTh/0TweQUVg6ymfdwo7rlNTVdHnHIIhuysdsUcCl?= =?us-ascii?Q?dLZLVybXujMj2VQpLvJ9vCg8+XyDWh5axzpMdhJSQW7wg2cFRgYZqKLKP1ko?= =?us-ascii?Q?RK6no08ESM8cR/bLKGPnn4o4tFzXE3BIoPYy/jvE2CupsOyLmM129PS58G+M?= =?us-ascii?Q?KtPdwlqun4bS7tLtyk35cAlGosYedq9VCjAiAqeJkBokgPvCgY3r2au0xx6e?= =?us-ascii?Q?50anbEDX06MyHhPlESRrjxF+pNOHQPCrNuVPfxrV9LJ0XGc7VmgI6jPE/T89?= =?us-ascii?Q?VMnhYE7hATZHJ+sBEl7N5b5BBOuT8MpwT9kUwqVN?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9fd2121a-f7ca-4e80-3e13-08daf268ebe3 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 17:42:47.7530 (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: aMQEN92I1sHaoL+m8M8APx/7cnAEAtz6CGRjEe0A6rxAZHbz8DIBWjr3HEPqPs2U60wbHWzbJNtRp8O62lrfiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9448 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.2 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: 1673286181260100004 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 04:46:32 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=1673286181; cv=none; d=zohomail.com; s=zohoarc; b=XR58a4U8444T1NuYAWZeIqCT6zzXvifaSSU1nEIoz3LGOq6uM9RrxVFQB35KVUe+vLPyvhNHUt52dDuCZbJGiUDT7uyD9UT9UB15Qw51Q21hLVcsoGUk3KrcrAeCMsQBsCU29Ur4MIVLMB2q2vwSp+GKWuyfAmnNNsSqvaPI3wU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673286181; 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=3pWwOs9SG0seoSd5PqTIxhDfiuGoOfsvU8AQi2r0+Mk=; b=e9WKYz3pzym1keI5qLytUik2ezZR+3AzjpHqR1bFxAUeg5Hp5OBmd5JGftqWIAM4ySF3IKbD9dr3JoKmiL535U5M9mpAjA0olgnqRy3NDqSTssO9SoB3uVXib+YtZXRLGqSMsZ7NevUr1C2aXkK1sWeBiQgmm6zwwFBT0qalxdk= 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 1673286181363102.60800925928447; Mon, 9 Jan 2023 09:43:01 -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-76-MWWyS8xrOrah6vVrP_SEJw-1; Mon, 09 Jan 2023 12:42:58 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 069B7100F904; Mon, 9 Jan 2023 17:42: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 E16D54078904; Mon, 9 Jan 2023 17:42:56 +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 D3B6A194974E; Mon, 9 Jan 2023 17:42:56 +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 18A061949764 for ; Mon, 9 Jan 2023 17:42:55 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 0ACFE492C18; Mon, 9 Jan 2023 17:42:55 +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 02B7C492C3C for ; Mon, 9 Jan 2023 17:42:54 +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 DBFDC802C1C for ; Mon, 9 Jan 2023 17:42:54 +0000 (UTC) Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2073.outbound.protection.outlook.com [40.107.103.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-256-d_G94eiHMquuZbQ9b5IxPw-1; Mon, 09 Jan 2023 12:42:53 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB9095.eurprd04.prod.outlook.com (2603:10a6:20b:446::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Mon, 9 Jan 2023 17:42:51 +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.5986.018; Mon, 9 Jan 2023 17:42:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673286180; 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=3pWwOs9SG0seoSd5PqTIxhDfiuGoOfsvU8AQi2r0+Mk=; b=TLZoLjHFoZ9AcCpz4jZB4cXQ3SwwSKcTK7YAbmXsXav3OVDuLdBjmskwpxtJHICyO/8TcP DriJobMf9iK+o27OPMSbXZl4atbTpbBtJMB/GIe2+C/nhKPNNGz2DOg3BglCO87+qLxZfi jfwvaqT84TZCZWueZ5qfiO3p0hu5x7Y= X-MC-Unique: MWWyS8xrOrah6vVrP_SEJw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: d_G94eiHMquuZbQ9b5IxPw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V7 07/12] spec: Add module-init-tools dependency to nodedev and lxc drivers Date: Mon, 9 Jan 2023 10:42:17 -0700 Message-ID: <20230109174222.28140-8-jfehlig@suse.com> In-Reply-To: <20230109174222.28140-1-jfehlig@suse.com> References: <20230109174222.28140-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0183.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a4::11) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB9095:EE_ X-MS-Office365-Filtering-Correlation-Id: 915b78c3-0f69-40b7-92a1-08daf268ede8 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: ScGqbafOH4nUlA24oRhh+2JZEAtE/vZd5ikwPKEpq58NcW3z3CDs1AndSuVYX6wqM+3YrQInb23dVHWuowrx88KeCK8O981Rd9RLTQwsgzFClhmFFi5MW+BHIqIokH1J5sk0pOVNnS/vcafFURl8YThA9nQW5K746h5tJjr/kOOo0A+hvZCgxfPUa/umaV8nypls3jW37kr4PGsRXpi4QbtgJ658rapxcALtqL/XPXBdniNTV3ddEy/fLODg6xAFDY56mJ73APDNceRkEsk3ydlUsG0ZbVnNTUjHhbkqzXuFOrCr4X7PpVrCZ6EimYomF5xbuEVK8tx9XTede8t72i+kLFl3AgPHvL9BZtzEirVsNWqFrslhMJfWeD8i2+LmCkQNwH9LFx1tPkCju91dgw3z46NoDd95wlROCty//zUXaeW2e4p+tRKxHfhZoY/J8U0pSl1/NqJIBLy2zx6Swbk7hW6pymJ/P4hHKaHHJUt7njbGbK6KCvwmxgXbYwar5U1fbjZgCPe6+OYhnFq++XKnDmrelNwRn8N816uK85voACubEJBJ8vHerc0WD6nm6h3lr3YEQAYAi0y72Nn2Ag7EfsLsydSjUCVE92APozTMMb4QOoF/DdlAXkZViODNo2PiTdGcksw5NazZfxtSeQ== 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)(136003)(39860400002)(366004)(346002)(376002)(451199015)(41300700001)(4326008)(8936002)(450100002)(5660300002)(54906003)(316002)(8676002)(6916009)(2906002)(66946007)(6506007)(6486002)(66476007)(478600001)(66556008)(6666004)(86362001)(2616005)(1076003)(26005)(83380400001)(186003)(6512007)(38100700002)(36756003); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?zzkvzAylyMGRlTxVqMQMMVrQOT6SBBK3Prq075780mU4RnwxZav4cwD+tt84?= =?us-ascii?Q?vlw4zHn02n764D0P5QV8CT5XzKafyoK7MJTndEvPTuAHiOhs3dz3HVpOHQpB?= =?us-ascii?Q?jEYggPFJ8W1ez11ucMFg9SrA3ily9n29KFL1k9V1eddnl/3DZKBrObNHFno7?= =?us-ascii?Q?lirsiSAcTzHr1HAtpe7Pi8Uw1miWuMiDVs46EopnLlZmSlaI2yvPFHGuYUMq?= =?us-ascii?Q?PUeeUlj5SKTG4lKHkDOj5WGepJnFvehNUvNuz3mgLg3hGaAdvRinm/mIdjY3?= =?us-ascii?Q?7Hzkd7kewPOKLWYqWhtnmAjbXrj+GqyGmStEimuxhtPm+SAtoCne4mn0fGkX?= =?us-ascii?Q?QLFGGZjDmr3Yphjpz3CWUlUcOcChRe/lGk41qSoXn0w49CssaDoG6poTLh/o?= =?us-ascii?Q?1TyLt6NIyA9EdkaB/UNCGjiH/9LU0wffA4xSFbakDl6Q6KGBjR7p4NfnVoz4?= =?us-ascii?Q?CCt4KWxdKznW0hIKWFWizSri1OAJ90FLe3VWDnijHJiEQnmO7sPzv229WedA?= =?us-ascii?Q?1dpwVpPycD2FEX4c/6n1x/FWr8fEcqXeQLsW0mA4r460TVfN7FTuoP3cQlLq?= =?us-ascii?Q?zpsnzz40bsT5bdRqch3Rto4VaGA9BlKikKWzKQIGYpKkiWWQR4gkYZIRRtqV?= =?us-ascii?Q?pUoWCDVimRA4nb+i4ot0fi/O5Nd0l2jC68WZ4mrtI4ZtVLxYXfo6llEFfIA9?= =?us-ascii?Q?DF2CBs/o0AzhA77+MT9BZijzsDKgaM2Xzv3vEPUqQMEADMMbhTf6ucxsJId1?= =?us-ascii?Q?trE3y4Pz9XFMmRl+QI/I8zgGknIWn0in/Jj1IUQcx9cb8nc4GBsU88VyRKjg?= =?us-ascii?Q?odNEnkVSal1vj/DBOA/dYJoiWZPy8CDyTPzJsNeLTxciam5k/KyZEOcowFKM?= =?us-ascii?Q?To8ioy38o24rI51agTk8H5P700cbJAWUsGC+/buMuNH8PrCsDxK0YjZTXyFN?= =?us-ascii?Q?i9SKHJ7pcuakT7CzfK6/Cj1GKb78pN8PR9lc8GT+nen4gdskaH00rXNrq8hl?= =?us-ascii?Q?mpFbsH9bmNzlxUJBQnkZfhO2TRniQS+AciB2BP90OPvE/jFTZwuIu4Mtix6K?= =?us-ascii?Q?yFx18pBJ4emigSQ0IQep71J7ws6Peph0LM02ZF/DnzXjwO8nnaj9mT+S4Lzy?= =?us-ascii?Q?rdR4rfP/niaqr+UxIAZwnF/GoTVAmNZLrdYA5mFvYm5yH1+LJY+obc+nAG+8?= =?us-ascii?Q?x5VFK/OocOZmfZU+avWblDSZ0819wEHYruvfwFoE9nW3r6IibzUAq7RgP79A?= =?us-ascii?Q?IHulC0AeChbyBu6rB4a1qrLU88R+leU1brR3uFm32UNWZ8dxXurCF1m1Xz9h?= =?us-ascii?Q?4oA8btSTD1mcC8uhkiGWm0el0Qg0IdWiVv6mzLiNEsG8JhJTd39XzBkhZigU?= =?us-ascii?Q?zHBtFE3gU9gztMnombPjtKd+Dv0mLSzH+KlyA9lW082Z2MDjU9/rkp+6SauK?= =?us-ascii?Q?Ha81nR/FxIQuFm1EZ1o8PcyvZ6XhDx0ryWrF916NTUFl8385pBGcUfOlmyox?= =?us-ascii?Q?dwp31EYO/d9OQzW3WrN3355IxqeHYHyucvV06Kd8eE+YKZsuwnJ2hoQaZDY1?= =?us-ascii?Q?DU7VxKETk8yK31e4Aq5fJbnAJ7sE92SvR3k+Jd9M?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 915b78c3-0f69-40b7-92a1-08daf268ede8 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 17:42:51.1277 (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: OeZRYoIK8juzlrnPdE/Xiy/Wn7kAXt4DDOASxBQfP7gP4sNf183tYsso0BU9H3Acp26Oc4OU6ATxM1qlPYbGNQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9095 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.2 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: 1673286183284100009 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 04:46:32 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=1673286185; cv=none; d=zohomail.com; s=zohoarc; b=kfN7pnDU4VtqN8lgHpUhg/jJuEE/GY0VOBduGT/ZwipPPhQ6zbWgc3hJuzwch4pJT8qq5HIl42Wa2i0iW0nkBOzysESpBPdY7E4OrUwWKliejiBglVUPAAJ/T+xE0qZSZE9bVOAjtT40HmtqSppwVEATKTRocOPAyz63BonSICw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673286185; 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=dHiHshKlbSGw3wIttYNVeHWOx2kZzSNg3FnC5H/gwFc=; b=Q8bM89E0jZbEvejBzFJQVEAl/sxRe54ejOcI0kweGQTdQ7/YQJ0ZgZUAao5UujjOShkqbSRUyGcLNpxS0bjt9iCUQXaZrANESNHPwOdlo6kODpcFv/+4zsdY154dENbQ92n6MqhYU/z+u23efs1iHNjUbpYzpaqrH5QwOXM/Cfc= 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 1673286185852445.93357566690725; Mon, 9 Jan 2023 09:43:05 -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-498-blyBP1ImNsudUzWX6krJ-A-1; Mon, 09 Jan 2023 12:43:03 -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 4233C3C10228; Mon, 9 Jan 2023 17:43:01 +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 28C671121314; Mon, 9 Jan 2023 17:43:01 +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 1AA381949750; Mon, 9 Jan 2023 17:43:01 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 5B2671946587 for ; Mon, 9 Jan 2023 17:43:00 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 3F8D8140EBF6; Mon, 9 Jan 2023 17:43:00 +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 36DB7140EBF5 for ; Mon, 9 Jan 2023 17:43:00 +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 1CB6B1C08966 for ; Mon, 9 Jan 2023 17:43:00 +0000 (UTC) Received: from EUR03-VI1-obe.outbound.protection.outlook.com (mail-vi1eur03on2043.outbound.protection.outlook.com [40.107.103.43]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-296-gNKYnOK9Pwa93ErLkyK21w-1; Mon, 09 Jan 2023 12:42:56 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB9095.eurprd04.prod.outlook.com (2603:10a6:20b:446::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Mon, 9 Jan 2023 17:42:54 +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.5986.018; Mon, 9 Jan 2023 17:42:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673286184; 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=dHiHshKlbSGw3wIttYNVeHWOx2kZzSNg3FnC5H/gwFc=; b=GLNMPmVEbcz/woqgJoyJ+ic52+rbpOFYkacbc3c7UKI4giH/z33ji4lwmyWNaWPx8AnCBZ uiPDHs/KUikEtDU0VksKmc0rEo0asFJUhfnzk0I9R1oy3ltdMRDHzakkAPhNQnaMyNka1t QnGext6SgRuVQuapwfuWwwFGfYlerNk= X-MC-Unique: blyBP1ImNsudUzWX6krJ-A-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: gNKYnOK9Pwa93ErLkyK21w-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V7 08/12] spec: Add numad dependency to qemu and lxc drivers Date: Mon, 9 Jan 2023 10:42:18 -0700 Message-ID: <20230109174222.28140-9-jfehlig@suse.com> In-Reply-To: <20230109174222.28140-1-jfehlig@suse.com> References: <20230109174222.28140-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0188.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a4::20) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB9095:EE_ X-MS-Office365-Filtering-Correlation-Id: 8578940f-f90a-4585-82eb-08daf268f00a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: NqQShZfEJsng58rkyBDEjE1ImIx2CYPzL3Y2V9gPzJYsqx7wyI+uj1MEJB7lN0uN72DfhX+A5GGaOyPmG77HipqEH2nPbpNjtEi8pJfiAhC6Mzk8xm49dZV0hIcG0+VVNWMPtB3zMWqmGxW+wio8orEg7ADJSUYdu1w+5R0OzvSTz1OiJoZTz0XDJRThSYpWqJri0GK+Ddvja/g7icewj8FuiJQVBjDsFf4stNyal3oeb9MYBi8qEcHq/FgVKE/no3GXMP1BLAAsBbiq7cse68T0oSWFePJ7K4+1TidGMSPaiowRuRx5wn9K4GrvjWrt51wwoPd9q0g3TS50LrZtmfzeEnDMA/pAIukIem3du6XGJKXaJkmL3iQmaMNlWvqmhHRjfL07+0zDjb4P65LMsPVU3wuh6ikjLiOe6K41QjmPn35i2MSE806yhhAqyo+frIZhy7MOq+AN/Sd0YXCnmjLXeUTFA77sXOUr7TOJyIhYhAySIomDfCWT+0zeEa0gscrgz5gafLs1ElY548oKotMCGCmEsi1sCN5uPwUr5TauVOvEn4a0fBUHV8r9NSvCO8E6eof97guO1HdEs2Flx78DhDkQQ7lyoXj4fQulGST45c4uuyNJUOJ3AtxRhWLUONtI9pdXXO/oGYdE3TWqIw== 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)(136003)(39860400002)(366004)(346002)(376002)(451199015)(41300700001)(4326008)(8936002)(450100002)(5660300002)(54906003)(316002)(8676002)(6916009)(2906002)(66946007)(6506007)(6486002)(66476007)(478600001)(66556008)(6666004)(86362001)(2616005)(1076003)(26005)(83380400001)(186003)(6512007)(38100700002)(36756003); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Hs1iWgDYmAlsMzDLYHFLz6W2Sz7XnVplCi3J4FQc1TJQjOvgDJMQtrMcucdA?= =?us-ascii?Q?twC10vEhGqIlQ57Ht4YpglrggAIt4TnxsQ8Bqf8F2PY4sCglrgJu8QPEIItj?= =?us-ascii?Q?M/Z67g0pEMyJPnmXZKUnYaWx10E8bd35DUZ8yaI8uFgWtRyKSqq3gFkrIVyb?= =?us-ascii?Q?6ZdoBtoIYYttjsyqPmTTDVQQl5+C9mwSbd93y+uSGmLm/YxoG0+z607XUsei?= =?us-ascii?Q?yr70A2dvMoX5KNE572ObiqQComXBeI251m893avepCQ3MHr+iN+y96B+oCFD?= =?us-ascii?Q?19NMpPfQQiSyDV/4Gupr6zAPoF8NROjYTxmlqJ/CgLCLNoWnGL+CV5KMAjnV?= =?us-ascii?Q?7ftH4BuaerVuoaeI8SwsRIRb/kcG3rbvC/QRzqn+RWNWj05gdUMT17pJ0ESY?= =?us-ascii?Q?EC1rH9pUJ27aTClkFfcrg44qsVU7NnP4Rbylsnon/2VYBayeN5hN471ufhj3?= =?us-ascii?Q?bGSygBf8TiSd84im92YhP2Lfj1STUHxcJLRNMq60pdT/bHc4uTqxdpRMDd5w?= =?us-ascii?Q?0d19r3IqLXHpANVuIKTJiqGeDmmBsDsEMgFBkDC1w0xdKISylpJRpUKcZAVm?= =?us-ascii?Q?2m4RC29XF5oy8NaxZ5fafTJcbAQjGRfT1TP3HY2ks7fK560YijfFlc20NoU7?= =?us-ascii?Q?BwOEp/WQDo/JxDa5E9Li1A35LOaClJXdbdW4MdpIcylH62VgCS8J88ww71nq?= =?us-ascii?Q?R8x0mIaoRm6B3sba7uosAVOr7ucGVzYeflDlWJnuk2aQEyzwGaLfC/f9L+nM?= =?us-ascii?Q?XMOwt4Ytqu7IEJYt/5GLN2P5cAigSzEjupHjccW1o6Rvw0qSqfCgzl6SdCuu?= =?us-ascii?Q?d1i2k+ksSUW2aR92IT67HNWEU2wzeOmU6P+n5WDhYyKEbG0hoh+NyLWcSa22?= =?us-ascii?Q?9/VQWvmlngCgPTvZzP0kS55QFXePB2o1PW96Bc2G7AekUmIWlawnx7sjggVn?= =?us-ascii?Q?/u4DtF6a38q0W9fQV1omQ3sHpbySv4TREBF2MuDgLQ2fKrZZ7nyxVLWFUQ1N?= =?us-ascii?Q?nj9UP4H/ZuQd/TtLKGIYN+Re5qtCEMIqEdUERQiUJxsYudGMCaA6lKLX9NVq?= =?us-ascii?Q?Gvm4OhCKCEm3ta84JS8XEvwLdzCFqOLJXQc6Yer+QL/xSW8zSXCgPpO8scqD?= =?us-ascii?Q?t/26V8+nPjmjqaYE4JXDPaf/o0Q6C+9Qy7QAAisU8Mra3bGhSaRIQ3i8Lv2O?= =?us-ascii?Q?EhrlXJU3fTuxB54sE/S8TVJVZYzqy+4idy8lR+ZSkxIQzxpNwq27nQ7pZgZT?= =?us-ascii?Q?sGxCa6gtI/RjIuQ/vnt7xNQd7wboQeNYC3xvZ1Aar1jwxD5Skixns2pl5npP?= =?us-ascii?Q?5QBMsFEve7mxFXCV6QGQHIggfAdHvpuOOhVTcT7u8vcCP3fHtewZ5BB5sgk6?= =?us-ascii?Q?NxmSP1XhFyLJIhF+47vu/gtTSZY26GvsiyD+vkEUjIPTCTFlHK3MnwWT5E9z?= =?us-ascii?Q?6VU/hEEGyVjPEKM7GwC0laIEujf3Vw7TczPF2jb2d9oHfs/y88eEgkVyno19?= =?us-ascii?Q?RhXP/+uCxcGxZimtPzzxD4Zww9EAuiq4Qo4LlyeoZh1zntGx5V6KWz3LN/y7?= =?us-ascii?Q?FZxvohPrqt8JsPjM2A7DM/wnBUWp9ixWS3MUeYL9?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8578940f-f90a-4585-82eb-08daf268f00a X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 17:42:54.5181 (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: B9ct56h0cdAoZqmYReq0rod2KhGnw8yKQ3ywWh57XgafgAOr6K1LirfyoVhV3kYonEaQxjjJUS+eGZ+fuC2mNg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9095 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.7 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.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: 1673286187267100001 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 04:46:32 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=1673286195; cv=none; d=zohomail.com; s=zohoarc; b=muwp5FPlLuOCwZj1jnQ6ocPRDQuI0AFKn0LIcXZ7/+GcB4UOi5VFq6KBtcNm1BeOmYdkGqPL6UwlK/pVxr0pOh/B0UTRDdqstlHPilLjLWw8y/yIRB2E69tJen4MlsANmnK0RRMGSSSvXj0QKIStEy2pEaLPKyJoJbxaIosIJYw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673286195; 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=AGSXpk3/0P1vIxpfWCefj7HOt//6oFU6SqgjQl2eLiU=; b=Ghp9SVV1QZOsmHNkzjEM5f6DL2nfiETpmPLcx1wmSSq9tFczJFG3C5291L9Hto+LAuMO0OaPlDOyba+2PTBenZUaq8B2e2DU80z5F1gzWLweHy+2tf1iK1pogzUSCTLlDQVJEE6CXYxZv/8keMocHo558POLzq3uKMIZdMdhvpc= 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 1673286195461355.2065323536582; Mon, 9 Jan 2023 09:43:15 -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-35--RVPv7whNYKB-6nuwRDdZg-1; Mon, 09 Jan 2023 12:43:12 -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 EAF74100F90A; Mon, 9 Jan 2023 17:43:09 +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 D41E7C158BB; Mon, 9 Jan 2023 17:43:09 +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 C3DEB1949752; Mon, 9 Jan 2023 17:43:09 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 665D5193F511 for ; Mon, 9 Jan 2023 17:43:01 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 95F391121314; Mon, 9 Jan 2023 17:43:01 +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 8CEFF1121318 for ; Mon, 9 Jan 2023 17:43:01 +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 674B18027F8 for ; Mon, 9 Jan 2023 17:43:01 +0000 (UTC) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2078.outbound.protection.outlook.com [40.107.15.78]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-435-IiWgSGTwOYy5SeV_ihcwxw-1; Mon, 09 Jan 2023 12:42:59 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB9095.eurprd04.prod.outlook.com (2603:10a6:20b:446::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Mon, 9 Jan 2023 17:42:58 +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.5986.018; Mon, 9 Jan 2023 17:42:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673286194; 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=AGSXpk3/0P1vIxpfWCefj7HOt//6oFU6SqgjQl2eLiU=; b=Fgm/KdiZTsWyNkJKLoPbvO0UnCypgrEWzRKPKHkKWBRzuBrfVcxk/1pTESBBL5e97yO9D9 kuWy4jHTeAxW5OF7Wyc/g6DlMxFEHcJuZl3Q3yEHxlsRAVuNCiI4GPY/oZsxPg++0eazMP RU2D08853yGcGY+5Xyt531JZPRagE/0= X-MC-Unique: -RVPv7whNYKB-6nuwRDdZg-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: IiWgSGTwOYy5SeV_ihcwxw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V7 09/12] spec: Remove libvirt-daemon dependency from drivers Date: Mon, 9 Jan 2023 10:42:19 -0700 Message-ID: <20230109174222.28140-10-jfehlig@suse.com> In-Reply-To: <20230109174222.28140-1-jfehlig@suse.com> References: <20230109174222.28140-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0195.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a4::7) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB9095:EE_ X-MS-Office365-Filtering-Correlation-Id: baaaeeef-b003-4f88-fe7e-08daf268f216 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: WITDD90ykzqrS+ak6J1NNWz1OeWRmmUrWOfa0FaDNOSJi0Bx3EEBPxclH8OSKcOS4p8gp4n5h9GEACIpVcfq0dxLTBbYoPtaZN6L3/4b1dUjy6TUii+Tad0hdUg/BuRjz6O1XvenwqTfjVlqp1j8FegoYLV+T4GJXlpPS4+ShLvcDE6W3neAgXvR5vWsvkUnjmU2oe93bsn8X8c/ixg7Q/jkViDcP8l3loorCNaED7UYtTcbNwJKqPBBzz+ehWHYSaoaw1FWPoqE+lXCdKaQe1IdzYysJ928/wzGeYkCVofClG3WLoCQALntmklMMdVZxvty3G0+qliXmvvW6zcrfadWRsCKLtKwpA4XBoD1MGh8vs+CQ6CMwO+z2H9A/mJeaOAWtE/bWhKi5h7URUUgyUkhdJIQWcev2tLaGaBRffLeNl42wB5P5WRQpa9OIcLZHheUWGIjY7e2VGZR9swfTeWy5wRD7RCjlchkvwydTgSaEr5CJHsWcfKgnUbFsmb24dKb/SQu32XoaRXz+p4gLR832SO49W4mZgDNa9UGDovml6scq6rUQCIuAuU7tuQyI8UXLrAwR+WwXi2zvFIQqcdaqnfA2+cuhITMuXfcKlBq3KXDpTow7QXeiJahYkhw74PGGBXkCogSyhsm98E0pA== 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)(136003)(39860400002)(366004)(346002)(376002)(451199015)(41300700001)(4326008)(8936002)(450100002)(5660300002)(54906003)(316002)(8676002)(6916009)(2906002)(66946007)(6506007)(6486002)(66476007)(478600001)(66556008)(6666004)(86362001)(2616005)(1076003)(26005)(83380400001)(186003)(6512007)(38100700002)(36756003); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?8BswrB+eQn3g/6xT0Ryx36wYjw8x2rrCBs1KHGFg+5nQlG0qqKJIJk/WzWGZ?= =?us-ascii?Q?r6AH6hkE3ivLDDrpDILuVr7iedAf7/d/onZQKIFPoyjcNN1ca6JY+8FLIUv1?= =?us-ascii?Q?rdAITXv2Hc0kUY6bNGGUz+xSspZGwQLO4tiHul7q547WSkxKSxDm2RxtEJDO?= =?us-ascii?Q?AdGYAK16cifHUNXkHHrAiDPJOj/tfrkTDSDVcH55eTkJPZiQYUVn45WHAYvb?= =?us-ascii?Q?f332WoqgVRbEFwzqHOlE8S1OlsVOQI4FhWCMpBw68lJs/F0HCDc7oWlryiiB?= =?us-ascii?Q?eCxryl00H3QxSayxwLun7iD+siVNNuH7W06DXGkWCUdk3Dt04iZgj23jms06?= =?us-ascii?Q?2GzberpD3NHMz+ewqYKCCOJLGJkRUqPP+l0V7pCu833H0goGIkS2Qh9YA8mV?= =?us-ascii?Q?CASdVnpQrnrLBLVdXIvZGLeQ33mvO5qzuV5p28JMjcBm2aX24k8LrIcbz7Nj?= =?us-ascii?Q?FfDUXwCLWX1R3L3N7tkE1+Ek9cBYW/CjI0bmd6hZjPgbFUggKaqLoz76wk1u?= =?us-ascii?Q?neM5GUwYRedmA4e6JahLvOve0N0FlsF2E12jGIeZfLCzmWozkSSDZQv1OmMX?= =?us-ascii?Q?OOJ9RCTW74llkXGCPWOecrhbgS4jdkQEvy0hVGnAVeY2Sf/pf3Q2R88H+OjI?= =?us-ascii?Q?XBrGNLBJHZxaLzxHr3N1S1cxIcIBLNAHZXu7yGikg36NdzYGHZBhVRV+Fdgh?= =?us-ascii?Q?FfYq/AiKnmSvo7RIYD542FhVjrKfwDF5QJrBEGZnVQVmDOm2nCGffhMrvnao?= =?us-ascii?Q?wt+2nu3+6lU4UqNIhrac5V8EphssQG6hUrB/FYGg+1m654zy9tt5BIwQoU3H?= =?us-ascii?Q?ylYWcAqRAiR/6lxD+tuEJ8hHfm0oBc7GMRO97/8kBw5Uxno6CmgLkyg8u5JP?= =?us-ascii?Q?2M+FQkCrt27l8PMKajQzqgJhStD6fEtLgbtR09nGIZatCWclYAJAhZ5qyPhY?= =?us-ascii?Q?V6HzI4kPcA9MRaQrKmvqhfwVm3B0CvhsXdn3nHUvarNLzJpEdyMZrUJkAaxA?= =?us-ascii?Q?6TtX0J0u2oYeZjWJ9Z4rfxgZa4kRUx42zaxVPVRrXpUdCGujSUlCPVV45czN?= =?us-ascii?Q?5Yeifmj2S0Wt+BKVjTUdd4eIH2P7Eam3i7hzp9l81ePFtaYmivn9g07tFvvQ?= =?us-ascii?Q?PO2wDjYiI3/g7lcOeusksO/YSAttKvd4CVgAVnK50F/qRbB/X2oEow/cAW0/?= =?us-ascii?Q?6p8cOtueGexAUJETwXtayxMHsMw6CTBRxti1+qYG8aiPxi4dwWKlpdCGEnL8?= =?us-ascii?Q?JJ4REY4RlPkJr+uDNoDI/97+c1uaLwrDjXMYlj8G3FiZQAtoqQON201uzz8B?= =?us-ascii?Q?UJKU2RDUT4AlGELj/VU9el+IlgBM9b167QkF9r0J32ub/NjOp4mZvQTkjibm?= =?us-ascii?Q?F39qdLuDBE/CpqlDpGsdfHO8B7Ja5NzAPQxADeHE5vDPjsuPNgy+tuPMCteR?= =?us-ascii?Q?A8eN+QsGXyCQxRluxBN+zD3ehJmVvWtfOc1druhLkktpi2hCV+5i6P9+tvXj?= =?us-ascii?Q?0XJIb6FwbsM7ZRN44mIcd2ZD6mj/1o9dd19KdlyVxox/i8zUtQPR2M2LXm06?= =?us-ascii?Q?AV+ClKBmQ8TbBUyemx9HuGsSVmxXu+VqrT7Db30q?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: baaaeeef-b003-4f88-fe7e-08daf268f216 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 17:42:58.0022 (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: nPJao9FLUzNR9w8YsSoZ8DtZhUDIdum4sUMEdceVuEmQCFEXetw1agfTiEMFdFkmpKc3Gvz4i0Ujr/XbflMS2Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9095 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.3 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.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: 1673286197352100003 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 04:46:32 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=1673286197; cv=none; d=zohomail.com; s=zohoarc; b=MWIBwOg8FUbgDDBZxhhDTfoX2V5hBpYHlpSHSByExd5VuxLFv+frLJc8BAZmPwjoIn5n0KAdcIYyYxHPvNe5ENp4wmMrUocyFBu6Dxh+359A72PTlp4qCXw9qAYnZELpOBBSsMRM41KIDix8RRfnub2ljR1K1K6sw3HVAUDZE1w= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673286197; 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=XDzieGGRsdjW09XerYEMNEScK30IBGx+kwK6pDB+zzY=; b=j+oXW9FPtkpLewQfVUXqKZNrNXUcO7KcaqageOYgqUK/l7BJaZo2e8qG4EQ+W87dguiBTyxLv44ms87yUMiJ0u2ozMuuDkzc6w62X+sNMsiBR0Ryu1yTglnRLBXXb+9uJ7mwaAbFCA6x6Z3fWZt9gHeQQ+jJWjxZH9lQcMQSvps= 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 1673286197766335.02470500564255; Mon, 9 Jan 2023 09:43:17 -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-453-TVQdOaAuOp-k6xOCcBu9kA-1; Mon, 09 Jan 2023 12:43:15 -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 66D92811E6E; Mon, 9 Jan 2023 17:43:12 +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 35A01492C18; Mon, 9 Jan 2023 17:43:12 +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 24AD71949754; Mon, 9 Jan 2023 17:43:12 +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 817581949761 for ; Mon, 9 Jan 2023 17:43:08 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 64ECC2166B29; Mon, 9 Jan 2023 17:43:08 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast08.extmail.prod.ext.rdu2.redhat.com [10.11.55.24]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5C7BE2166B26 for ; Mon, 9 Jan 2023 17:43:08 +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 3DFF1382C966 for ; Mon, 9 Jan 2023 17:43:08 +0000 (UTC) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2059.outbound.protection.outlook.com [40.107.15.59]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-107-NySUHgVjNrWvO-4ZAXxXmA-2; Mon, 09 Jan 2023 12:43:03 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB9095.eurprd04.prod.outlook.com (2603:10a6:20b:446::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Mon, 9 Jan 2023 17:43:01 +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.5986.018; Mon, 9 Jan 2023 17:43:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673286196; 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=XDzieGGRsdjW09XerYEMNEScK30IBGx+kwK6pDB+zzY=; b=etGOiAtKyCJ6/hqiI3eoNfs1ZUEoRC8HGYf0QvzXCrxYER3EjoF9SDTgvRiijZ4p7vPSDh JFhPnu28TRInGXtZGINjOQUBWqn8FiNRkCFOUE8GrzDbIEeYs5uzbAWwnVEVovL8as0ayl ZPrhS/SsRd/sprj1ULaT6J1U9BrI3oQ= X-MC-Unique: TVQdOaAuOp-k6xOCcBu9kA-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: NySUHgVjNrWvO-4ZAXxXmA-2 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V7 10/12] spec: Remove libvirt-daemon dependency from hypervisor subpackages Date: Mon, 9 Jan 2023 10:42:20 -0700 Message-ID: <20230109174222.28140-11-jfehlig@suse.com> In-Reply-To: <20230109174222.28140-1-jfehlig@suse.com> References: <20230109174222.28140-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0187.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a4::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_|AS8PR04MB9095:EE_ X-MS-Office365-Filtering-Correlation-Id: 661cd353-2a15-45f6-5308-08daf268f41c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: sMg6oi0X+LwHUHktij6xO+3YO+LZCcDCPvGNwdazm+zokSMjiHp6UXJzQT57gTC97px6xe4Uk07o4Hlci/XvmTlj2PRDIkFy0xmgn7GtSL2R2TXPLW7TRV1FCDxY14YmtL0wpN6ZPp8XuEkAKO8V9lGW5d2mPsarHuZmIBaZlYMQs6QFfpeZ/nshhzQNaUc6x5QGyeZiZA4YXXhDi5JOSZY+37HYdmYs/Z0j3H9En02MLGqsVHXiq1dlaMXDp+IhcBwO88JoWRliOHDng2sf8Nbo3RB4+7idmsiobA7Elnl/HoxG0LdzF+BFkn067lbSEBJ2qCNg9VXbrUQse35j2PtIT77gP6qTzAaT2uor4PIaNTDtNSSCxBrHHXhKh21quTN3EpLMiMj5kuE9tXFms8ln0AZdldLqrHnUeD27Bjxyw58HRGsDwFjb/NRFYrH/eDGCm1EFraElAxSSUAMAxwkoa7bRdnP/kdToZRf7TqjgFVgBLsaMQqkNVONIh5rOqTD5NBZLZjwRLgvdjxJZvO1dHTVlZXVy6eNZ/ztc7Uy4gpdO3UoFN/TETnd1iZa901edWY0u6WhYjvSNmjQ5Ea4lrpKhTAI2YA9p1AV8UMKF+xQNRNHT8IVVtWVctcgfGys+ezaRiQp+GL6iovy6Zw== 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)(136003)(39860400002)(366004)(346002)(376002)(451199015)(41300700001)(4326008)(8936002)(450100002)(5660300002)(316002)(8676002)(6916009)(2906002)(66946007)(6506007)(6486002)(66476007)(478600001)(66556008)(6666004)(86362001)(2616005)(1076003)(26005)(83380400001)(186003)(6512007)(38100700002)(36756003); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Q6wkUqMjUq9oBtxgQV6ALr8YBGg3dCnCH5NBzwBFZnj+3s9ZgFHGhgPpT7Vr?= =?us-ascii?Q?aLfm+Jep41/WJNkSSojbBNOxTbCBf6pLxOeXT9sExdjHRzWQp7rTtbzS0uH6?= =?us-ascii?Q?x3noRzbhcL1bSpzt1ezacwgLbErFqv7zrXz2aRM725DfDjQcDFySKKSUPA8T?= =?us-ascii?Q?va7cnC0pzRopT3WKV7amEZ8xVpzGY78mFpmrOPZs1ZL2KG74nlM2vOX7mKZs?= =?us-ascii?Q?qM9T6/OlomodTTvrnbUdrqKtdn6mN/Gar3GBfRrzjDR3fIX3RrSBhSshJS9G?= =?us-ascii?Q?4bOE4a/VNeoMuMij5d4V3tQav/w/P2oG1GlsDMkfAUZR2RMn9LWMc5h5VGTM?= =?us-ascii?Q?8ep/FdKY2umDAA1c6A8RtLqAXlDFnCZKVKZdsZopOWorb4ldcAHDnvUdKjH7?= =?us-ascii?Q?PXbQdNLhMde9WpBcnTLNONVwNB0EVWyyeTI0eHCS6otkEqwhW7a41fH0SVup?= =?us-ascii?Q?nMqaGrUp64YcY8WLRlvt0gaV7s7UskccseVFNeRDkjOACCfgBPXMrf9Iwx0l?= =?us-ascii?Q?TTmryu9h5HWwUBUozFt9u/WyaUrhZt9kRCAzgRBOg2UxBFNYInklPlpPoNZQ?= =?us-ascii?Q?8PcLJpowCBBHi40YpvdFcE0+TPWNJEM5+MDe5kcdpJiMN3E6bGQJUziji5qy?= =?us-ascii?Q?aMFkw6w5Yt64oonFKfRAI5kbIhwLdaZrRb514tBWUFxq8kvu+Ds3P5hyMhRo?= =?us-ascii?Q?RKQNDTsVMJ/xYmylmip30BYLb8OozKKZXxPi0hkSiEMmyzvZQp1na+Xczlti?= =?us-ascii?Q?qygWOJ8+Y/+2aZ5AEQnOxd6XDT/38T0RSfKbRHLWAQHa6CCgxwOHpmgXZxBv?= =?us-ascii?Q?Ao5jd9NZ1f43klHABQSk1aBdf0lWmmaljzGD3V/cbGM1ch6Zn9uS2TNmTfe2?= =?us-ascii?Q?tTga0OA3iFF+ZxxP8G5nvim+sKrp63kndf8SDtlhRqQrJQ/E2LDKCJI7pFdw?= =?us-ascii?Q?AkT9ZogvQ848aws0hozYr1zppRNjF2S9eVzHcuf12RQn5pZSVGykX8aKT4PI?= =?us-ascii?Q?EI+QhCXoigaP3TofPIZlxqqbQ+pvZfUwTDGe/t3ab99v8N9FMdNWmItsrMjD?= =?us-ascii?Q?JeVf6Ma3gTlCyFuEq42l/E5zrfmTh/tPzixxAH/jKtoV6Nj3KJIR+jfhT5hv?= =?us-ascii?Q?Dy5lM+CA8I8+dAAp3ZCayblbSi+ZnYKGzECsELr7dJFZ6BWpf/47pgv7rFC4?= =?us-ascii?Q?Q748rDhJijVcYgcb3w/5YvwIqFrxpbjfUooZ8NOAfklTpJz2tbcVq8yrA0xK?= =?us-ascii?Q?KQTcxlBbk1nWfkJxk3MNHhIZTGemkCuY6akldy5lCN9mQ4NQ69KeX/nfqRk7?= =?us-ascii?Q?b0Y0Yqedb521kO+7tEUT+i8O1UJtAC9SJsSjzunSWdxD3ghG1HIu5IQ9rcWk?= =?us-ascii?Q?r3DErvqslrrI/tpqm4il4E8vOh0lT8YnfIrj50Z6b8QS9cfgNI/OHn62BR2X?= =?us-ascii?Q?cLZA+dOMKGxQNn051jhvryDvwKfd4B497XEWYro3YO74N3SpEnm2neNuOX2z?= =?us-ascii?Q?WpUbVxwm0R4gDnQ0OH1KKvPa8vLGAYCAXp1DtWFtJuGtwGWLoIrkJ3oBIy+W?= =?us-ascii?Q?Zcn54uw9w2/FI28pKWtVcbGXP426Rq9W97fSDYy0?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 661cd353-2a15-45f6-5308-08daf268f41c X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 17:43:01.4082 (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: kEijkMlHmTq0IcD/PBY+zL7Jd3JvCIGlrgoontEFLneExpZU6RgjAXlrHB/oQQZQGbLc/K9RjGkV1vEBI0zMVQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9095 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: , Cc: Andrea Bolognani 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: 1673286199357100009 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 similar functionality. When libvirt is build with modular daemons, the hypervisor subpackages no longer include the traditional, monolithic libvirt daemon. Signed-off-by: Jim Fehlig Reviewed-by: Andrea Bolognani --- libvirt.spec.in | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index 2cc77a2622..8c610d7797 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -815,7 +815,15 @@ 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} +Requires: libvirt-daemon-proxy =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 +842,15 @@ 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} +Requires: libvirt-daemon-proxy =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 +869,12 @@ 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} +Requires: libvirt-daemon-proxy =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 +892,14 @@ 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} +Requires: libvirt-daemon-proxy =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 +918,12 @@ 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} +Requires: libvirt-daemon-proxy =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 04:46:32 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=1673286194; cv=none; d=zohomail.com; s=zohoarc; b=OEnd75K9fb40rcOAHoAI7vXH2dfxXrX5GhGOCHpr47n/ldbmwTGIE+Y2BaeL21fECM27OhHYGf61CYDIc0Db9kPo6Gb9s8JSeBOtJIFUF5u0aMjLudkjD18Dch7PHeBcjHEuuY3Z+w5+5Zok5J8TUlDaT4r/KhrUZSG41BmLD70= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673286194; 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=tZwkHgNPTMI8I62TWyTEepVkCEWRgybpfZ16dOfTjXA=; b=ENTyneWp/a8VweWynlHIjdV19C3/AlQyABXB6ajA/lENCe7v9rQlGN1PI36vY/tpQRL1NYJ2Gd7XiOfiR1fb2/P4+l6rp2gu3iiab+t0QQDCx+lyOIQVHGNeA+NnCxbuB8p8i2hwctnAQxMi+cQnI2UYYPa/nbCoKZNSXg/xEA0= 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 16732861947151018.1086747275142; Mon, 9 Jan 2023 09:43:14 -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-258-dkJ7ukKRN0uNY_UR8UYObg-1; Mon, 09 Jan 2023 12:43:10 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 870D6802C1C; Mon, 9 Jan 2023 17:43:08 +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 6B4F52166B26; Mon, 9 Jan 2023 17:43:08 +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 5B8101949753; Mon, 9 Jan 2023 17:43:08 +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 CEBD81949751 for ; Mon, 9 Jan 2023 17:43:07 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id B13002166B2A; Mon, 9 Jan 2023 17:43:07 +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 A85FB2166B26 for ; Mon, 9 Jan 2023 17:43:07 +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 853B7811E6E for ; Mon, 9 Jan 2023 17:43:07 +0000 (UTC) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2059.outbound.protection.outlook.com [40.107.15.59]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-107-SQgrRllkMXKjM3Oc3dUgJg-3; Mon, 09 Jan 2023 12:43:05 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB9095.eurprd04.prod.outlook.com (2603:10a6:20b:446::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Mon, 9 Jan 2023 17:43:04 +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.5986.018; Mon, 9 Jan 2023 17:43:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673286193; 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=tZwkHgNPTMI8I62TWyTEepVkCEWRgybpfZ16dOfTjXA=; b=AHdMh7Yn8l5N/+xGE10mtdHFO31bxXtql3OH+k7yAHbkEzthXWJFvP2RbqbRk+sODQh6h5 olI51vwza1yH7eQeIsris7dae21vI93Jbof2T0ZMouz/Vrw5vE2BvNGuRQ5PijDBtJ5jkU VpZnXtxwHci4aspDpS59P2zKn0aXyKw= X-MC-Unique: dkJ7ukKRN0uNY_UR8UYObg-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: SQgrRllkMXKjM3Oc3dUgJg-3 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V7 11/12] kbase: Update rpm-deployment.rst with new subpackages Date: Mon, 9 Jan 2023 10:42:21 -0700 Message-ID: <20230109174222.28140-12-jfehlig@suse.com> In-Reply-To: <20230109174222.28140-1-jfehlig@suse.com> References: <20230109174222.28140-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0194.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a4::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_|AS8PR04MB9095:EE_ X-MS-Office365-Filtering-Correlation-Id: 5d8079a4-83c8-4df7-4741-08daf268f600 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: mx6OXAMKP7uWt/ftqa2ZJem8/co4t0++xMNJ2usxX4FDkhLjWugWFEmXBzPpqkMM2OfniwWBSGJhGnH9wIdSsZ+unIarP4W6uV5C7h0/Y6icz8YiPnjhyeeFmYeduCHC73UM3GnaLzAg2Khz3GQPCXLO+zSftyPxA5WkMiwfMuzNUUNz2Avua2cmFEancBhrLelzP3cdsf/gO9EVmfSHS09UcvY0j8uMisQ36VxITmz9ktHAHPH6yLprGLyz1dJqE5wo8p/v+uG/q6SUBOUL8eXbyDhQcBKvVjyX3fRm5xxFWiM0BXkf0nm13mOCeDI5/6QPNxGhKImkXDutbr9al2xrSQb0DiEH2/Jo5yAftIuKgGW2Lt9FWH7jaSJiN83qtaX28OwRWKMpF2ViyQoRuknp6ew2tbPIZPzNmqRDnemDd1364D9aIkgnzFUSPVZ4q6R3IEpn0msPZPmakzOZiCwvhO+JtwNCvjUXexKbGeXZJGD9EVzAIkfdd3mM+XoFDkcbMZsZbMpovdz+woXJvMbzMcuNow5Ai9j2EWjdeNPypexA+35PsdvsUpWc/ldGPBfmSJgo8uy44W6cAJ4NoU+Rkin4hIVZPtF/t32jJE2Rbp2YAhGYm21UgnsLQPA5rLT/03pQs8shaU42vQaQazUlDAFKxu4fNU+mvrKhEAKl/11JSYFvI6m8QoOr8sz5 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)(136003)(39860400002)(366004)(346002)(376002)(451199015)(41300700001)(15650500001)(4326008)(8936002)(450100002)(5660300002)(316002)(8676002)(6916009)(2906002)(66946007)(6506007)(6486002)(66476007)(478600001)(66556008)(6666004)(86362001)(2616005)(1076003)(26005)(83380400001)(186003)(6512007)(38100700002)(36756003)(21314003); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?kbAtOhqkr4jLM/mVnjQQrcrtW5Sx5N3UQC+Aoy/9weBA2/AAY62XffOvgNV8?= =?us-ascii?Q?4dGJb0J2HemgHkgdiceYLIxZ4DeKDbiLJv4yyTbA63zrkQmMC5gVCp3Rzn0p?= =?us-ascii?Q?J9ihEfDg2t/afkBTua8GyFEE8hwhKUWh/jcMsGIbCab8qrL+/K59RyidT/WJ?= =?us-ascii?Q?0Pq1AYT9gsRaCY2rCpsgKeGHQ3g1ZnhCHPgl53npHEnfzsMOh71I3vQGnbxq?= =?us-ascii?Q?EgqqJwXN/LpWF6VC6wxsl6/tB/MfOR4b3qeSj5A+DCN+tNQZh0OhdXE0BcWO?= =?us-ascii?Q?jjVc7WXxLUnaL7PbB7ZmaXFl/fagScMlZcSi6/fykoxIbvCkIjHMiB9rWsQU?= =?us-ascii?Q?WyaoQaYPtUoYCWyCd+led3TLmTEmqeIhNrw4OW8tBBexxnNuIpmY+COScOqz?= =?us-ascii?Q?aQbkbf/HfMHemy9/0qdPlnwmvr8THOsk5hxzLjOBt38hMYmDxhiZ0U03yH67?= =?us-ascii?Q?cU5K8hYtF5ON9cw24UL/qDfTKoytkM0t0+qbgVr4RZqsEKjaQgLZH0OuPaWM?= =?us-ascii?Q?iiRDjSTZpYj0EDBcbl+hZoW1yDqReA5J9zp8BrSvotpofpW++K58fG2n+ZNV?= =?us-ascii?Q?il+/CQZmHVOfuNu772ssUSwNK1AwAb96MsnrS9l4JUfkMd6s4tsZ8A7a2hfI?= =?us-ascii?Q?54Fzh4HhmG6CrcfosBu5vGblQCtIVSI6fervIej0g95yMc8ViGl88d8INwRR?= =?us-ascii?Q?LIwrEeaQuc8Qy5wv2QishRgqgmVqxa8g6H41N8U8IamELrfVr6zsB9FJDqTf?= =?us-ascii?Q?ekYI2x4MoIh7yBPcBvSyBNJgdFkgNQxQNMEDgq/zn2F+InhL4+/TLfSVvkQd?= =?us-ascii?Q?0Hvf0qMyleUyK1bw972om5fBa99ZBDnCzpcsBJA0uIMhJ68QOCO6j1qUI1bp?= =?us-ascii?Q?+bcB/AUwpfgXvXhAV7KoO04Hs5KCmaTOzyPw5FvGFogoE5SU91cV29vYydaU?= =?us-ascii?Q?yppdJ9H8Q0qUtyGDFmOWKcKxUu6j0lxdH3JQ68VfWj1799l8qZWwLwraL7hJ?= =?us-ascii?Q?FX6GcCm8dr/lh2MbX6+pp0u3XyIcdrqCn8gRx7gDW4HgMhBLoQ7t5DbKZFRA?= =?us-ascii?Q?5xeKX4+CxM6G2Wt3lBVpoejfcQgAzySb800aRqxoFRSKFXVSbzv6aPLpnV5N?= =?us-ascii?Q?eaC/+9Va3ft2uUvBrXNJlHHr5Ai8N/yYv9oJPG0A+Fhj/QuPhIOdhHDDy05z?= =?us-ascii?Q?7KCZx8Bz2c7zMR9dnMADYwLhA/rHOpCcT5Eq8d7VZMb0vrl5EWuRN9Dq71Uq?= =?us-ascii?Q?YZrxqKo+fWMF12v9VnctoSD0CPTZJL9xFsfuEaa+ndA2CMvxRG41hmmxbUgm?= =?us-ascii?Q?PCyc0zWf2XZ5Hfn8tiR6TV6TEqgXHrTpfl6RV8kzWXAFK9vGjf3CnwXD9zKx?= =?us-ascii?Q?PAv+YM6pNgJzy1NCz8Yw5YqGznoPzI8c7sQaE8s9XgYwK6luC2Jv34Imwrn+?= =?us-ascii?Q?GOve8Btp3PPw0Sim6Pc6CPzkxC7L0m3b1u5LA0uFCQCtpPAuW7gRbTyM6Mwy?= =?us-ascii?Q?kz6N+hlfq2MriWIQ/62NdRzrUXD/6vuKs5odQEhiaQnlAGH/waTMePzh+Qxi?= =?us-ascii?Q?w5sZpAvIMmjn8M4J5PV0SFCtQ//nGt1ZZZJclOup?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5d8079a4-83c8-4df7-4741-08daf268f600 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 17:43:04.6111 (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: CGuwh9fkyvDyrX71l63rF4dmp4CWJWAzG+UCLXwkAStQZw1AJtJRQNqQpoyLh0spG1mbX6/SAWYweOhJdAOong== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9095 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: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 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: 1673286195325100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jim Fehlig Reviewed-by: Andrea Bolognani --- docs/kbase/rpm-deployment.rst | 36 ++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) diff --git a/docs/kbase/rpm-deployment.rst b/docs/kbase/rpm-deployment.rst index 7685ee1291..26fe1be8e6 100644 --- a/docs/kbase/rpm-deployment.rst +++ b/docs/kbase/rpm-deployment.rst @@ -109,14 +109,17 @@ 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. + New installations should not use this package, instead opting for one of + the modular daemon deployment options. =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. +* 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 +279,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 +300,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 From nobody Sat May 18 04:46:32 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=1673286206; cv=none; d=zohomail.com; s=zohoarc; b=AFQgIApk9nJLjrfgTVw9hK7Y6L1TdA5qgxDk/UY0uG8g7Ew5Pv4nIL4G+rdV/TzBfU6JtsAf5K8QIu3je8WsbU9Z0EtSdmRtUN5YP9CJkN9CLPqvxBdCtuh5adPt8uVFREI6r28g2X5OoE93eSJw7g8Dhw2Ny5mDvEcUUR8uyWg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673286206; 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=j+08h9nwhdoEJ+RHcP+NEYJQLqq0Y2G1imgFci2LXEY=; b=m8mzY8ao3eRRcAqKd3QtFBR2XWlyAReuQiC/9XJL4NJ6/vlGh1M3YE/4UkJp0JjcZqYbbAgSvVODSNgBKjq1YtpehewoWnKPoGBbwlG1PL7CUt2zOUtZ8ZC7OIEATccAtHiFOLv2zprFXc9DpU58AjSqlaOc5DOFoXs1q2HB/34= 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 1673286206248343.4601622435358; Mon, 9 Jan 2023 09:43:26 -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-503-ZbdfJ1dyNFCkpgT07qO1NA-1; Mon, 09 Jan 2023 12:43:15 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id E86BF80349B; Mon, 9 Jan 2023 17:43:12 +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 BE0E14078904; Mon, 9 Jan 2023 17:43:12 +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 5CDC1194037A; Mon, 9 Jan 2023 17:43:12 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 8191C1946587 for ; Mon, 9 Jan 2023 17:43:11 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 72D59140EBF6; Mon, 9 Jan 2023 17:43:11 +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 6A171140EBF5 for ; Mon, 9 Jan 2023 17:43:11 +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 4F910802D1A for ; Mon, 9 Jan 2023 17:43:11 +0000 (UTC) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-db5eur01on2074.outbound.protection.outlook.com [40.107.15.74]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-544-NRnQdBfUPb6N-y4ZqwHVCw-1; Mon, 09 Jan 2023 12:43:09 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB9095.eurprd04.prod.outlook.com (2603:10a6:20b:446::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Mon, 9 Jan 2023 17:43:08 +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.5986.018; Mon, 9 Jan 2023 17:43:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673286205; 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=j+08h9nwhdoEJ+RHcP+NEYJQLqq0Y2G1imgFci2LXEY=; b=et+FYQY3KsExwj4EP2JVnjSMBPey86beSJx1c4qm1sCcxGoT0uVdDo4EOdl7COfOBeqQvF kJIUzwjy+fJHyiMEu2INsvEs1+JJwGYNV+RU4l16wKVgRzGBmSHIQn5tedAKpKrGX0aehR 9xgJqpd0y0QWaU1S3CSJcw2bDPVReUE= X-MC-Unique: ZbdfJ1dyNFCkpgT07qO1NA-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: NRnQdBfUPb6N-y4ZqwHVCw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V7 12/12] NEWS: Mention split of libvirt-daemon subpackage Date: Mon, 9 Jan 2023 10:42:22 -0700 Message-ID: <20230109174222.28140-13-jfehlig@suse.com> In-Reply-To: <20230109174222.28140-1-jfehlig@suse.com> References: <20230109174222.28140-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0106.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a8::7) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB9095:EE_ X-MS-Office365-Filtering-Correlation-Id: ea8e508e-8e6a-4259-378b-08daf268f822 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: hBlbKflp+RwO8CAuvFOLaYnLZYrl8Kb+fIZZo+hWIO45acmNh9SMGuBgHPey65FecvDQzs8NboQeScaDip3uRbl4XsfgteU0p0yh+Jtn4mxzwP+7+/wN5yyuZ2+8dIt5DNUHvwRi7QjPmE2h4tOzifhUxHFh2D17hk3gHV7Pikt4H8Z0ZdZf0QC75Kaoau6UM+TcKuxDjuSjR0RERmYDh8+l+09Hr/O8O4vVtNY1Hf2KVkH+sBV6Dsumb9DtuE5A51nTK00bzWqdb6icxrgvCum8oWt0Pr2ZIqBen1l+XCqyJF9DBsL74f+NG28y8QIEjZDrnZZeEuaKZysClZHjcq5I8D5AN9p3qCcIMZKlXu0s0EfY3axG0YaOYOXaK3/8n8nmeuVea129N9w5Af8L0g2LHE1JTKlirXksncb5x0YZnjkZ2hibHYUpfABRwGhqrUxG37hGjErI3/a4W7WHJBwBlgg8SpmGe4wNdUkTJSKzhSNh85NpgS9i83ubRKiAkHO04B78mLexm6Q9/Nkkf5N0zo3RWvYoWs64DOsOQbJRT+EYrZyRPoXzXO2Y28197hqfAj6uBXnM1hwuyjcjCM+Cv0HD7YEEnFq0mrvuQbwPMmFpVUbYtKw3+hH166QxTZq6I7izPG3s0irqYzfu+Q== 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)(136003)(39860400002)(366004)(346002)(376002)(451199015)(41300700001)(4326008)(8936002)(450100002)(5660300002)(4744005)(316002)(8676002)(6916009)(2906002)(66946007)(6506007)(6486002)(66476007)(478600001)(66556008)(6666004)(86362001)(2616005)(1076003)(26005)(186003)(6512007)(38100700002)(36756003); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?fy5NfgkR3jBWafmoc0ct5+CQDyn+mfMaKFlddyDMvmpM4cfKaeEc+2MMMjIk?= =?us-ascii?Q?Yj9tgXEtwNQ3FOdrAKmg++rIMnnBZNFi4mdb86KBJQym9I1jG9lfbVcAaZ5D?= =?us-ascii?Q?oW0qquqRqAf0XxawiJ75EfJA4lQ9F487wHnPsved8yWPEEgmgGvSVm8+ZnTM?= =?us-ascii?Q?GdAyszk+Ex7bCbbsqF60kxx/w38U1bfvUvGjco2+kMMr/JT6PNDHiqirAPPS?= =?us-ascii?Q?vmAnxdTMvm4TolcPnDVvu+De0ur6TCT541MclNiYiFhjQGXN2qbM0JT97s/H?= =?us-ascii?Q?PUF9DWe46fOHLV3slnmEy3zwf6rCR32Se+gIuaAIR3WVgWn+Li16L7uiNIwa?= =?us-ascii?Q?aiBdTcjNWA2YPfG+3F8XB+rEblIgHyKUG2UqsRbL+EVZhLAj2DWHm3SlsNT2?= =?us-ascii?Q?oM8ClGx4zE5XunPfozzyLQ3X8lc15s3/HRryaFv5I9iR+S9s9IAqBZbe6xu/?= =?us-ascii?Q?YK/GSW/4sZqURu06Z6DSZW8obscq4rCG0KZooLajquEx6nI2v4vFnpSrHaq9?= =?us-ascii?Q?8hbu8U3zzg7h2li9fuxA73gSHXbc9Cf2llLZ/VxWZYIOh8aR39XEw81MR/7Q?= =?us-ascii?Q?/v7gKSVNhIvLPDkuq7b0KT+xKpiNziOufLFOaFOsG3S1n5pqPLrNxYZrxsEG?= =?us-ascii?Q?X9qhyRrwZmdHZjBRrfFB6S/ecfEf1VHnjnHldHkuZ4SpC2owUNfKIE/A1u2a?= =?us-ascii?Q?dIfEqP7MhNXjStlPZDS/FYX4x353GyR38GpnLG/XbpzRpf6cM4dnr32xjqO3?= =?us-ascii?Q?7alU/9kcp459CNqxegrxneU996BlUiX+nRMEkbvwH/UCl0uIJKdKug0GZMn9?= =?us-ascii?Q?R+B70Gc+EF6pX+TTjRvpQwcFdazro285VAyA+fbgiiqkP7PykH6PDkPQB/M2?= =?us-ascii?Q?ro9nQ22Zkhi1KVyc0DPDSkyymEtpdBoGrcezM97SXSPNzEcLbesoptx2gNm/?= =?us-ascii?Q?DhBs2DcdfczjHgA1YbIccbPBHpa6YJr/pXUhRAMyIAGsMzhNufWBE3CSoZmp?= =?us-ascii?Q?os42Qcp/9RVoDHHPhswZb3gyxRD+mjFoyDYriWFpPFiGTLZApcIbxiM//KRs?= =?us-ascii?Q?xffWqcvaJHifu8QRB05Yk6eclf+YTWxqhD8nU3LX4AG5xkS/qlrTRftnP8h5?= =?us-ascii?Q?+t5ine8ByKGOsOxGQS8al5QSfONYBwB2X5REkk6AYoWqyOEWWvKJfN6bZUDY?= =?us-ascii?Q?hd/K81ewekzTMsoy2edaZoTXV4OKxuPUZyX08bWBmr0RPf/2aXrFLoh5RiiJ?= =?us-ascii?Q?bRnVUCB3cR703kQ9VC5yCxyzsXH6ffwYNLJ5LsyglsEXXR3LJx4og5Zl2xI9?= =?us-ascii?Q?cOQfUC7uLxJfib4BuAXDCVGMXtLLuZjy1rbaqR/OKj5ayKH3BPNy0ddzxedO?= =?us-ascii?Q?C9xJjUsXZhAb/t1aFAeMhYKivTk6XW9CiSRnSQQ1WJNHOKJnrWweEEgrND+r?= =?us-ascii?Q?+Y/nROs734mZDO5ovWPWEfRV2OwJ1LNvd1qQe6qvTZaOpj31QqUvCmvDi2x1?= =?us-ascii?Q?nC3cs2cfdcmx9IZ91yVR4Za6sbqDhFJ8+IJy47TZ6VzTDFsdxHLDvrp+TNMd?= =?us-ascii?Q?H5tdXv3YZCfjrNeB6sHD1sumRKigyTyQCuZkKq3b?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: ea8e508e-8e6a-4259-378b-08daf268f822 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jan 2023 17:43:08.2046 (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: wFYu1nPA7edqmKhlPs8yJwhyLd64bWFoX8V8ttY/YklTHsLwnnJm+/JSqi6NM7pPHzAkW5yL25LnSFIEHU5pLw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB9095 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.7 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.2 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: 1673286207465100001 Content-Type: text/plain; charset="utf-8" Signed-off-by: Jim Fehlig Reviewed-by: Andrea Bolognani --- NEWS.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NEWS.rst b/NEWS.rst index fecca64344..732fce59da 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -29,6 +29,12 @@ v9.0.0 (unreleased) =20 With sufficiently new QEMU (v7.1.0) screenshots change format from PPM= to PNG. =20 + * RPM packaging changes + + The ``libvirt-daemon`` subpackage is split into several new subpackage= s, + allowing installation of a modular daemon configuration without the + traditional monolithic libvirtd. + * **Bug fixes** =20 =20 --=20 2.38.1