From nobody Sat May 18 04:29:53 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=1672780956; cv=none; d=zohomail.com; s=zohoarc; b=Prjf1KXqDZRC7H8OuAjyOkm+lUgQCWkREPNXZzfLep+hSMr42pr2eckKN/dU0Vv/Il9ab7QqDbkjCfg+EmS7L3EA/zCLjZvFK1SjQ71dWgkGzXTvm5w5pzBkpofBPjrFuKOiuggTN6Vj5a+BJaAKxX+983CITpu7CaMkTI67kt4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672780956; 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=m77/dZT4c97I8LCdi85m2sYv6RFl+2P17CdTOnVLBXG4m34i8yNdWErSasS3PkAuYWvdByn4tjKXuxYCD99a8O7wm16l0MmkReFeFhpmx1xe+TZ75qBuwFeFUr/pACFwAAXOvz/qUTJttlmPSA5VcTR0f44bgug85L4wBuAoViw= 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 1672780956257425.42040612937785; Tue, 3 Jan 2023 13:22:36 -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-670-DmNILpsYP0moDwF5h8ZE0g-1; Tue, 03 Jan 2023 16:22:34 -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 B44013C025B4; Tue, 3 Jan 2023 21:22:31 +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 9D025140EBF6; Tue, 3 Jan 2023 21:22:31 +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 81C671946589; Tue, 3 Jan 2023 21:22:31 +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 1C0BE1946587 for ; Tue, 3 Jan 2023 21:22:30 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id E5C57C15BA0; Tue, 3 Jan 2023 21:22:29 +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 DE1F4C15BAD for ; Tue, 3 Jan 2023 21:22:29 +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 BFEEC185A794 for ; Tue, 3 Jan 2023 21:22:29 +0000 (UTC) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2047.outbound.protection.outlook.com [40.107.7.47]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-383-ztvsdt3FNXOCMXCzBiFGPw-1; Tue, 03 Jan 2023 16:22:26 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB7910.eurprd04.prod.outlook.com (2603:10a6:20b:288::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 21:22:23 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.019; Tue, 3 Jan 2023 21:22:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672780955; 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=PmNX9m0nnSETnueA1PfWha/X696mH9U8+8gvtx06echWaOtx/obqLacIfTBFSv9JdLNE8L ITCbtEjqj6G5yzG6fFHbaY6A7jgz/k0I62DxSi0uoNfcSRznEZ0Y6NFFlj0VXha/4iTSMQ QjAd1lRhnKAzdPcpbtJkhIPsBKHGJOU= X-MC-Unique: DmNILpsYP0moDwF5h8ZE0g-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: ztvsdt3FNXOCMXCzBiFGPw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V6 01/11] spec: Move virtlockd to a new subpackage libvirt-daemon-lock Date: Tue, 3 Jan 2023 14:22:05 -0700 Message-ID: <20230103212215.19333-2-jfehlig@suse.com> In-Reply-To: <20230103212215.19333-1-jfehlig@suse.com> References: <20230103212215.19333-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0170.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a0::18) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB7910:EE_ X-MS-Office365-Filtering-Correlation-Id: 45a62360-eed9-4735-6f03-08daedd09aa7 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: yWstdwXWWNg5cPuNKQp2miloszRYclBpfYbY9Bpd476550sxwDy3tYUfHphD7q7NvXu3EUQvfZZdqBHTPxi6iF5jmb0EHzS+8flR0kNLhhWnuMtsZiSFcpzpXmqseUQLmeX3aM3rwUhJbWg7etz1GJB9n3cMsiTeMXBJHo9ZYT+Ssnubkm+Lxnz7b2OAT+TvxRiPTOnz6p4iyw6Ynrb7IdA1/kn1efP61i70HlbDLpSFtNeID57yRmSjo93N/hn7enmTEFeWLG0NCoHmK0w756MlRay93zveW4f0bLmX0EX7ZGHuvfUTr88g91T1HZqQy5Gay8Q8a0e+54JJXarCci2fNYSSrclZJNtb5ck6GDFUX3EhkvxQayLh7k2JTZ8VlCe5JhvC/RHR5x3LcHzk7APIH4GAfnvU2rzOQw7T4nP7q6HExY2zcWoqBvPVDnsLZR3U3t1CZhmFiOSuRdm5alJyasRDrqtBtlCavKU4cntPXD3Sv1HxtyEXSokiLIk5iEl3MDLEIQxf9/Xc26jjXBk9Z5+k7NQR8Fcarbxjjuemnp3cYIJErLK4PrjhOFF4KXq6yfL0yofrl8ujDcBaFYAcEG79gCWu6qFKy2V6PXK/KLo9Tn89Zwzh65nwJMGrp2OyR1M1LgvK5k8Atfu/HfE1KF/7mjQDeZnLVRY60CF8QcjUu4RE0EZ19SLQ99Z/ 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)(136003)(346002)(39860400002)(366004)(396003)(376002)(451199015)(8676002)(450100002)(5660300002)(316002)(6666004)(66476007)(66556008)(66946007)(41300700001)(8936002)(4326008)(54906003)(6916009)(2906002)(478600001)(6486002)(6506007)(38100700002)(26005)(186003)(2616005)(6512007)(1076003)(86362001)(36756003)(83380400001)(22166008); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?cqPhb8oiH78i3GN9X5kWCCI1ReqQe8jKN17YeI6Wi6zxpoABbKDorsk4FHhx?= =?us-ascii?Q?FBm+N7Wvk3MrWcPFRyjSFIKMrDz0DDnCUoAqTHlmU6g9WoRa0kkzzv9neXGG?= =?us-ascii?Q?c5SBv3wYcqAySBiYGEmiUgFODp1SOVCK5uEIMbLtXycbNQ+VX9t+ZahewWm3?= =?us-ascii?Q?fLMl4BOygRk4Tl6EJouS/+F6NS8ynxaspgXyXpiWYk+7OKaN2ob+zvy5t64v?= =?us-ascii?Q?p9THboZnlDn/A33QYNzKALAvkkM5AW7qVHYfYc/xfK4jnluU+EDfO/7zkNMB?= =?us-ascii?Q?jHF1RJ59qITck1H9FiZnP5YJmZIWi7PURYOCm2iCscL3FIRYw8QjxesUl8b5?= =?us-ascii?Q?Th9aj5fm9RsZOIG4Wwws2BbpFyaLuObwIVFsITN1h2vzKN23SiM6R58b3w3T?= =?us-ascii?Q?1Fhw/giBdFmW1mYz16w+jpuYT96uE4nzOMXPhBPAw4c0VT5Oz0XbzIaKmF7y?= =?us-ascii?Q?HxAVsijBgJr68e2J3TJTlSVvpSwbQaWpgy/2lC4HNvAq9uv5+HhRbXEnKyxt?= =?us-ascii?Q?zwYsifR8N+3ISn0xWMqW09jIaIyMEgXFYB+kImMb+Hi/ipsa6bLiMx4sTflO?= =?us-ascii?Q?rBN4zxPvzNxk3zLZbc1eRlnt/3SZ6+LxTsZH0sslt5ASUHFzVtZTUKCX0y65?= =?us-ascii?Q?XyTHi1YwlNEHXCrB7Evum8UKT71vFGEQsBA/IcvMyA1pb1QLCto45S8pEzz/?= =?us-ascii?Q?JSraCi9qqc8dxatw+3ytmVq41ny4mNDO8/JxMRBlxInpUwq1vvxGlTU35BZM?= =?us-ascii?Q?8LMIKBD40f9wpn1TUvWEcohjOQGBeuKIX819zToxQb1fJxPhYl1SenJ5vvR/?= =?us-ascii?Q?5c446kTWh1sQFeRYutSw1lS2Vq+mQOlW+AVbBMGrgwggnC/zrPoJ/XnufILI?= =?us-ascii?Q?sbbV96kPEUSvMr7q5cNVX3APDW0zignx4izgLuWNa3kEaHOtIrawNyRRr1ez?= =?us-ascii?Q?Rk0U93m0whyoHQZSbcDsNFgSBj4NiOs5n+PHDbt5vuFRKGkRhzN/Bc85bYeI?= =?us-ascii?Q?sa+vIevztwXsrhfBaUZt9+0XU0STe2N97Fl0Oyi3uQI9/Hdh6x4DlJULPtUB?= =?us-ascii?Q?Ddn6EPecgw79Uo8CN/b1fWxcJK1Miw8WILiqugCzM80ev4t38Z/NhuosP6Ap?= =?us-ascii?Q?ZvY2XYTbLQ5qHMUbXq5dlK/x7WAF9auATC47RGnmKtaJ6NCsaNbu7klerbMO?= =?us-ascii?Q?H7hhIoIdQ/jlZ4/wIaUIiW9u7+NwG7ooaqoeotTwSmG9S4ywFVkv8wR7jOB5?= =?us-ascii?Q?RAWXJaHxoFhYpup+4lk63ZwN6yKLzhJ8XlBFLcPgQYoxixN+nKQFM64p8wwa?= =?us-ascii?Q?1ZpLkeK8y752v3w8iIjfr/sIXe3TEdQ3gTHA4zFMXV5f9tWJS5eKu4eJdo3f?= =?us-ascii?Q?ib38aR1BW8hJ6QL+zkyTcDto1MA9ryADYYAjy4ql53M12qyPXKCRcPfIoOYm?= =?us-ascii?Q?ZQaJyADX+TPJGT3iejuylrnPOddMSnBW1AzXoPdBcavBIfLWcl4P7DhnzMiX?= =?us-ascii?Q?0BBKs5Xsyq4iIMenVooVydnAFZjsm1Dsul5iAauu30H9cCdCRUVvtQDG6P83?= =?us-ascii?Q?nWk6u1NjbAXeOVtj5wuUHK0R1yoBrC6HP+2qrczY?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 45a62360-eed9-4735-6f03-08daedd09aa7 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 21:22:23.2959 (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: Wfy7nfSBoeNR7uDkduq4vYVL5E0dIahiXOaE2u20Fs199TKKy4RuAcfQbj/qS3AB5uODZJzkOBMIG9MrG+03lg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7910 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.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: 1672780956691100001 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:29:53 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=1672780982; cv=none; d=zohomail.com; s=zohoarc; b=S1iiCCEz1cLEjnr5sWrQ8cLdqdSaSxFgaKhYA4+BvxoM8D8vJjgflss2XxLvuHOktR77zvY8ViF1O1PujwXmWjYXOCqT+2ODFFLKQKPu8Hjs9EmxGF7qgFQlZ7AUUs/fJbXyO/i7W53rETjjC+8YogiqasFGoEOBDIK0W+69ByU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672780982; 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=f5iVhXfdX+lyvnOMPYEpBwfYjQksWOZ4wf7gu+Aw++UeU8STOKnkIjgBneW71Ps6rxLL61ntkXHvfKvEjNA4zzYJ5/MPA67yLK9AXZHfvwbbGtwTrKhox0dQDViaTFHPLfNuDP9T7R0mQJjotaYvNaCDz/TQ2lKFdBgYEn2TtdY= 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 1672780982330974.3903042546366; Tue, 3 Jan 2023 13:23:02 -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-164-4q8rdx94OIChvowgm5ulSA-1; Tue, 03 Jan 2023 16:22:35 -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 87AAF811E9C; Tue, 3 Jan 2023 21:22:33 +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 709B54014EBE; Tue, 3 Jan 2023 21:22:33 +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 45F601946589; Tue, 3 Jan 2023 21:22:33 +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 7A89A1946589 for ; Tue, 3 Jan 2023 21:22:32 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 5C521492D8B; Tue, 3 Jan 2023 21:22:32 +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 53AD540104E for ; Tue, 3 Jan 2023 21:22:32 +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 2EE231871D9B for ; Tue, 3 Jan 2023 21:22:32 +0000 (UTC) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2083.outbound.protection.outlook.com [40.107.7.83]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-633-n_umPVXKMDiv686usq4oUg-1; Tue, 03 Jan 2023 16:22:29 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB7910.eurprd04.prod.outlook.com (2603:10a6:20b:288::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 21:22:27 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.019; Tue, 3 Jan 2023 21:22:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672780981; 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=FuEy0Q+VseCMtUJ1AcAvGo+sBYdq9SvWmLKN/S7mG9jBKHMYur9EE5JY/v8KN943hrR/z8 TJUf4wGs53HC4RFGrTAW/v8i63N84JjjpVgMJ5gjuqOwAFmK0l/jK8HPoroRh5/2WG2zos sHnJ8MQ4vEMo1UxaFYZWzw4hDr1byXE= X-MC-Unique: 4q8rdx94OIChvowgm5ulSA-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: n_umPVXKMDiv686usq4oUg-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V6 02/11] spec: Move virtlogd to a new subpackage libvirt-daemon-log Date: Tue, 3 Jan 2023 14:22:06 -0700 Message-ID: <20230103212215.19333-3-jfehlig@suse.com> In-Reply-To: <20230103212215.19333-1-jfehlig@suse.com> References: <20230103212215.19333-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0169.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a0::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_|AS8PR04MB7910:EE_ X-MS-Office365-Filtering-Correlation-Id: f9ea913e-b8c4-4805-5b30-08daedd09d07 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: QdmLD0OpLt57D83MkODvF5X3LlhTOcN4SZ+QKoA8TsMGbFoedbdwywVgWBlu+qun+5rvuv+xFVt+9GfufTcnMMiB7Ao7E0qk/AGBuoo0gbWos7GlQrLLn1bTCAVNBAw6sW9VhxBvJM7CrO5nBVZCv09b2UG+sKBDyXIfd+WOr0HJNNR0+t3McUAP4hWd9ASvw2LDs2eJSoEYjnAErCTrANA6oMAMVIfjVArfe2ORGVhV+S8N5A5yiXnMa5Vbum40/I/PeWzMuoTQdyg5j/ANdp3t6KmT9Wkd0ajhq9ytJ61Y9gmxqgC9L8aNd/S7CAvy9D1Gbd8A2dQgzAeGSIYaFRPjZrfpnxuZ9Pa5h/Ea2gigLoi4H5RCBXnRiZMSSAXD3EKU3pK1qW1ES8v39lqsaqPrCZNBA6iD8XMwqAQfFNEr8e6GLDyRNyhgPoo0vO/nI3yezg7OT5S5Zb4d/kN22dbcaPOOqurEJ6tYLwbfkBdnpDTblJPhSDV25obpC0VJKd3gHFBZ0UDJNl7QdJnz6kIyxODMkMQ8driAJ0Wt3eMjQoktTzNdlVN+knmGaKHK8zZHD0tfGRqePFxavgJy0H4Os+WaQcB8a7XhyiOkJ0uYh0Hy5tkSxWKBwaN+9cKIL8Tq8w/moOAFVUI7XObW12HaM5Esh7sRJ/gU8ZelwNf69GtNG+Q9/GcExW5ClqFt 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)(136003)(346002)(39860400002)(366004)(396003)(376002)(451199015)(8676002)(450100002)(5660300002)(316002)(6666004)(66476007)(66556008)(66946007)(41300700001)(8936002)(4326008)(54906003)(6916009)(2906002)(478600001)(6486002)(6506007)(38100700002)(26005)(186003)(2616005)(6512007)(1076003)(86362001)(36756003)(83380400001)(22166008); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?X4zfid9aT1bOCCCtYrTZ4VLnnASlVblMBKKeIPI0PN1KOz+wPeUz3DSOyqSn?= =?us-ascii?Q?X1IOT+QjuEaJOvjHqpVu53ZsaDyAFT8KzktYLn/uLPPEB/+dTSchrgj1EX+g?= =?us-ascii?Q?X4mrrBkfzqgixS6Y/POqAi4PHAxmaufhC/ttPtj6KgXTQq0yRYKDoTvw0zVI?= =?us-ascii?Q?UeJgrWVIK9B9IUci+yXzUZZuFPvrgb/XprQHgJu80qlc3sNCkjyxfyKTitmX?= =?us-ascii?Q?uao4JbtAEvUNzlvLg7SemBIaQlxlTsj8TTDVcOCecEND7Iwy91l4O8mbEDPO?= =?us-ascii?Q?SPlxVZy30kHSM3M3oPVVSC9neXvRzefBx4y98+Giy/0NQG8I8BTb/hFHdXfF?= =?us-ascii?Q?sWXHveMU4O5GGEw/OAs4AhqlSTHC6v23aPMK6w2n3IPajq4gAJYhX3rrLozZ?= =?us-ascii?Q?l4HSWQc5oULT83Ee26xgYgsA2qzvVTALR1pEHANrhcGx3GYS6JX5VU2L96Ej?= =?us-ascii?Q?r7EMmE65Z22FDdi4N7/H544zu4pkuHEYZ1WgDmbQTWB9xveGSmYZ1ccgEX1K?= =?us-ascii?Q?qtbv5Dc0uY1HbkC++jlAOecBNe3pL2wE+G7/vgsYf8MxNW1x+I4z9b2CnB/v?= =?us-ascii?Q?KBASICQjXorDB1Ny+1fkejpYfKPE4l+TBQc+/HGPwOH4CqLPD5dpqpDiE16T?= =?us-ascii?Q?t/mS3xkyruLXxZvs99B4gwNlycCra99mAyq567UhrhN7pza3OSL2Zm/xcgVV?= =?us-ascii?Q?PS+g4Yvu6I9d1ea2oveP9dWcE5fguFNFwKdAc/sm/Yl6dtmFfl6BypzUyIBt?= =?us-ascii?Q?1vkpwd3+vPGHIsVbl9w3yarP813hwhV/bxRa/xWybWbre4pfQ/lAryPlBjgk?= =?us-ascii?Q?3esvHYt2A2arSO4TfyNDJ9LwqbFbxXFn/SG6Ff83g2ll8azCWDGhVvWkp/Ix?= =?us-ascii?Q?Q88Uzk2+xqAem0Qqi3eaDijLc6JDGsjIk2iZvV6WL8vG/5CD96VU/OAuR7P2?= =?us-ascii?Q?8L91yPTu4tlGjeC8j/TXZibNrsxwL4wpdzDcaqTGVqbMHtqvUMPcnH+Uh/0l?= =?us-ascii?Q?K5kGkouzIdeVmlAlTApfn1T52KAGqpfFpbzeNPvcQN0io+MBW9egIb9Z+uzN?= =?us-ascii?Q?ykXkY8Z3Y6WK1KMfdcpAbR1Wk2di/Ev+446a7Hg6ZtjliYQ7IFP/C3sag9PF?= =?us-ascii?Q?gestWw+6wLdsJ9lsYb8tNhNkPujVZ+dma8TmBfdxAy4KZ+zPg9RoyWOUZozL?= =?us-ascii?Q?Qep+bBYJ82gmeE3yliUMUYBEX0qzK6BK+/m9aHZHs/qfcpihU4C3122l/MHx?= =?us-ascii?Q?TMRUDrw5uz+oVKdBw3kj/dHhZ7v9iOkpESBSX5SA0VXUDt1jitYK02I5KUKW?= =?us-ascii?Q?0ly0nHZt8MdIhL8xAKJqC108rd+X4Xh1d8ewIQAMDZl5Uf+hkqLygJC6aGHU?= =?us-ascii?Q?WlmbIoEx317FWlDPZaeCkdALvSIuDbm9Ysyaz8nFnxaHHnGTdZ4Tmzp31Vsd?= =?us-ascii?Q?7u3lzAdvcnktLRIXQ38AEtdc/j02M+VUjK/8yVyH/Xwymn3ZAGQgutpnzKNh?= =?us-ascii?Q?0ZW7K/iNE0NkLEu45t7tjgturL4rRvJQhj/M/7hF1R09aAdCjMKQO9zko+y4?= =?us-ascii?Q?id5cq3Tv9E/3OBqsxZVEtJXGp7uMfgigI8NLd7cj?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: f9ea913e-b8c4-4805-5b30-08daedd09d07 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 21:22:27.0613 (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: q5dr6BqoWcgLH1saKCiNgKqiQlPmjyMQtZMzqJir8w1MgSMoPZgdNi0Npm1X7ucqdDLGMRiZvMMj8A+XoGhG7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7910 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.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: 1672780982770100007 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:29:53 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=1672780962; cv=none; d=zohomail.com; s=zohoarc; b=QRs2qUTYwLJA/pw8hVFF7E+uOsosl2gZgcdAMy6gohlewxGc3ZCY21e0lHl/fhoJwmuI9UKUYSdPxIedTawayEpDHQfCrq0Jg7R8sqtKFB864tiByovPyb1ghh2AicaQZccO0N6LotSjnWDjhflozumOcsh8Y0dM6JGuymB3bSE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672780962; 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=BLMJeJnaxxesfAfH4ss4SdudsLnyfTR7SmyXj7JhsZ0290wdJk2FZ+j/fFhJoAFbaF5IoO47EvyK05YNCEG2BroYudmmU9aIOzqnprb3Ov8FJcw6pveGTP7SNRUF4ZOnLXNhZeY3jMT2IOUj9l9kYQaXvH2YvPRMALWMwG7jtMo= 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 1672780962306824.3422957454018; Tue, 3 Jan 2023 13:22:42 -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-424-zJrxOlRWMAaJT3_25xOScw-1; Tue, 03 Jan 2023 16:22:39 -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 4B3D12801E4C; Tue, 3 Jan 2023 21:22:37 +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 F0C1D492C14; Tue, 3 Jan 2023 21:22: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 D2964194658D; Tue, 3 Jan 2023 21:22:36 +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 214961946587 for ; Tue, 3 Jan 2023 21:22:35 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 1554414171B7; Tue, 3 Jan 2023 21:22:35 +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 0CA45140EBF6 for ; Tue, 3 Jan 2023 21:22:35 +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 E089F101A52E for ; Tue, 3 Jan 2023 21:22:34 +0000 (UTC) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2084.outbound.protection.outlook.com [40.107.7.84]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-96-C_hQIzV7NTK6VtfctBVV6g-1; Tue, 03 Jan 2023 16:22:33 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB7910.eurprd04.prod.outlook.com (2603:10a6:20b:288::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 21:22: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.5944.019; Tue, 3 Jan 2023 21:22:30 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672780960; 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=IwdaJY7dyzRFuEqcN1Fzi1N7JFiz9mwqdkxZLzox/8B0spH5n93M28G0JN8iPzd+/i+Ftj Y6RqiK6uiiSzTxNzItsGj9yNHShcg5yAKrR5FZ7SFfLJ3QDGfmm4fDVVg+MeWR6b+fgiRW mclg+Zf5PF2l24wgpO7XxMGBfG//QSo= X-MC-Unique: zJrxOlRWMAaJT3_25xOScw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: C_hQIzV7NTK6VtfctBVV6g-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V6 03/11] spec: Move virtproxyd to a new subpackage libvirt-daemon-proxy Date: Tue, 3 Jan 2023 14:22:07 -0700 Message-ID: <20230103212215.19333-4-jfehlig@suse.com> In-Reply-To: <20230103212215.19333-1-jfehlig@suse.com> References: <20230103212215.19333-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0176.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a0::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_|AS8PR04MB7910:EE_ X-MS-Office365-Filtering-Correlation-Id: a218382b-ca3e-43e2-fb9d-08daedd09f39 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: +c+L7/IDRm7iDE7Rpk+Yd5RTITK96enzuhqCN+WYgyWPBzBuceIoP5Y0shcRlmxMFG2Ds2DqcyEUsf7ifYbLcTGbh+QG1RH9uhEgcVJI41YYBPIaSyyfWNHHn0aAX9F2UJzaRl97tZ4lAe0Jkjt3cNTDEAEyeypiqRFtgedU4OFDtD9UXz5f9YeTnTczJUUqJc/KX/j10dzwBuPbxE0BVg4wY8tKR6HFM2awO8+GnFArbAzYt5ah3b30uZKbdNNyj5jclqE1lE9bepydfAxc4Vl6NUedSraUIM7730GqtNN4IOu73Xz/GVNltOHl8GzMftv+0fe6EZqv3DQdK6pbkBDVFBj0m7Ldlz/J3L12EBhelhC8F+/waqbboUNNoLnRxpAcbmzvKJchNHOEytcZPV7MHZYoxPMYII8TNgZCCOadrUFYGgn6Se1cOjMCOPZ5HIbhULaN3fvFBj9Ag/5wFOFHmO373yAuyUgPR/7ioA2P/cGyKbSEFriadHCkoBCfFrNl+Ui6Yb3XWAYgxmjvRGpLX6ttugq0edzuGyLQZTWHtLrthh6G/2kbP3W6Yq5MXrDJfyzZsb1oTWwwGtUH5L4z4tkGQZL8MNzm5OL/kCi/ygveOdXq/HFNBZKHHEnmkedf0i/XPY/eNy56VjT1Ck9o3A0PZudWv1o0RMOLC8Og8WgCQDWR2oRaO6Q5JYdG 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)(136003)(346002)(39860400002)(366004)(396003)(376002)(451199015)(8676002)(450100002)(5660300002)(316002)(6666004)(66476007)(66556008)(66946007)(41300700001)(8936002)(4326008)(54906003)(6916009)(2906002)(478600001)(6486002)(6506007)(38100700002)(26005)(186003)(2616005)(6512007)(1076003)(86362001)(36756003)(83380400001)(22166008); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?DtLzRKEJkxn4u7yccchjHD+2CNn0sGyvQgZcfbPat6kMPZAtk/Dj5poCXudf?= =?us-ascii?Q?0sAD+71mRtrfKQuzwYPlEraA1GKOCkrVuAe5oRrCzE9GG3ZPbS3n3dRmMAv8?= =?us-ascii?Q?xRXH8TYW7xkP72AnnGr+qrSebj5GqKgQ/4ryOHWWJrWfl85yt3+KQcTHudtp?= =?us-ascii?Q?koPIxdWEkGeTjr8f1KA0gXb+TVQ2y/ekGk339pRQhqm24AV/CL9E3xXjFkC/?= =?us-ascii?Q?4MEoePOutFeELj54yZLL1MqBe7k1V9cPUAXtIsSckJ9MqN4XDvzKxEIw6D5J?= =?us-ascii?Q?wTYORTxjPNucO6jYoSNnWt6psNwGL1XIxDI6dVbFh+aHfyYVAY76ckLSyCyH?= =?us-ascii?Q?Asp1D5qaJU6jqqwKBx73MpBBSZWTPndbJf7qrON3PEht0AgxRZ0pmdOPMD2N?= =?us-ascii?Q?gcOnUJMwzPwATAz7WP4V6bBBUo52iOkuCIgdz5y5BiEYwBJQv9oEZ1n6HNI+?= =?us-ascii?Q?qjXua4JEGDVnqNAOIewirgC6TTJrtRn25a1//6jO7vw+rZAVw1Te6Que9kBB?= =?us-ascii?Q?gGtxm66Jog25w2cXtwL1e4qf16e2+XfRg3/SbgtybF94AygiW9UxzuyaII3h?= =?us-ascii?Q?Tepi0KnBYD1jh1w92dKSlTdO8gebh9RixO293jffTk8hilt9ActiMBXUXBZR?= =?us-ascii?Q?C+JvZKTkfwZzgULTW7r/Cs6mViZTc3j6SSHnBKCHCasJmZkUp8PBUbiscm/M?= =?us-ascii?Q?zp0njgt9XuFT15WLtCXN7AwU5kOl6zmAu7Zud84NVWvlZJRUUYtOJTOTSMfs?= =?us-ascii?Q?0b87QAPs+5jyikXIWcvbj6QrkoG1P6MF1tv/zco5dUBLW6V9Nxy3dpOwqhTI?= =?us-ascii?Q?6NOHNSLRbE0JYrk4wsZRzVptGltmpXHeQRPvElZnuFRGGP50irMFm0ALvgww?= =?us-ascii?Q?E7iMS98I//vKIXkkHNmd/E6xLW9VQ68L67Sae1wTPMj5SW5XXulFkSOG+xuX?= =?us-ascii?Q?HorXy+Cgm8Yxc5rylAotDbrkuluPvAa8OSnZVo2yvN7hqxM4Cz9j1t63Zc0f?= =?us-ascii?Q?ZHcGspkXRpqg0OOMv+io+oBbGq8H42BWkE++sw0+bnS3xyXvGshpJgsIf98D?= =?us-ascii?Q?Q9CytmZ6sYhHyAzNgHg121x1xYfxSmH4BTxNOYNPbCbeAHSg3yYBB05Ihtrp?= =?us-ascii?Q?DtpEo0zvnQs6ey+qn/jWeZqI9fqdptitC5Tj5H5q7wGV/5ljo0ZTfWBGKVwh?= =?us-ascii?Q?fozfHwCPUH3VBnaYmfN22nhrthpWyZknyubvYCLiasbJtEVjkG3LYGqiJZO0?= =?us-ascii?Q?uZMrUJ2BLGAAaoy/JxZUPQNJM63G5wN7ujDGnvfofn62kd73+xH/AqTLB/sn?= =?us-ascii?Q?BRDJhcDZ/qGlwSeiGP57SvvhbYRU/5pclx29zAsDghLvB5Z1Vwh/OuFFprRO?= =?us-ascii?Q?ByYP5cP7oFIig4dKdX1I5yfBqrKe8ApPoHv5m37k9u0nGvIhslVFJY2SM/C8?= =?us-ascii?Q?5C6yowQBNSdQW+vNyWCC6DIkhB47kyP3nOMFsrl24NIIz1dA1yVLlfCPIg5d?= =?us-ascii?Q?8gb10ooHpE1A+hu4J3GkiX7YDNgpaN0EU48idyIc855vBYG050i1gRax/kes?= =?us-ascii?Q?38yCmwBjVrEHtUr19fUSwNtBC9vDSOVt3X0o1fY1?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: a218382b-ca3e-43e2-fb9d-08daedd09f39 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 21:22:30.7329 (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: d9iBTz6gOP8DOiUveU/tEVrIgUxDhO8wYwPPiiNKXBeCIW5NUyeqbLoNZNaD2DdJoZlSc2yfxRVOtNkti4lZUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7910 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.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: 1672780962748100001 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:29:53 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=1672780966; cv=none; d=zohomail.com; s=zohoarc; b=EwDntRmuBiRCnHjYn+jU0I5YRVpYvIokMbo7snaAcQOoxDotmpNFX15zPtAImPuezSiS2VAOpN5zZupVJSgngAFW3KtZi5Rola8Y7s6ZXDULefT5Gk0hgu/DYfi6T5HIZTqif8/1H3ATYQOLJzeCkhhl1NDvVeg4pkCZ2Ta/SAo= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672780966; 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=nWNAGaXBcg6tdvJqfCpPI6dU1TMHz1F1zcm5VVWdCMzvMV4kSMIQ6ZMX8xHt0iEd0XjWpPtmedk4bgs91N7MD6LQhdAJ9JIqFb960kowNWYdfEaWvOiJg/KOLlAmm2zrvARYy1bKYRbXFZzUwGirpwibajwk3UVRWi1dh72IXuM= 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 1672780966448921.4352743258962; Tue, 3 Jan 2023 13:22:46 -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-277-WmDmdhnjP3Gl9trXFEQA-A-1; Tue, 03 Jan 2023 16:22:44 -0500 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 67D46857D0D; Tue, 3 Jan 2023 21:22:41 +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 513C5492D8B; Tue, 3 Jan 2023 21:22:41 +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 1FB201946589; Tue, 3 Jan 2023 21:22:41 +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 3A99B1946587 for ; Tue, 3 Jan 2023 21:22:40 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 1A98AC15BAD; Tue, 3 Jan 2023 21:22:40 +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 12B65C15BA0 for ; Tue, 3 Jan 2023 21:22:40 +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 EDF9B1871D9B for ; Tue, 3 Jan 2023 21:22:39 +0000 (UTC) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2084.outbound.protection.outlook.com [40.107.7.84]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-256-C1pwHyoDPPSbK_oNBSirNw-1; Tue, 03 Jan 2023 16:22:36 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB7910.eurprd04.prod.outlook.com (2603:10a6:20b:288::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 21:22: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.5944.019; Tue, 3 Jan 2023 21:22:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672780965; 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=CayHjyH9WWTODyY8B1fmtaL9Fc8HbNhbruVUCb5mvn70zvNTOMy8HmrU1Ugt+uLiqYc2jC aoHQsC/4S2XTw2eLXU0aMln+Y/HDDv0I7NsvEZc0yO1Tcl18JNZMGkxdUsXwbyc95CsV+T 5k/JRFnVKa98O9Eeq0slKWxJt3dHrL8= X-MC-Unique: WmDmdhnjP3Gl9trXFEQA-A-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: C1pwHyoDPPSbK_oNBSirNw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V6 04/11] spec: Move lockd plugin to a new subpackage Date: Tue, 3 Jan 2023 14:22:08 -0700 Message-ID: <20230103212215.19333-5-jfehlig@suse.com> In-Reply-To: <20230103212215.19333-1-jfehlig@suse.com> References: <20230103212215.19333-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0172.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a0::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_|AS8PR04MB7910:EE_ X-MS-Office365-Filtering-Correlation-Id: e9e1051b-ed84-4f09-3bb6-08daedd0a14b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: GAoBHYYM7c9Dogd53fhMnfAGb6LtnoDavNOp91xan4A9AnBxgi8DeiGAPnbodtSySlS9O67PNloadb+39+cIggHeiY4qiAEUx8lVzWOSyaT2/k5tdqZB9cZEf78LXIC1busTKOqgRmobF9pRk2/Q0deCBo/8czQTLneYInB06zlrZzSf0sYoOaPDfn1stxzI4r94TSdxjVjYy5fkXjbIAvDZN0ISttxZNsvoeWXJ/GYjIVcIePLyMHJyKAPIujVknBiCwBelap30HhPF0/EWzvtkFDqAIjBu9bhd5zukcTSViH+OvDYcCP37MpNwh4AbzfOt+TCLSEQ0eRmdZ0qC2k2DVJL1szCCdV8uvkY24SYlBRPeHoMLV/A3dMoORLrXH8NHEh5GfO+8XVZJS2gKTSOwAkFlWMMwfYEtCAwXqTFYaNS8cuaJvqiQ0gobbf9fG+15Jicx8bxxN2vb7H2amhW4q0zqa08y7WX73X25wOXSrbB4fxcpTfbDJL3GKqMijN/c4UrTAmmfXyBjheuNE3uVIno8LFb8u823aBc1pAuQhqao6s3mypFCe3Ys9r7LTBLNZXJDyi0GUrhiaqiKciKYenuf4gjmvZxk66JrY0D0XlQ3pIIwjgeWYqOiOrwXTxbo14oeC9TtEr+qwQMdsWvgxd74E8Y787n1vPJi0AHVXAgYz0Tiw1x/St/nSBrm 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)(136003)(346002)(39860400002)(366004)(396003)(376002)(451199015)(8676002)(450100002)(5660300002)(316002)(6666004)(66476007)(66556008)(66946007)(41300700001)(8936002)(4326008)(54906003)(6916009)(2906002)(478600001)(6486002)(6506007)(38100700002)(26005)(186003)(2616005)(6512007)(1076003)(86362001)(36756003)(83380400001)(22166008); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?G+5pszCeW6HxKddFJijds3CLRWB8a+PSSdwadJnuu9Cp4qeQ2/sc4s+iy8i2?= =?us-ascii?Q?S1aSMkgb1BVvfyR1ntSGDvSJntow4zDT8w4th0e/AnBAT7PtAax710HMxcG1?= =?us-ascii?Q?+VrsR/Pp95ttnYsuuzJGIzKytkH3jzr+JmxTyNkTtkFC4KWaUXKqWilaVSwV?= =?us-ascii?Q?+u9Py/WLZufnmw6w7OyvaNu0a96Z4c45U8A0ZcsCadvuqM9ebEb/voJSwiUD?= =?us-ascii?Q?uIyt7L7M4/oUb4OclpKP6A+bCbePg3FrXg5SHieytnbz0iZoE7T24Uq6Q0jQ?= =?us-ascii?Q?hI/4J3DdN9Jm7xgyv9bSfyqkYUXzbSqqe/GtsqWoKXw/1NYjdxvm23CddIdO?= =?us-ascii?Q?K/lrodqmIPk4/ZhGoXWR+Cf7jILrj2to9VeTqpK48B/tUeHOd2Ypf3T8wIli?= =?us-ascii?Q?xJTekkS8PpVNCxm3ZZOsrscc8IAVtHggxm1CzSihgWoexEnz4XA7xcIP6smv?= =?us-ascii?Q?yyhyNFTqziMLYOq88pFooMdnw1MD+FSXJHTEGeqQaOMMxz4AD0ufBV5cQs4e?= =?us-ascii?Q?yeJZy/ase8VGDWOUaaHQqgjTJNAI6o8OHHZkd30q9ueYkireNsZmqI/oXC59?= =?us-ascii?Q?B7BLKCu6EndHgdxhXGssjMxK3RUlJpuNuQfiL+BXxRjFT9M4bw6dmUXltGol?= =?us-ascii?Q?BqLVpmMv/y/p6A5gWXQLAPJW2KUf7GH72xeEIjpoB3yck7f7O3UaArb+xyJ7?= =?us-ascii?Q?913XIui7t14yBBi7O/9CtPrZifv42j1kwPCPDzBcG8Mrbt4W4BmWRRsXaIxf?= =?us-ascii?Q?cHRID7IsAMm1wZvsF9UR4dg22lKTWFRLxAVfHGMUVozqbXt9oyzjh6175/4u?= =?us-ascii?Q?zcxnyvdDRO4iZnULjRSdKWgHZm9reaS6rwPjsD6OwSFDLA5i5R1yjn5CxFsE?= =?us-ascii?Q?kLEJA6+h3yOBxHY3ePEEzGhWtrb8NIPEcPZ4bWRaMVzVo5tObDDodhT840Fe?= =?us-ascii?Q?qO9YgduyaxMuSrqQ4CNd1AoA6K9FTq3L6SMV0daOEWONsEVhCaazDFA7badm?= =?us-ascii?Q?8IbHl7SE+FUV2WHv2HKPwFnEIfP8AtwKMLlvSeTGtVczgcs6lwp73YgWdlxU?= =?us-ascii?Q?6kUa1cfDsCsHTZHurS7fz3MJcEH8zt3AV8kDPSkvqlgWbDzjjyPh1UJm2xZM?= =?us-ascii?Q?vqIT8sFFNmiQFvg4rIpwSFJ9ANxIfENJwbY6R6X78pXApTF2yeuUCZo9lYRk?= =?us-ascii?Q?2wIZY1NExfhVg96MrqXMYAea1evd8Ff3Jhr+t1SQqDup25B7BJ0o5NVSuo5J?= =?us-ascii?Q?GAK/5z22Bj48UjEUVCx5Fu9rmj7C30vzjlt2mejr7O3eVnlolrwwiuGrLKlr?= =?us-ascii?Q?iD2giWEYDGjzH+N3Nq+ZpkTm58b9lfpJQzbrQOScmnfHwkBUR5hh2vimb7sq?= =?us-ascii?Q?FPipFKF/izAKlvHacWv2Qtgo4h1X1TWvRZfMSoQl69Yrx1RT9QWNCppIUpBa?= =?us-ascii?Q?rws08qe8oKUkxIefmQXM6+ZG7f5vRoYYAT6JcGhVkeQJbc5LnTGPj6gkR92L?= =?us-ascii?Q?9enTlES6+QbJOuUlGF8V5mg/66dJmyE3vRvwT0YC+2ziJM6FIoBGE++tYf7S?= =?us-ascii?Q?xbnxvJFBjTiXD2BmUsUq905Q6OWGXsYA8W4Xfuff?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: e9e1051b-ed84-4f09-3bb6-08daedd0a14b X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 21:22:34.2170 (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: /Sa40nRrIrA/mBPq9ZmSU/8s+xzbMnzMQnsonYl1dsihcLPI78bdC4Q7JR2mUlMKn3IRRGJO5wHkNSBfi/vWpw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7910 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.10 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: 1672780966690100001 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:29:53 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=1672780971; cv=none; d=zohomail.com; s=zohoarc; b=AQ2fbSWD2ZYEqovJ1UcedH64HLnYbE/9szKOXBFq4hJhB/XGqOxkizMz+to/To7HXkC4k2fRKsDQTLmxu3W74/ERSnCqOKjzK4M2ExmNo4FJdEWyW3Tp477QrtWTO/HBqiqagg1QxUEYF6CcXDUrjAmUKtNv9xw28tuzxuSaZsw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672780971; 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=efX6ONlz1f48tfx3IRy+OZtUkt2Y8rFdKBINTmi4FfYJpse36Pb9JNKWq88oYNeHyH1jv/W9BghW7nfnXo2vBPMqu0iFxXdQKpHW8/BwXSQFdF4kSeHNSy10Wr48qDsWN7McY1fnDIfqU5vChC2QEadtsxvDtHJlmMhzQXM3PMg= 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 167278097108297.80642633540867; Tue, 3 Jan 2023 13:22:51 -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-298-5GO5NKwgPeCaLk_uflrGKg-1; Tue, 03 Jan 2023 16:22:46 -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 9BE531C08781; Tue, 3 Jan 2023 21:22: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 82030492C14; Tue, 3 Jan 2023 21:22: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 6D82D1946589; Tue, 3 Jan 2023 21:22: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 A07C51946587 for ; Tue, 3 Jan 2023 21:22:43 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 7664B492C1B; Tue, 3 Jan 2023 21:22:43 +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 6D891492C14 for ; Tue, 3 Jan 2023 21:22:43 +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 4D18B3C0D189 for ; Tue, 3 Jan 2023 21:22:43 +0000 (UTC) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-he1eur04on2075.outbound.protection.outlook.com [40.107.7.75]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-183-Wh3shV5ANsazP6L2DYo7sQ-1; Tue, 03 Jan 2023 16:22:39 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB7910.eurprd04.prod.outlook.com (2603:10a6:20b:288::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 21:22: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.5944.019; Tue, 3 Jan 2023 21:22:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672780969; 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=cY5YqouxtvOZ3xwYBubQc3JB6nr6aG6JP7zjWm3/KNv1kbtixfz3db+QC/O2c2ZiRfVCGx lZA/qhecDQsj5WoSRq5Mes/2S+gwprVL2neMhRa2IFbUeMU0OC3+yYmjugW/sKMF3/jeQ+ GiqYQsb50FOohztYJyGut4AgQYXWu7Q= X-MC-Unique: 5GO5NKwgPeCaLk_uflrGKg-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: Wh3shV5ANsazP6L2DYo7sQ-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V6 05/11] spec: Rename the libvirt-lock-sanlock subpackage Date: Tue, 3 Jan 2023 14:22:09 -0700 Message-ID: <20230103212215.19333-6-jfehlig@suse.com> In-Reply-To: <20230103212215.19333-1-jfehlig@suse.com> References: <20230103212215.19333-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0180.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a0::13) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB7910:EE_ X-MS-Office365-Filtering-Correlation-Id: 487232a4-be6b-4faf-1977-08daedd0a35a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: Yxp7CN/YwMK1Gd5HvaOtsqJP/IWCwFLkVXW9JcYo5stHv4TSpZONbCHwyvXHH5TZQ7Lhx2b4EJGoQFTb4TRBZHoAvflYwZb3U31EywDyIT3yDj3SgzDwSB9isKveOogJiKv1679pWRuaFmsGDhyW036A6JK8wFhGVftL0qH1B5zvIol3tDK+679VWW+RqzGAAKvDQAItuf73Pf1EvZeAbSvRq37tapCKndyV+TNCRjPtw0tBEcdYO+GSr82MJVlbN08Vbvak+iGpVXzF+uvaUnjVJQaWXm1RDN+8f0QfKK0d2tVGuYC+r5XV3yNBo4Eycguq5xiUDahPkKGKklcbtDyOGX+1ioY61XclD1g/YI/9VVJ0HNNOZXUoo/tIIC8r1+4gBpS0WHT57v3YP/QmjsRYdgeuwi6hNDsIqzB09CfUDpLTWp6e3LBdZje5ebJttAHvgDFbk96n/SVxDulhmC6tSj6q2Uq35IX4VpoDt+yEPsJC8l/pF1NKOD9DcUMtHb+Bvkb+Y2ynqNORvQ4LzPdTh4ipJlHcn+tKRH9qBbz8xnceqj9u6iQl2qViabT/B+yLY1kTrK0blO4aqOEGNeKenS+bVr4xk2SLUrenefLPc1aceZbXA79L0cKqcUSD74qgMLVdOdIZ5khW73vJ0BPK8DQMJt5qbEQ3KKEBC7Y0dtSw6JyseSgHfLyxAljKXtmIQrjUcCm8rtzDCTz3QQ== 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)(136003)(346002)(39860400002)(366004)(396003)(376002)(451199015)(8676002)(450100002)(5660300002)(316002)(6666004)(66476007)(66556008)(66946007)(41300700001)(8936002)(4326008)(6916009)(2906002)(478600001)(6486002)(6506007)(38100700002)(26005)(186003)(2616005)(6512007)(1076003)(86362001)(36756003)(83380400001)(22166008)(21314003); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Yu4OgnEBoh0jpXWel6LO5H4UqpM49i+U193UIOIGCRwx7w9zp05LbByMT2CE?= =?us-ascii?Q?d2R2q6vw393h9GSIgXjL9yiXn6KeMen01nClF6b09Ou44uvZAZZAmmCy6ylq?= =?us-ascii?Q?NJ7nTjLCkwxpT/SvFKg7Hz/P/y1Ls1iWbQcpX8dbc8/RHAA46MOJRMPsTcCx?= =?us-ascii?Q?tPNy3sZjH6thWj+JGm5NGCGVuqT6L70+93G7nc8rD/yaUNIPY/UzjgiB8r96?= =?us-ascii?Q?9b1+rAUrv8wXws8+Nw44bnynlksAtkQA46/H21fJ/F4BK1Mx5iWYBlXSttFi?= =?us-ascii?Q?jzokVNE5UCYG4+qC3xGtc9RBk3WGHi0VDmwtFFMaSU+JcYCPZXrqcWUaVHQx?= =?us-ascii?Q?Pftha7XFPUtIk1nATbJVzHOqkOSUTjg7a1wjjKp4/lvif/p89XXtw9rbR81X?= =?us-ascii?Q?J/TYtQDpFtEKx2vLFAo6a0lNOAJ6SJsiqp6/G2amrMRPjEzdZihT1ve8ZdwZ?= =?us-ascii?Q?RB4Z2UmJfM19RxRqUfSaMK3IgVQ1cGASkmnjjJXFxiOHJmmKsLwoqTitJafe?= =?us-ascii?Q?u4LIn7u0K3NFwpJ+1Ozd7ZIcYSoMOHm51Fx9R49Eb4+tpKNy11J1PUJ8kEMl?= =?us-ascii?Q?adEkqGxRIg4Sy0z9gjQkEzG3WyEMm0xDpvj55lKzHV1zXtOkX+kXypwImCLj?= =?us-ascii?Q?bXEPW9nYKJC6B/7CFVxxurc6J9N5ey4vsznd2mtRhSAgmB5jO1rBzEYKyeMD?= =?us-ascii?Q?C9TCPE15zuqhzcgYTn6QKYV0KWiaJg3dQkvWHtVBH0BGQtSh+T/QiZlTa9SH?= =?us-ascii?Q?h0g3swn837uOolu14nah7WGRErxWSzk5xW6l019dN69PjR6ihurVe14zSjc7?= =?us-ascii?Q?3n2GICDq947SGO5qM1tPAOkvo77QuIaZOaaapdHpYqZztNc4mvnTTvHrWHeU?= =?us-ascii?Q?xDYDRuPQ15FsLnsHppH6J1sCgILUPT2dX9A1btb9FaWIJzHrBalP9+n+Mj7J?= =?us-ascii?Q?AjFhn9n6l8FsixHRAx7CFkGNaa6RMG5mVPuDS/DeodY69mKEoBxpfrlq0zIv?= =?us-ascii?Q?ByNbudeAdMSoJtA+E0DJ6MsGf2hTvQ1O7ECyRlfGAEnhV72tBgqDUSwU7O7g?= =?us-ascii?Q?tc4GrBq6AuI8b/Z0IxabyjhWqqYnXZpOb9zcsLkXpK/vcWx1iVpXXwRYb5CJ?= =?us-ascii?Q?hsIifWfGp8JrsiCr7mprIb+UtXDkbs6WowmJLTcMwueswYyNyHhtr1s/6CGV?= =?us-ascii?Q?cghtlZ1lJJaK9aPbm1gApqh9/HKNNVajIHxuF9JRY2nj/qwt9qTp6rVOGzTe?= =?us-ascii?Q?hDwxryX7a9GFK6E7DvoAfPQ4Mf0ORnMZeY22n4vaE2AK3kqIBEk6iiQv8K2j?= =?us-ascii?Q?dpX4hjKTeYTQLSQwOq6qfVYTNVy9TVvUJgUcwbufDrNGYcELwL09vM5SeR5M?= =?us-ascii?Q?P8CQjwzRGulGk/cN16u7cfo+ptcd1S86m9uDm2IpCCe3rNB3dOXX6mzA8np1?= =?us-ascii?Q?2lGYQ4UuQQHkFrOos97zmrtUtqO2EeCzz9toBrDyRpdBeNDglpppTyOoKscY?= =?us-ascii?Q?f5zhSgHzq35bdqZ/XG42chln/wQiKd8E6PepB7eZ2CFIOyuz41Wn1YwKMovE?= =?us-ascii?Q?YZ6GB5yqpEk+Sbe4KxL6VBaSuxEsMQn3M7hBfKaa?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 487232a4-be6b-4faf-1977-08daedd0a35a X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 21:22:37.6542 (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: 1AADiOBiy5aRcSXb6MaRYO3upAlzwOByXRDO2V2aI1AlTL9A+p/omJBThL/3bnKiAhAvOaUMlBlD4jxDnR4leA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7910 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.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: 1672780972722100001 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:29:53 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=1672780976; cv=none; d=zohomail.com; s=zohoarc; b=GJPI6+B5SFHDCFCA+EllSu48NPSe4MIH+1jp3ZrFovR+hAC8yCPez34yX5j6qpTeB/qdNxWLV0PhJGjdWdkxq2iWPFMCy627MpCJJkGO+T+IcZhuga/C6CUobbnPEMhpgJ08Bgn5z26k8F0SLb1zWsZA62+jyA+eQ8mOeaHJTPw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672780976; 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=imE2RdVYbCiFMJNR/OJno4ucscmie/G9VzenEWqYP3rfGg45HFwPt8wmihrw7X9U0nh1r+vAwai0Ee706G0YgSDARouLvMkinRqESjd1jWEMQefkUYNZLuSck4eUjeMUQVQrxeAJFSHUfctzp6MNTbzmqwt4z5weKXZHZ23Zn94= 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 1672780976912457.8750081789608; Tue, 3 Jan 2023 13:22:56 -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-186-H-kc4Gb1PVup6vsnqFz_TQ-1; Tue, 03 Jan 2023 16:22:52 -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 E7A052801E46; Tue, 3 Jan 2023 21:22:49 +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 D0E982026D76; Tue, 3 Jan 2023 21:22:49 +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 AE89319465A0; Tue, 3 Jan 2023 21:22:49 +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 CFF441946587 for ; Tue, 3 Jan 2023 21:22:47 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id B5227C15BAD; Tue, 3 Jan 2023 21:22:47 +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 AC428C15BA0 for ; Tue, 3 Jan 2023 21:22:47 +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 8CE15185A794 for ; Tue, 3 Jan 2023 21:22:47 +0000 (UTC) Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2063.outbound.protection.outlook.com [40.107.241.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-563-qIOejOrrNf-I0s5UC7zunA-1; Tue, 03 Jan 2023 16:22:43 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB7910.eurprd04.prod.outlook.com (2603:10a6:20b:288::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 21:22:41 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.019; Tue, 3 Jan 2023 21:22:41 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672780975; 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=Hrmt+dFbM1DZqUwqpSdiNi2TT/ioDKIKFiPzkdRXzfYDLwDzxqXU0sKEo8dFLVmBikVEIN Nr5K3xm8m0VdiJdI+ybK+ZA/UtdNcry0105AcHYD2Yu5TBvtFKQKP4O68eYSfvrvlrmW+L ZZYxfiPKv/qdTxUYFtxLIlzWIQZU9zk= X-MC-Unique: H-kc4Gb1PVup6vsnqFz_TQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: qIOejOrrNf-I0s5UC7zunA-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V6 06/11] spec: Move common files and dependencies to libvirt-daemon-common Date: Tue, 3 Jan 2023 14:22:10 -0700 Message-ID: <20230103212215.19333-7-jfehlig@suse.com> In-Reply-To: <20230103212215.19333-1-jfehlig@suse.com> References: <20230103212215.19333-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0180.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a0::13) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB7910:EE_ X-MS-Office365-Filtering-Correlation-Id: d5dcade1-5382-45f0-8289-08daedd0a553 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: 5vLR61PbeaRNGp3Wb9juF4F4600Eoi4YOdyzgZsTNthNcZ65vjXaqF0fm0dHwx7nyggxKo5OlYnPq7fg0d/GvMSzjs+Ohg/thM0nFnp0YlIB/enIOv6s4ZULvhVqFE6O4fescGhAMFBRFnhRr6yHqHk8POU7xKxeM+YFNrA6soF5NFua0ZKmXqHIFzFu5JN81TDAMX5M/HbERXK10A7LjGiDHYEs2DuEB9m4TGoOO+GuSP08j4lPjKCMDjKjZVDI7xxI39eCYl0PbJv0XSOtowJEErXUaj7klMJUF7qEZyH8bq1Z661yQMR2fE/Q85dPkbGhVR666Mp4xIu/OTNCSZI/beK7Zt2qnBlrTaf/1pS0U2hDqYiOm9WS31asIO21g5jR9pIOGkTWaXfpUpHjxPTPmCMxmXpBttILSvfKiS+5c3dZ/lpRN9znKdhRQQPS3+0QuAL5Qo9F6aXQi2tuYXiivvGjUnLQfVCPxjZeCs0EpLRUTPinyAjF17Bz+rx3xO2EPH0Y7bKkynOuIaQg6keSh9Mn0OWSikIY8xVcwINaasaf7ULLuq9nIMKgzUFP3c7rIti0UA99L02zZI+zQQaMZ0vptUjRZmM+gQrfnpkKi1+dQHcY8oV3Zoxf/pQSBxWA+TlXIHLJMj5GNAKrfNBRDuw3muXrySqeGqY2A8BihroIq6k7b/zrtNYG1UYA 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)(136003)(346002)(39860400002)(366004)(396003)(376002)(451199015)(8676002)(450100002)(5660300002)(316002)(6666004)(66476007)(66556008)(66946007)(41300700001)(8936002)(4326008)(6916009)(2906002)(478600001)(6486002)(6506007)(38100700002)(26005)(186003)(2616005)(6512007)(1076003)(86362001)(36756003)(83380400001)(22166008); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?JW63nwc/i+tPUEnK3WMy45uIamDM7tIZbwx0Bxh6W+MQ4AH22zIB2GGUW0HM?= =?us-ascii?Q?+uz1yPxW7ixdKpOeZyy0MXP6mnmEZbpbIgKY7KJj+ukyAT6JVnuuyqpWsWAP?= =?us-ascii?Q?rzgwLYshJ6q5+o2Z5HalKJaH9VWEGFLHs2EQJZ2eepyPVIWiGTgy8B5TsdVQ?= =?us-ascii?Q?2cVK6HvFtTy2qSUlrC8bbsAkFBs5TQxhq7jDrWmjIqicXaU7h1ZwNw7dHIF+?= =?us-ascii?Q?eXyg5hm+cQOF2UU4iFnZc1Q51DY2KYKxic/5Z9EMkI2IrvzaEeA1JO8PCHhI?= =?us-ascii?Q?ZLfbTSiJeyRADeX9oosQD6BDnYmnv9idZB0IBC9LFkI75bAj8CVDp383eNst?= =?us-ascii?Q?MYhDS7YQHrvCivcTWL1MfhzaIHQN6kCwAJ7K0e8xqcraIT4huK3H7yg08Qs2?= =?us-ascii?Q?PNWXsHLhX9Yg7koYWTmdwsvp2NFo/aqb4ouE4YqF/6kG+aquWDtj5V2RpwVQ?= =?us-ascii?Q?ctPaZsWKIawOVA/HpK7Bq+ml+cAvGex/4zuxckQV8dr0M/vmezG9BPedCecU?= =?us-ascii?Q?LxGOyRVVayatrDImXxK/TBLDIAOcr4BdjNl3jAm+mtKT6hLCown8K/3VsRml?= =?us-ascii?Q?bbPbJLdujReh/zyFVvd3gP65+P2xHabx+glHuQ5ApoFOj7X10VCDqIdudTjG?= =?us-ascii?Q?aBBFkdwLeenIyy1tzwdFBBihSNZq52esy+c8o8BLS9Ljwx4hjJV/AgHjE7UB?= =?us-ascii?Q?f9CGDSwf8mdL7AzJUJS9yY+horDsO+8JNXzQM6smbY/E4Zr/dCysp88zvvub?= =?us-ascii?Q?s6fWgMjvJwp5fy+tIds0HyKZy79b5824pHmEJdvJgFDdQPd5KXbQ6Patdg/q?= =?us-ascii?Q?kdT8GidmFzDbCFQJx2Gv4BOOZ98NI50S2ywAaTP82fEN/571Udzb8Twhbu/F?= =?us-ascii?Q?jz6RfdSr7MZOBjkLqovbd0kGFCfhqhqovPAFcZpwHzZQv/PPpj9NLbBwI5qm?= =?us-ascii?Q?1SoVTQ6za1zdbbk8EX9gLLY97/UAZM4BSnBO2IGgk77U+EC5fIA0wlD9pe3e?= =?us-ascii?Q?QMyJhWNEL1CBFDa/9DnkRI4VeGiSsDdg28EysmjaPlpAIRGLWJqFlGzHnPjR?= =?us-ascii?Q?mKadkBzYyefTgnsQTvTkIDmj7zXztUGG3SQpd4ISg1n70d6VYD+icSYnTzeo?= =?us-ascii?Q?HC8LYsNNJhQsldq4ScHuJI4eVr5NFHQ2fQUyXi0ymlYKfHpZhTGs5syJDo7O?= =?us-ascii?Q?hP9vtJIOc+1nbo0CmdgJT0o/gX5A4Bs8deXaW0DMzgOTJjhGoNy0YNdsuHiM?= =?us-ascii?Q?EhAGvxSsSam4Kw3B1fHhZ1M5oSWamszdcKoRkG+bDdBCZurj+rFrLkeDrnrO?= =?us-ascii?Q?OAKlrv5/M0L867kI+2LAmK/PaX3za9YJVjXvMuexKzV8rtraz03hPnFSPcdx?= =?us-ascii?Q?LlxmcrS+597yTSHtSeXYMeoHcaLaFE4fAnu2mQQEh3DNO7Mpc/WndV3drC3j?= =?us-ascii?Q?G9dHz6N1HScy6geEOxYEPRLeocEUTf26Tfu2rtzvBo3MnQhCF3JeSjyBTmCH?= =?us-ascii?Q?XzupZv0IFuk6cW2l61YHc7kn/4r1TeukwcXO+aDEeyfqa6ocRgWep+7KMWVB?= =?us-ascii?Q?2xzsC95Xkj9Dkqbhtb8y1bDl/hxOHTDwIj/tZIfX?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: d5dcade1-5382-45f0-8289-08daedd0a553 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 21:22:40.9665 (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: AmHIcZ0OwjxsYmqT0h2RBLywETTxSTZ1GuyvI2hLpXwngLsO9SWxg7gFNfXnOlSh79+puAwqJLFriKcBffjllA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7910 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.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: 1672780978741100001 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:29:53 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=1672780978; cv=none; d=zohomail.com; s=zohoarc; b=P+ZDIL36P1kubZh4bAoaxLEYgrW/fqifdQ6q+XdfS4x7oHRN7KzaTiviXs6eTo1dR9uO6ALxKIpegzOh9w/Q3uUXI8n7y9k5nayaRxvgoxoonrcup1Yu43woLuWOoxXf0jYQwVIkdIiCa4+jz4RTFMFNmaH0G1Vftn2QrdUJZgQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672780978; 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=OJlsM9lzps+lXiGpv0XfSgmDVzDWyd7mzuvi0Fa7/vgnS/H5nxJe+8q4EG2zDhMK7bvTr3C83ssgofR/XYscUW9s4ufpruyeWCDbKzLnCEWUUqRzjKt0Rrbu5uVfGwX303OUXZIFyjcBnq+jTQYuwc4Ztgxfd+/kLZJrH5tvSCc= 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 1672780978848649.298375729211; Tue, 3 Jan 2023 13:22:58 -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-637-4_dLI282PaOGiqbTu2n0Vg-1; Tue, 03 Jan 2023 16:22:54 -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 40B353C0D189; Tue, 3 Jan 2023 21:22:52 +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 26707C15BA0; Tue, 3 Jan 2023 21:22:52 +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 0949019465A2; Tue, 3 Jan 2023 21:22:52 +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 8112A1946587 for ; Tue, 3 Jan 2023 21:22:49 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 71BA849BB6A; Tue, 3 Jan 2023 21:22:49 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast05.extmail.prod.ext.rdu2.redhat.com [10.11.55.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 6925E492D8B for ; Tue, 3 Jan 2023 21:22:49 +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 4DA3285C064 for ; Tue, 3 Jan 2023 21:22:49 +0000 (UTC) Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2060.outbound.protection.outlook.com [40.107.241.60]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-575-jYHXVNNCNNOnYcYCSJzFWQ-1; Tue, 03 Jan 2023 16:22:46 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB7910.eurprd04.prod.outlook.com (2603:10a6:20b:288::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 21:22: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.5944.019; Tue, 3 Jan 2023 21:22:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672780977; 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=IWG5xIKZYdJtHTlyQ5D3fg2EpZSckyoXWyE7OFWfYEfoYM6lKUuwq3htIZcBLoy3VtUy9i uwJ2n4+0VIDmuERYl8ILTkxAg0extSQBY14U9QE+ja44I6cQQYY2Anqi73HAhQyCEBWXa5 ntdGpMm3fWlsC8/fACnAVEeJVw0BG3g= X-MC-Unique: 4_dLI282PaOGiqbTu2n0Vg-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: jYHXVNNCNNOnYcYCSJzFWQ-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V6 07/11] spec: Add module-init-tools dependency to nodedev and lxc drivers Date: Tue, 3 Jan 2023 14:22:11 -0700 Message-ID: <20230103212215.19333-8-jfehlig@suse.com> In-Reply-To: <20230103212215.19333-1-jfehlig@suse.com> References: <20230103212215.19333-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0102.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::18) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB7910:EE_ X-MS-Office365-Filtering-Correlation-Id: 8862fab0-ecc6-415f-2703-08daedd0a748 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: fEnid7BcDHyReMWlR1LWLDmzErpl7RKkwNr4trtdqpP9FcuoT8/uQ/L09/r9Fj1tRxHD7y6/dG9UXl+JJP+U8J7ER+wXuGv8IwUQgI9dy45h4jeQBT484DJAEIUQ4ltA/mh0XVGC4nF+Y6Zqklhu0csVaQ2JrbPlmFJTSaiPMjx+jXhQ3BFItEteTihaDqu8BrDdLFkcCJ+6reoYRyiow0lwiPPbmP4thK+Qug3VqS20SgOoIRpGaUMNnqz+ghQSeKqZ3oHDT+P3aBGlwmDCZkPXhqKUVHknuznf0cbMfuKW0dR+aUay++R8Rp1vrDQbW+u+jMZaLVkw/MmQZHBZGvpyGYFAJeM0SIOE40oDiGQ9f3iiAOXZxHHAm11d+jJlpGnu3WZ60D1y26RxFoDPV85OgzBqeWBB1Fh6JyT6Ac11N9cfZliM77ikMX4egDOS+9GkxR0DnsSJJ7n3RUxLFaF4+oCGw2MkTsjr/eHu3krtbUyaY38Ge+XS+0FJ7oNjAE/Mfg6qsIA0bAOV72Z3vMK9Gty4t6za1NcPD5zs5uH4oUoZxGMDaQoXy+aDR6s8cSYW6u3Quzzz3aU3XeACb6pj21csbdv4AIZNmjQaGsUlH+ytlSmMgH/0B1h5gU6JvM4sl7K9UqMJVp9vSEBQVyXavlue8hh7fKWkcOfWE/ikYmjS+QrCvBBf1ZKEMwf/ 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)(136003)(346002)(39860400002)(366004)(396003)(376002)(451199015)(8676002)(450100002)(5660300002)(316002)(6666004)(66476007)(66556008)(66946007)(41300700001)(8936002)(4326008)(54906003)(6916009)(2906002)(478600001)(6486002)(6506007)(38100700002)(26005)(186003)(2616005)(6512007)(1076003)(86362001)(36756003)(83380400001)(22166008); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?mrcuVd+csHqCIH6m5w3mgGBiI5xQYwwwo2zwLfmx8JclcK3wPd5LjXeoC8Q7?= =?us-ascii?Q?LaKuePD4E95MzPEcqaufZ4fyEE5Ha9x8/DREm5dJzbi1o/tk3xhjXvg+/1Wn?= =?us-ascii?Q?jNXPL01DvPiPoWJteoxzWsn2/vABUj1NXToLCofR9LAJugKetxEAeVsRHkPN?= =?us-ascii?Q?CV4UWn8TlZ/Yj7TWRLXKJQ3wQEC/erd3FM++w217KQQc8twwn4F1aXnBB0UD?= =?us-ascii?Q?ZNXJT1HqsxY7CxG+8yuC4pP91ipfpK9Ya1mKYknEoCQ0uGMcCZDAs9l4OFhv?= =?us-ascii?Q?y5QxlHWrna/G6U7XN4qY/V7Qquj9g2ZGrirmud1pxFKSHuFl13Tb4Ttm1dx3?= =?us-ascii?Q?NQ2eaVfouDRKk97r4PRRWbjw6Ye1wx1ifzo1K8waS23RQZDgZCur/WdPWcfs?= =?us-ascii?Q?tUI1ApdNdf4WWbIZTdSgpHQV/X4LGffiX+v3JjRz7El4uENpUEjQhVZkZS9Z?= =?us-ascii?Q?bdqVeik/qTRtZtkyeLhbknENrFXtVpiJgxrQ4iN1weLJncsK2/GvlaqsrlMM?= =?us-ascii?Q?6O4mIteqH6hiAN1tHOnxyqCsRwE/ho19+YUJvSstlmZOhslpZ3RTDU68XThB?= =?us-ascii?Q?sy4BBGNehtyqbz5NsyZj/pWueIe+b6wtC27c69GCpORn0Ww9xLHicVLGlQ9g?= =?us-ascii?Q?7lMkYgFgTccxjneoBqKSxZBgtBqGzPb00Z6L/1Tf2kKnnlSntcvBTgf8ZRvl?= =?us-ascii?Q?U8h8z2OLh45rCwArN0taiMgm5/aJoV9qJmz14rrafPGgUJsJFq1xJJG24Omu?= =?us-ascii?Q?ripHylGr1SDKwEWOTQ39b/kPqyIYBgykj7xwlqWxzS60E44K0F8qVUkOBah+?= =?us-ascii?Q?MY5+ybN3GE0R1aO3NWecJrEXtYer0G8GSuaGA7Fn0eiMA68TihY69CLD2VCt?= =?us-ascii?Q?tkm5dYTe18K+0S1RxGMywuI+xsBtrieDLO2DFE3clIMPm1HUq5S357JbQMoE?= =?us-ascii?Q?+qSpw0L7aDAwcseBDTCj1/5/C4la7xyYr8XqNwOu7q9vjtvdUlRhYi8rZvI8?= =?us-ascii?Q?Ixk1OJwOdP+BI4aUfAVZUNmCcfDyeyNAMr/0S8Bd8YAnuCNFuSnxVwTVIUwU?= =?us-ascii?Q?5k9lVnzfQu37II5M0e6fsl04XerVQYoCd2uC4vtyW/FhQFmrY6FNdGdBdLqD?= =?us-ascii?Q?seurshhtw8uYMTtHu7+En8xkvr6oRlQykQgWbtP+PBTAFoyM8VJfaq6z9Q5e?= =?us-ascii?Q?rA9ffcF/Ne+oBAX5wokQxYY2m8oMzoLFHd2sLMtNEYFvM8wNoNnAUXmjUaZP?= =?us-ascii?Q?dNluS91j7F/0ARuu+DiIjnLyQTfIGBdAwA9Zhl+V0j6pr8t3y8w6Y0bfTd5B?= =?us-ascii?Q?Hs6bYHlh7rDTD9DyEA8glOWQrVDXj+58X116gAYh9WvFQ1ihMlLI4G/HvWWC?= =?us-ascii?Q?+CbDl/wxDcqXgXgYwxdGDKScDdLTpPpADiWw0wsTTZKsv0O6segmu/vEQWdN?= =?us-ascii?Q?2P+GiLip9LLQ+whFriVx99Qz0nhAWaovCsQ4lJ+i1b8GoQKNEHoKdHgvaozZ?= =?us-ascii?Q?YvfLt8Km4HfbKlW4rfk6UW5OMU4Bywn7yeiZe8j3f4PmRP4d9pLsM+8hS4Q3?= =?us-ascii?Q?WayPuibkSiiQ9u8OupKTiIWvIqCos/IrlRJ5q7p7?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8862fab0-ecc6-415f-2703-08daedd0a748 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 21:22:44.2475 (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: OFqROQ9KD9XH40229Zbz6eP9ehc3H3d7saNYlVHy92lCct3SF1FqJitS6e20af83DU+E4JwqUis/RI6xkZkbUw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7910 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.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: 1672780980754100005 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:29:53 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=1672780978; cv=none; d=zohomail.com; s=zohoarc; b=E4k44LUWYMrrYK5dkxz8Z33ONmKLtvXUCci8+g13Kuagzh5xgCjtAaBCBhiWp3C+QOvKsP6mYERV3gL+9+WtcRaHm/dI0F0xwN+KHzvsZuqop5J6bUCmClNw8meUJioKbYGdwnLmAYJAFA/R5mO9lygamUnymGsMDm5L8Olfn0I= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672780978; 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=CXCgeAoKlAR1w3AHFLZvWr4ytNyswSt8wZyGyi8J4VIoMM8LLL/fJeG6ohH0yXHgbUqyvEmAVTURXO/6QKgHUkl5JSaKB8ClERKpAEgD8s1CbyivKZaE/c80nfuiJWuklKj/ZM4OCg/OquJ2sjozkg3Gbc+6oYLSTI9YZyDrarc= 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 1672780978280633.7689948026625; Tue, 3 Jan 2023 13:22:58 -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-56-aHa59cG-OoabwyLqAoisGw-1; Tue, 03 Jan 2023 16:22:55 -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 D03A62801E46; Tue, 3 Jan 2023 21:22:53 +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 BA80A40C2064; Tue, 3 Jan 2023 21:22:53 +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 ACF721946589; Tue, 3 Jan 2023 21:22:53 +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 2BB541946A6C for ; Tue, 3 Jan 2023 21:22:52 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 11D89492C18; Tue, 3 Jan 2023 21:22:52 +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 08BFD492C14 for ; Tue, 3 Jan 2023 21:22:52 +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 E193F857A85 for ; Tue, 3 Jan 2023 21:22:51 +0000 (UTC) Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2080.outbound.protection.outlook.com [40.107.241.80]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-19-pJWZqkq-NFaGgA3RMK8HnA-1; Tue, 03 Jan 2023 16:22:50 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB7910.eurprd04.prod.outlook.com (2603:10a6:20b:288::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 21:22: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.5944.019; Tue, 3 Jan 2023 21:22:47 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672780977; 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=gVvPfQ823VURbuta6bNEuYBblCPxvhiA9qMiyYkccsAezN4Kg5JmvUFRsFOQeo0FEL8ZmV 9Rr6DoHZ86EDHXbWo5BU4y48G7tEyX9bT/DYdaukzYgMqZ+JZk20GWe9/saFnTpZv+Jrsb a7mzEMEYYvg0RpKvFKa/qQahmVnKrtM= X-MC-Unique: aHa59cG-OoabwyLqAoisGw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: pJWZqkq-NFaGgA3RMK8HnA-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V6 08/11] spec: Add numad dependency to qemu and lxc drivers Date: Tue, 3 Jan 2023 14:22:12 -0700 Message-ID: <20230103212215.19333-9-jfehlig@suse.com> In-Reply-To: <20230103212215.19333-1-jfehlig@suse.com> References: <20230103212215.19333-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0093.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::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_|AS8PR04MB7910:EE_ X-MS-Office365-Filtering-Correlation-Id: 58c39c02-2ccb-4dab-1930-08daedd0a94b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: unAGlF9Vfy9JgjLD0XmAJMkS/lrvb6aKPL7jroZW63ccQzRwYLafFNO7IL+RT3OL5ArVgpM6j3jJZkDjsVAco7YOS5BledLtnZA3IXziz8+g/2dKGVjsxOLQ0lB0JxFlkJ1TIyqbW/4x7E52pnbL6Wac0+OzFMziKKn1lQcRbc9RkG2544TSCxYmbITjAayRENmwfrlKNIxuW1nvlH3VGLksH2E77yL3fHEU/MI+Pl0vIhzwIViijgVinRqK3fzuEos5UvKdNuEPDrYQcin317M7D28Sv4N23fe1afP2LfQnn9wSMTLNw/5Zu2Jqln3NITgluvh4j/re5wtphCa7FkiWX0co+9cGMiiRNGR2vKWqzn/XU5aOz9bbDLcSl9sSAONBXD8DZFZ9XuB4VGsi3pd3sS9Ysu5VsEJRVeDjXGfVdadrjVyKxJwteDrSnWvw22p40xUEAREflrBSuCJ1trwJYV+fv2gphdFnSnR2OXD9wpWF5jZTJwHptccJ866EGknNhoFx/V7EldFyLDG/T5OXrz9lfkqZOORSrp9yj/VOGODpQQHdfkQyuuR6iaCVmrbXPCd7EVGYW26yQxF9o178qUUHMOrfW373VTlnI/Ok4MyJyhtnm5yH4mVeRaIs+UXta6PGhnDAO/aB7x9srvSmGABgxyqCTTaZ4I4LFbM318PFXOdjKwkAdhnSCh0p 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)(136003)(346002)(39860400002)(366004)(396003)(376002)(451199015)(8676002)(450100002)(5660300002)(316002)(6666004)(66476007)(66556008)(66946007)(41300700001)(8936002)(4326008)(54906003)(6916009)(2906002)(478600001)(6486002)(6506007)(38100700002)(26005)(186003)(2616005)(6512007)(1076003)(86362001)(36756003)(83380400001)(22166008); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?M+KilmLSU8U0tc8NzzxBCt55yGKkqhYs5pZgcT/WSdoDljHwFMcyTAG+I2sr?= =?us-ascii?Q?MqhtoVvjyJVlgjaref1OvZENI7PExu8VOg/tJ1yAebdp6zPcI/4elSoMF49I?= =?us-ascii?Q?SVQY4QLPEldt/XTYRdWsylJw/HCotol2lcuoms7QAuyalAe8GSBtwBt6NqQb?= =?us-ascii?Q?3oy3DKtBlie3fNEnkHWtdqMgeekmculnVaFQiF0h7VS0BY+y0jyAiAT35ndS?= =?us-ascii?Q?sJg5tRGDkSoB0e9IELHzECPMjypejj+S2lxN2Q02Inhtxhew8tein5BEqi8J?= =?us-ascii?Q?J+kOUe97rdFmlv+xX/Y2AVORddSt6gTLazGLdyP2axpR+mtdaLzOqNiM4yQ+?= =?us-ascii?Q?SLgtvWlPG/797Vqw/s2K22vM9K2Cwyi/Dze/3HqjrVkChwEhm/CFRj+TDiXc?= =?us-ascii?Q?vn7FQkXrCPhrioptk4H7BQqMhE0dQxREI0qdTb5FPHUKBXZiXAt2DyT9xRjM?= =?us-ascii?Q?Bl81fWBxUbc4GXePEHG9gbczAQKtH9K/PtkGK4QsyEryGbK9rHHcnDa7V0FR?= =?us-ascii?Q?oGqHRKhVyelZF8ER718doL5DPhPctKQzGUjv/bvHwsHnQ0attfkBrJ97eg1x?= =?us-ascii?Q?zKy+Lw1o7gGG+jO4xpQVwQSYOLtUpwzcKLYjOxhjbFFi4Y9jxvC76ITWCAEc?= =?us-ascii?Q?K/G75umvA1y6dSID8NsIjDnUdJgp2TGqFgfEiPP6XUSNuCw7SBvNLkO7dRz6?= =?us-ascii?Q?QHpfWiKhWOcapUpm2GxOuSgbzlIeeQ8CMEKpkxjySFwNqtSz0+uL5x/PwID7?= =?us-ascii?Q?LDng/U1RMy4zMwd4BJPDoX5z5cRKi5+bLPnPByc86MhU8tG6kszv1dpUJZNX?= =?us-ascii?Q?PPCatx0iCVhli9S0WSS5mYlpp78CIdPo0DQ4cNQ4rvdEVzrSGIF8s6yK3EK+?= =?us-ascii?Q?0Bd0ks2/yWNYljp5TjprO7my3ptFQu4Uony70R/M/766+blUF+FqSvx6SCeN?= =?us-ascii?Q?FTpldINl/33MEr3cbOxhXFl8K7pO1tbjnsVYcyM/t5FNuaBlrY1btBuWTrpk?= =?us-ascii?Q?Anbgu9ca9DQcZXD8KoH9Ley0II5EwWd7SXdVqHnJOm6oZPBDGssXAgBv22yk?= =?us-ascii?Q?T55lQPK3o9OuffX+sRHPgVSxonfUGvQWdFPw32eHkqtAaFgo6+pYofUfdltL?= =?us-ascii?Q?F43dvhLL78QjfhhsHrItCCwntg1yMAKKM2VgGtZj6joyjZOnaLuH55phTIAa?= =?us-ascii?Q?j9xoAPk1InXUwZO0BP6dzr3MmAuBg4D2vzrWWvdg55IklP5uCremwrylXzzi?= =?us-ascii?Q?XFia43rtTq+DK8EStmqNRy852FZ/Kk24UgMIl2rcvLJR7n4IQeunPMuQyHRE?= =?us-ascii?Q?dCOPwlc9ekD4rqvJd2Z8WC9V05dWJsu6XFphlzQnFDJla6KOQ0ds4kMnOjfj?= =?us-ascii?Q?EsbNIzBSQ27ebRbdb6bYemqcyhq8JX4zPTg/z8x3iXuOHp3pTyLSCUxViaEh?= =?us-ascii?Q?Z25PiCOHdePQiuxfB1PJ9QnVcaCSP3XclK1hY41hga2lePnYqIhiA3E7hq9i?= =?us-ascii?Q?IAdCtDZA+x+I1SZboIEUjvE7jiRCgdeLHFe3EDbqpsU2u3zKgsoCqdh/yRlt?= =?us-ascii?Q?8hzubeA9FLDwxS7Tf/FOBv6bSFYGGHTyJAtL/DCN?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58c39c02-2ccb-4dab-1930-08daedd0a94b X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 21:22:47.7004 (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: VVcpYZqxZwXSlg2lQZOrtTX96WU7JJHQcR3ykm9iVWxFfUg8iINumt6KmwO+SZzgp+PUEzT4dA7rG0PBm908lQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7910 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.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: 1672780978768100002 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:29:53 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=1672780982; cv=none; d=zohomail.com; s=zohoarc; b=jVXpWI/hstiL9pIqhCTVSRV9YRbGWRm9440X7NDd5X7c1rQWmAfg7nYV+9MWz58cb6xF7+6S0otSGrhw5XqWQOCYffg4h8wgeTPDsC3kx4xNkR1zcw7biz/Z+7TZIwyC3ytUgrCCHpqo+/34EzH2/c8OERaSV4IMmRlMYU9xvb4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672780982; 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=DmIlvOL+ks5wf5uZ+CA0SulpqZi1YSl+JoYRKhlkz3OXqxPSNsmwhUqUgXDD/bWgQJH7l96Po8ewfZ2e0eanZ95mAM8GuBvtkZ1DVANYlYiDO6e1wIr2rPrV3jcvw7xLyCYQUeFd4WUYp0P4lZLVZ+Ijoh1hBpf7Uykubj+6Oxk= 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 1672780982108791.5539580247302; Tue, 3 Jan 2023 13:23:02 -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-267-6TEhMq2WOrq98bJbWtQ1wQ-1; Tue, 03 Jan 2023 16:22:59 -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 270FD811E6E; Tue, 3 Jan 2023 21:22:56 +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 0FF671121314; Tue, 3 Jan 2023 21:22: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 E80131946589; Tue, 3 Jan 2023 21:22:55 +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 90CD71946587 for ; Tue, 3 Jan 2023 21:22:55 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 67A3F492C18; Tue, 3 Jan 2023 21:22:55 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast05.extmail.prod.ext.rdu2.redhat.com [10.11.55.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 5F785492C14 for ; Tue, 3 Jan 2023 21:22:55 +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 40A8C85C06A for ; Tue, 3 Jan 2023 21:22:55 +0000 (UTC) Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2067.outbound.protection.outlook.com [40.107.241.67]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-101-tvsWasXWPeSMDJNrDgZlhA-1; Tue, 03 Jan 2023 16:22:53 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB7910.eurprd04.prod.outlook.com (2603:10a6:20b:288::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 21:22: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.5944.019; Tue, 3 Jan 2023 21:22:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672780981; 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=He+CjAmAb4zJjfElZOA7pe8wDF6luop3PQ/cx+OWNXMGO7sZjSPDYz5s+34sn4W0dz0djb wx/EAMlH+ctOM8sQAuVOxflmw9NVzAeAw7+THKLXGRcK0E9uI8a3wPu7sH0w149lqu6JJR mwIirzL0qfSARyt3dr9wOoCcIr/n4Dg= X-MC-Unique: 6TEhMq2WOrq98bJbWtQ1wQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: tvsWasXWPeSMDJNrDgZlhA-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V6 09/11] spec: Remove libvirt-daemon dependency from drivers Date: Tue, 3 Jan 2023 14:22:13 -0700 Message-ID: <20230103212215.19333-10-jfehlig@suse.com> In-Reply-To: <20230103212215.19333-1-jfehlig@suse.com> References: <20230103212215.19333-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0094.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::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_|AS8PR04MB7910:EE_ X-MS-Office365-Filtering-Correlation-Id: 2f786322-7a9b-4ef7-0976-08daedd0ab6d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: 3o+Q8nCLM9dovbfo2m+QmkycBrCnT0xGIeEY62nZHsl2G/dtwZGRRTOvAdmH8ZXocCgPpTgtYUbOowVhj9w3K8uY5L2fse6RE4ngZUf+yDgHhHIOvrJV9W7LUCfUzYZIDYEwWqdWqXDW8+mioA8Zn3HtzNjtldK0qT0V9Ld25+B/kidTzIjWR1doG0Z2n223cfiY90JF1cg08Vvy4w6TWjU/qZJ50Q8XhyU7LghQz+JwaD1MiYLZtNs6MtGF8FuKNNi5OUAvuJ/6wiwrKXIWIZzZAMFc6le3WDBXd39M+sbc2IhlleWy+7xHmkWS/sI9mHgM1LIlwNp3IrQDHzeeUlIaNq/2wUBE7gwKwfP6CDSplYbEk8jjdMjfOBwZ0GjxguDsr4IOrVHv3xbdbuqvjSWsJQCZOUO32ePcJ6/LX4+8pEjOvN2drbf4pnAybdRccc8tuXiVh+mgRWjwWcR8x2j3GhXT38XnWmIgw4vM38tcvMRgxd8t2WCkZgY+GaTtFtUNeoESNssoiV93DH68yZ9P+SNhV+vBYRi0qVo9ty3vZj/ypcKe5cwgsMcIydWMsBO+QJnMwvFaI1uqEKPLlfO9CefSMlSdS982Hf7kUKX9O8JoaKo1SF9aYs7E34bNRc6q44l0t+qqbvSrJXlCprE9QiODrATTNlmExMYZKqzMXiCOXTwclP9lGzzZjwv4 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)(136003)(346002)(39860400002)(366004)(396003)(376002)(451199015)(8676002)(450100002)(5660300002)(316002)(6666004)(66476007)(66556008)(66946007)(41300700001)(8936002)(4326008)(54906003)(6916009)(2906002)(478600001)(6486002)(6506007)(38100700002)(26005)(186003)(2616005)(6512007)(1076003)(86362001)(36756003)(83380400001)(22166008); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?E0QFG4OLAXbFJgFD3f1D+Cw4azQbMv/KV0EN2jC8CFZFfgWBicv5mQ14eEJ8?= =?us-ascii?Q?CLXvMo8cZVqjLVE07mDGjKDTTjqC8vhYZgU32EiL/huWOB4gPvrrp3lLQMaK?= =?us-ascii?Q?0hh4CXKW5N5ee6iaxAWGdHynXACzb6o698GtiiVkneHcl9Xu0D0iTe7TjYT6?= =?us-ascii?Q?RamBIRgvjsAY19L4j83em+O97zcbW/g3s0VTPjC7Yt+eGbXuaeXheresf0HF?= =?us-ascii?Q?yMNoy9VI707LqdR8A2hykP95e4mJi8wEIrcGBqF3gLaUtgOcK3cay2VmfvFD?= =?us-ascii?Q?EBvNb4/k1XepEKm7L8KzzWupcgsOoVEXGbgRSZUOjJJ/+jzhPFqteOnwVaa+?= =?us-ascii?Q?R2iTbZFgcXGGY2uLW7UC2oLImjAeogOPSreigqQO3PbOQK+kiwAnK+2Tmuip?= =?us-ascii?Q?81+6L3yOAvslfRyvLEhgZ3XL3D6kcLfBndP4OWhcNPtcU6G8p4VCJ64CeCu0?= =?us-ascii?Q?KhYgFhWZNLjFYLngaFMxABURJpUg1sEYVKgknGZkwV9inma4ivSYYBNZTPxr?= =?us-ascii?Q?ICtfy8KtyZ/Qaa94ydB2/taFDlroofy02UuDaaW8ou40vHW9+yBreolTiWfG?= =?us-ascii?Q?9MFa5bEbnecIt7OqnAlLMPecLSvw/KTtQ36GEob7KLgn/PwN+qwCtoAsrHYI?= =?us-ascii?Q?6qwJDQl51DfRjScTEQKVruR6tkrZq8CO8/BzI8aRbytO1mgRGpjqWm0uIzs5?= =?us-ascii?Q?q31ric/bjuqsB7+ma+8BKP3QWa2UHHsqR/zmx1P6VJ6HunyDiJRTydfK/R6w?= =?us-ascii?Q?yyrjRgmPhvKbVPH6e9SRVelwTJRQVEJnMihm60XoQUV99pLHGy5/2Bkg2CJX?= =?us-ascii?Q?fNu5HHvFsoLk8EfkZeSjdFbgMADLdVF8Gva5LKHXXdH5G2iLB8mNG0gxyUbh?= =?us-ascii?Q?SgZ2R/LNtaiDoxhFXrviZ4ML4S5xUiTQgIC5oltj/z4o+s+i1Du2oxcRIlsg?= =?us-ascii?Q?28wAQB9HwF7s6zFLYLH102b7meSchOySGB9YTsm4yofEMihQjXFt+u5aOYGr?= =?us-ascii?Q?Op3Fwc2yPRymR6shZUiuu9gBpvNnpvzzmoFVaGdnq4AhQSfdfHYofzpq5hws?= =?us-ascii?Q?DfRvbFL8EwjosDoK2gm8pfW+LWy7On1D6PdYkDHLXyPtQ4UoPBDosEACEyhh?= =?us-ascii?Q?zbKPDrKMV5niZgKZkvZ+DzhC94JicSzXY2tRJMs8XLBgE7kfCu0ihC5PdDcY?= =?us-ascii?Q?6zAPkkEgaJ7LWlAinwuK0ocapmyCri9JwuOsl3YBx/z2E97ZFRXW2T+PicCi?= =?us-ascii?Q?4BuzRMEDDtsHbs6CPnDS6pPb6AaObkgw1funDnZg9gCS4coOPIC9DmI5GwTn?= =?us-ascii?Q?2B5r51NgKuImpNtKs0y6bh7WZBc3MSkrRarWfjJMiCUOG+czDIBWR77rA9kB?= =?us-ascii?Q?CtaUboHeWEPCLfL3gE9fXlQ0aV9R7GRbrxi3hoZlrPTWG+sWhu7Kypyz41nP?= =?us-ascii?Q?y2dFbyLlQ059BTOzC5XFlpjHxtxL0QjGZigzQeR184iXIXLDtN8dnmDauGZt?= =?us-ascii?Q?c+Vl1a5wYMQ5QX0z+RgK5K6gW0/Ob86es56ci9DOVhKVoegSGHHlYbrxpf3j?= =?us-ascii?Q?jZysArwViJ9Nv906hECdDRo1iMJABuUpO/DlqmwZ?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2f786322-7a9b-4ef7-0976-08daedd0ab6d X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 21:22:51.3720 (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: FrrhrfmPPbYV+tH+QBHzZzB2dTO4vzJDb2CTBwmqeOz/AdPcVX15OGU3JZvdC3B/1CNid+cxpa/vRSKfe6ZehA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7910 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.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: 1672780982800100008 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:29:53 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=1672780987; cv=none; d=zohomail.com; s=zohoarc; b=JAFtORPDQeE9ZpU+FVMqqX7gkGgxCU2RqYEKEGQ+Sv1KPfac2p5XUZxWZvqXuEiuue42+scGeJCdQtMpLAMel2UyJmlv/kiZWdIkR9Z+itZ5z5hx7D8Rqqc08Aj04jsYxgQGzDY1wz0z0+OWSjMXuOuZQmSDdyxbDzEXUGdgrqE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672780987; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=OE03F1WSqFwa5J1S35QfC8QkXy80G0ZlzJtPhZP2b8k=; b=hCT2JbReNxGD/lwH4L4jp0jnY+SG/SqU1IaF1x+Z9w13AuUcRdma2fYsublfvBqpaIsKKpqnL9hrrZNYsY3HliSAWJVbTbSkC0O4Hx0JnbW9CipJguhfdcCM7F00Ln/LWzhtP55JLd+CsvbOl7I78soatzMOITSacJPfjZTIemw= 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 1672780987792830.7069666017103; Tue, 3 Jan 2023 13:23:07 -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-651-MSkpNs0xPqSY31gJ8lQ8vQ-1; Tue, 03 Jan 2023 16:23:03 -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 981A61871D97; Tue, 3 Jan 2023 21:23:00 +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 8202451E5; Tue, 3 Jan 2023 21:23:00 +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 6F6E21946589; Tue, 3 Jan 2023 21:23:00 +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 6D2291946587 for ; Tue, 3 Jan 2023 21:22:59 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 5BA20C15BAD; Tue, 3 Jan 2023 21:22:59 +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 530B1C15BA0 for ; Tue, 3 Jan 2023 21:22:59 +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 354F62801E40 for ; Tue, 3 Jan 2023 21:22:59 +0000 (UTC) Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2055.outbound.protection.outlook.com [40.107.241.55]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-547-YQ-FC_Z_NtmkHife39X9kw-1; Tue, 03 Jan 2023 16:22:56 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB7910.eurprd04.prod.outlook.com (2603:10a6:20b:288::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 21:22: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.5944.019; Tue, 3 Jan 2023 21:22:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672780986; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=OE03F1WSqFwa5J1S35QfC8QkXy80G0ZlzJtPhZP2b8k=; b=D9WPSsSjkNmihS1O4gSkXLUSTD+4V7BcElXoa72Be3a1i12KKnjOmnkN01yFH5WZSrtnNO n0x/DrlwHX4vRrG7mMCiKmEHxvH7jSbOlVOR3bPvka/Jy/hmc7ikMzL/KsX/fo2GZfBsDE c4K3/PScbnJMx5RKusI2iq+cBBOIo/8= X-MC-Unique: MSkpNs0xPqSY31gJ8lQ8vQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: YQ-FC_Z_NtmkHife39X9kw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V6 10/11] spec: Remove libvirt-daemon dependency from hypervisor subpackages Date: Tue, 3 Jan 2023 14:22:14 -0700 Message-ID: <20230103212215.19333-11-jfehlig@suse.com> In-Reply-To: <20230103212215.19333-1-jfehlig@suse.com> References: <20230103212215.19333-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0102.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::18) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB7910:EE_ X-MS-Office365-Filtering-Correlation-Id: d713b2c2-a1c0-49bc-acd6-08daedd0ad80 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: E+wxJjixuBSM+pd22sVo46ifs9ynO62JRe9xeClItvBa1NBfvIo/zimYGJN6LUJqR8CgajuuTlJXugVu/nM4rAAQmtr871ye0ooemohIfb4dDjkisB4df1aCeD37T4eEaHiHIKPCY/d4Hfd1PM4yfbcvHLy66Df6YNF8jWpKLQ9853uwNIYSG3KMYvJoe3oT1saNP6s+LazoyhNn6KsESMZrDYo233BLsDrvDiQHSegF01A+7l4/y5jRktYn+3soNG8E37AEh07iEcTQLMnUmepcuDT8bgVQx6HAZ2ouxIzVP/G8ZRs3NZ2eH2KKKAOmlOcfskuWFpr4ySoa5z/64PEirPXky9Ur/VhHHS/+saROs43TPitlX8RqesFEY4oR0DFFeiaQpngXfJi4Up6U2dcMqG2/Ajtr57U/ijvr3brOppJBPQ9OsKxYWFIShSdnRCrzYC6uYigncOQISLtyhp6JCIMWfgfb19y1Su57Iks3LI2bEjQTmgRxxVcEZJ9P0WsfmoYTVgfoanZnyxc/+HJNWchV7kpIcPr9ysDo984yxgFsHhJSQZ1p4b8rkAwrxCmWDlz+So4IVOW/DQdXhfBHXhb7htwE998S+l4yXkGzFgTIzrx6mPGgNL4KlAwExiBuytoPCJZuKVzNTRvhxjaCQNkhFRHQ61oTbRWv9dKSjVQ25wrN9T9r7b4cr0J0 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)(136003)(346002)(39860400002)(366004)(396003)(376002)(451199015)(8676002)(5660300002)(316002)(6666004)(66476007)(66556008)(66946007)(41300700001)(8936002)(6916009)(2906002)(478600001)(6486002)(6506007)(38100700002)(26005)(186003)(2616005)(6512007)(1076003)(86362001)(36756003)(22166008); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?CbMoLYZctX3r8jAwIb3PkUiNwQYQqsWGxumxr98jG9sh95zE7IeomsbkQU0N?= =?us-ascii?Q?gRc3lWmDZ7JKiLCkz8s+QP/yO2ltjqFwUz57GZAwhSW30xLqyR1/tfUWN90y?= =?us-ascii?Q?Yqbkfr/AJaPZsbrzEJ+iBGMqCmRfKMi1Mn7cEX5myq51tjyUxAT/rmCc0e5B?= =?us-ascii?Q?DD8mbdYon2Ls0i7CTX52IVVdzN3pnQbHnjiL+s83I+d7b1JVgVCrAOOLWkk5?= =?us-ascii?Q?t0F7DknRKIIcj5qxJXz62d4VRBsEEvjw9cTztMY6GRpHMLxTWGPegJgp9KG9?= =?us-ascii?Q?sZj3/8Y6ghnCrZLVDFp2+EkRt81pBDfeWOilaZOrL9kXNEa42/PWlFFJGfUd?= =?us-ascii?Q?8nSijO3sKF4kJ146umgJ+XEdgGlWctJ+R/BMfKoiye6kCYaH5VW68tsWB8Dj?= =?us-ascii?Q?qtnwjRovtTRRdwTQv7bQaFLN+8Z8MWjl9mv7VD3WWNTLKTsbju1jWefxaaU7?= =?us-ascii?Q?q5ADLyxvcpUryV32cAVslq1rWQmyUV8iuExpZ+xLvePxs6wDdLnDmfxJoPyy?= =?us-ascii?Q?cfm9Kg0Q0sIMo4vo8Ya/N0CpiGwHDKNGaaIUFDAAkNyzc4BSA2g70W4X4gEO?= =?us-ascii?Q?MgNm5q5fUWLdEkmKooDEEqTX4KqEUED0xV7zyvrl0C7UT3soNgsYhdq4NcK6?= =?us-ascii?Q?ru8GzTp2MohCBerYovNuA1yLS4/xfq57yvd4y/qTNSecRTL+LSgF0fqeBhdZ?= =?us-ascii?Q?HXsAGHupYWMLZuFQGw7WAvJTllasU8e0Ry5z9PKq9ijkMUsz+gSIF9AxpiyL?= =?us-ascii?Q?ZVVVCoHsklFz9GT9vtojppNBjKhx+FzEzrdGs9JA8v1TrbMZEwvM/oAXlZHK?= =?us-ascii?Q?zxvU5uOabLdcn0QpZ3pJbxKsrBUJ+T/QYsK+53d8oZB7dqbufC2hbLE/XqLd?= =?us-ascii?Q?fP+GoFRfPcMlwaP3qMecIvgM9qfB3qmysynSkNfml3DgRHaVdSUebZPrGcx9?= =?us-ascii?Q?21v5nPh2j6onMN/EMCubZgZn+fzQ884ecSlGugCmxljrfaI8by6I8zb6+TEg?= =?us-ascii?Q?Z1VTB/rp0fT0CYN3NdAyqeqtTXiePZ9bXO/Ayub0BY4sTHijMOoWUJDwd4/r?= =?us-ascii?Q?f2biCLe6KVic2omfwyNezyJZ2G//lMRxgpUNy+x62UEkf0N3aw80Nc+kEou/?= =?us-ascii?Q?dRp3grVREnNY8R4JZKAUpBm4OLBFmUnviYyv/hYUjaJxCUGIbUCnvQb/3J7/?= =?us-ascii?Q?a4CPMhVmElm6s0yoaenyC/ofTcBMk1u/ZtNrG4eHZWVs42CzQfVNVvRI2DpL?= =?us-ascii?Q?ZsAbeTxf0sbJJUoVckbP5fJKejWIICGEMT2HGLMkTrthPO1zt3bFe7NO1fJr?= =?us-ascii?Q?xK9CcQc6JZDwtoNgkdbKhre3IX6apZn/YA17m99aMQXPv8E0qdW02Rt+M+4H?= =?us-ascii?Q?XGUGW2h94doOWzETPRdn5Kyw4uLMEGKlvwjPfUIwkkflhP5Et2fzDOyzcF7b?= =?us-ascii?Q?VDEyfWTFCsIwOaJUZ4WwQHp99+AiLcsJoAX9dIXVH6I//xpwikZEWcRI80gM?= =?us-ascii?Q?7OU7LrYg/vqKzl9qP01c4jwiksAjuau2gSBepBV3qVhHs/vbF6YrV/xc2MNG?= =?us-ascii?Q?rkCfB+Ko7+CJGFO5IWYsA/Pehz2bFVAdJpQ470jy?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: d713b2c2-a1c0-49bc-acd6-08daedd0ad80 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 21:22:54.6999 (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: d6qdrVJXWSEGIPhAVMxIE7++0ca0myEL+Pj5fFqLV951hL7++D2Kb8UG/7hqCBjc9gD/dXdeeOpAL1OIqKQQVw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7910 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.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: 1672780988788100001 Content-Type: text/plain; charset="utf-8" Remove the libvirt-daemon dependency from the various libvirt-daemon- subpackages, replacing it with a set of the new sub subpackages providing the same functionality. Signed-off-by: Jim Fehlig --- libvirt.spec.in | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index 2cc77a2622..bbb1ca3044 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -815,7 +815,13 @@ 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} +Recommends: 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 +840,13 @@ 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} +Recommends: 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 +865,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} +Recommends: 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 +888,12 @@ 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} +Recommends: 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 +912,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} +Recommends: 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:29:53 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=1672781043; cv=none; d=zohomail.com; s=zohoarc; b=KSmxMPmG/q/H2FtqN58LimbGM5teXfmeXYw51f8KW5Fh5A53sSTkVSnx7ETvRxR9qgJ1BVGWJwwv1r2MVcbs4Zux66lMWFch5j3t11XlcEsShGc4m3END0ynyolXhnvoMc8pBxDUoi0CSISX0bqKhZUbrk+E/bKcP/0X23tApcE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672781043; 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=Tjy/QxKV9/dQZE1aC6NBFkDtb7vB+QjtIVEH6uc3+BfOz45U+AImasQ6CzvFoc5/pUfUm+iifV8ijOrfQah3WyhLWl3ODoSEKB4LgTXDCmw/Im2MkuGG07eDIAVcr8PiQ3arAeJXmDEND+W4yOGiE2lQNFPlCoxUPK3aGc1U/jU= 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 1672781043820972.4274595347065; Tue, 3 Jan 2023 13:24:03 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-340-wHUCL38vP0Cq2Is6sfsknA-1; Tue, 03 Jan 2023 16:23:08 -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 18B7485C06B; Tue, 3 Jan 2023 21:23:06 +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 BABEC35455; Tue, 3 Jan 2023 21:23:05 +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 ABF0E194658C; Tue, 3 Jan 2023 21:23:05 +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 3D79F1946587 for ; Tue, 3 Jan 2023 21:23:04 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 31B1C49BB6A; Tue, 3 Jan 2023 21:23:04 +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 2902D492D8B for ; Tue, 3 Jan 2023 21:23:04 +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 0AA6585A588 for ; Tue, 3 Jan 2023 21:23:04 +0000 (UTC) Received: from EUR02-VI1-obe.outbound.protection.outlook.com (mail-vi1eur02on2043.outbound.protection.outlook.com [40.107.241.43]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-651-c21_ubjMMQK6_cBcZOXb0A-1; Tue, 03 Jan 2023 16:22:59 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AS8PR04MB7910.eurprd04.prod.outlook.com (2603:10a6:20b:288::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Tue, 3 Jan 2023 21:22:57 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.019; Tue, 3 Jan 2023 21:22:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672781042; 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=XtGyhGzfguoag4dWjhVieTAiFXe/mbd8u8EuvLXMYHzjFXB7QLSiJ9lOmziEbJSmYyNT7y MD4oQmJM+40cepPi7iK21h4KCRCJBsZqr4kzHqsnxGz2RjNWzOGdCt9j9UWAWNEztESOib LOaKwmPuH38fvD6vaE64h5muQ0gXZos= X-MC-Unique: wHUCL38vP0Cq2Is6sfsknA-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: c21_ubjMMQK6_cBcZOXb0A-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V6 11/11] kbase: Update rpm-deployment.rst with new subpackages Date: Tue, 3 Jan 2023 14:22:15 -0700 Message-ID: <20230103212215.19333-12-jfehlig@suse.com> In-Reply-To: <20230103212215.19333-1-jfehlig@suse.com> References: <20230103212215.19333-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0039.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:48::22) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AS8PR04MB7910:EE_ X-MS-Office365-Filtering-Correlation-Id: d67fec05-5908-4d53-0472-08daedd0af48 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: Pm6id1st6dUlJ0HuFcGIr/8R14Wwsu6Bihvlw7zb9TRrXIenBcotqdHzh6B4Bl1fecjRx0xNtxSQZtYpVGNbAxdZ7/qoXGyAsCw3A1kkbvrO4I3uCNFAaFwm5tMSYgcMykSNSj91SezgYq3W19bPQm3EReq1dRBQ6jHzyWzCnEpl7KxpQCJyucDFDcKHCS08oiRYt7biuE+O1HS8wZc6fsvcA8kYkNlIojIIUW9XtXQdrLJRZyOC2SGMO7XV9qg4Y3YoFUYRlrYOmEbRI3J7bhtdjOd5vAPxihDOJq4C12SnuG6v1tuV9Vdl3j3RbYnKrPeHvHDUXHX9ZUjwTbBViNOI4QYFJclNTbmYXqBNSyeHKpfltGob9kTlCdPMnI2Jec1V57xpnpOF+IDC0UgnPz7hDaniofomBPVI/WF6xOYbMLQTl2KWgMX3cGrTEn976Bpd9P0iwx1CoNvzFPsIcXPbcTSQqGkNLQNI2UmAr2roYLCB2D9oE/BDTp4lPFffDl4ihB6cjxd1bb9wUIzi7W36AF8H6uKiwRAvwPJ7/Mgp3WYFoAXUIANY9UAjvuZUVQo40LE1/w+H1tVJ079DdPlE+cJXFFPzytWDntLWaqBpJhE6foPquNHrQyKznMzP6/HZFsgzhMbCoRutDq0HJ07JLw48+/HD9can7HG9vHnPNE9UiD2gLmA++chXIucyY43irXmIUSERZxW2xDaImQ== 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)(136003)(346002)(39860400002)(366004)(396003)(376002)(451199015)(8676002)(450100002)(5660300002)(316002)(6666004)(66476007)(66556008)(66946007)(41300700001)(8936002)(4326008)(6916009)(15650500001)(2906002)(478600001)(6486002)(6506007)(38100700002)(26005)(186003)(2616005)(6512007)(1076003)(86362001)(36756003)(83380400001)(22166008)(21314003); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?E03geDpv+g+DI7rGr4a28gAlOZMx9g0FaZhVyjeLzRkOb2vzCeac8JarlYZf?= =?us-ascii?Q?ds3dXzNEUXwRU0IZpYcKOHBDLZdzAiekVcWy7yPvrupHY9ZKeFR+1kBOM9aw?= =?us-ascii?Q?cP5AVtOI4ZkV9IML+c4Y3WFfJYgwlBEoaRLv+4/wSicz1M70rTp/eOtM9WoL?= =?us-ascii?Q?LJQb+5jJr+p3YQ9l9kruITNhx75scPfvAtbcJQuk/N6qozRJEfHjMIBgW0XA?= =?us-ascii?Q?C5dLZG90wB9fd90Vns30YjVqToimKpVB6noNw4HBXtkXzqjyump8kf2qb80x?= =?us-ascii?Q?3Kvs5RKu8g4RDiYZO/pmHKMtH7axmlFsTBUx7XxbKKz9EO0Ii6yd53vZ2EjM?= =?us-ascii?Q?77lbmoxEfJXEsUqP+YjT1yyt8xtZhoHzngl4agBtl8C0f3N3lPlyGkwOOQ8k?= =?us-ascii?Q?Y0AnIlvQXcQUufkgzoEZsIoGSByX+H+iBGJYIknYI2hpCmgob+fvIzuXxdIp?= =?us-ascii?Q?pTqfUiJcUoPDguX1bAfUkvmcTCmwuIzkqG+QgzljlESw01W4WZB7dtWH2JvW?= =?us-ascii?Q?wqv9k3/T/lhIabRJtEDlOTVWcoG64IDN+0i9ooICgiEXxdtS7tNEDqOeEel4?= =?us-ascii?Q?ATHP5xFxR6Zw8Ca1eyfAIS6cnolfDjJsF6g+bv/J3NeDPDqxlov0I1Xc7yrk?= =?us-ascii?Q?/zInDuzTv+xgthJoWVjiZBKGkXGJUcqreVhhiIl7FSGYtP/2q98zEOVTeKDB?= =?us-ascii?Q?K3vg4lPAfmk6ER4ISVrBjo1HwVk8lAf1W8LCg58eRAjo2PNRK1zG9d94iUsJ?= =?us-ascii?Q?nw2b4maBI55O/CJv6LyG7AhF/jVX1OLJJpUj4yzg33y8+6Z2qxH5dnpLAwLF?= =?us-ascii?Q?+5xVzxaicSI4ygGcxTTUJ4ocXEvGj7pWPJ2fB18SmJuN97kYZr/fSw6vyoFQ?= =?us-ascii?Q?eRQPTiJ8eilI38iOk2uc4qObUtHtiUPwIu81Yy+CmnomvMKkUT9cXsYNUtBA?= =?us-ascii?Q?Wt1ZijOQN8M9VPQJMDMXZQy6e6xz1d7NNXlHBWLWN1jdjZs/56mEP58AiGos?= =?us-ascii?Q?pXititLE+3AwDuoh2Vi5+NpMmeA+0Cn803vPwxfKm5Otu2PxPiMAFT+25d8H?= =?us-ascii?Q?5rL9RMSfoWWM63GUIyq9a33dU6+NIjM262OTKZh/HNYG+qh4u7nnxJsO2mpF?= =?us-ascii?Q?GSkt5ZwhdrNSXAbX9zIV4olQgNO0zQdVTbGk/bZ1fLTn60coj/o1ZHhZT/JF?= =?us-ascii?Q?bqxf9xMEFdSfb6zRUVcgVLUWhl3BVPkdxXkTdue6SEHIbqcAkW01+1YkNBXe?= =?us-ascii?Q?cTA6xpUV0P/+gTbA6HK7+uno1PIeu0Bm3GkKmAAJCP9JarCIwvSXrnyRXxjj?= =?us-ascii?Q?jm0JbGba2VecGxwa8rG6a6LaN907cZN0GUDyDZ/PXyDcljN+LqFtTorby5TL?= =?us-ascii?Q?hFACEA39/lRkQern+LVy6LRXIVbdE4OX7mDKGNLWbrs4S/mtWNzvds1PTK5H?= =?us-ascii?Q?KmTkSXcUN4u0y8XnPG08N+sGWANN5XBbKwybYqkkyJcKwUG26VSjCL8wlms1?= =?us-ascii?Q?FPe2sF11Zy2Lxb5K6unp9W5TYM94QD12cA/9U/i+lGGfLBH45SeXIJVxb6VA?= =?us-ascii?Q?kG5pzTcq5JcxtXDV/8R1PMuUi4vV1dUfpAaGcxHx?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: d67fec05-5908-4d53-0472-08daedd0af48 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jan 2023 21:22:57.8246 (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: aCID52XPqEz4YJMyHzVDKx5ZGP3frjucBkwNcNSNmBBnP6dD5dPTuQMvVKkxf/q03zxdih9Am1I/SnTgGnhVIQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR04MB7910 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.10 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1672781045145100001 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:29:53 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=1672942161; cv=none; d=zohomail.com; s=zohoarc; b=RM5dHg8rA2TTDvnLuCTCcoDnaMBQH4WEwou8/uD+SnORwmOAhlHPKptUFegwnZaWjR2ThZFWRsZKvPZhQ6HA3cguMLBuiK7q2DQWZAYae4xN4E6Has7K9a+F92/bjJ1H1U9fMAWzMvPD1VNWWAK8u9rQchMdbuq2zd+EjE+rafE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1672942161; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=7B7MmdYQVgwkNLRnkVr9QnuwwanReNfdfb1+qIbeqrE=; b=iPr0eD8JW9knVsLLIzUF5Y00/ZNmTOlLU1qaxABF/+yQAalPoXer9ZTKZE6mderro6sCxBjNuDfIYDqjyfELlWdGdjZJpXprmebqPvvsayVsTsYsOL55mHkr+Wp8/SixF0H4b8mtMfHmLx0fgSUkP7K2xntfkU029Ibn9E3ZAF0= 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 1672942161535513.2647443569059; Thu, 5 Jan 2023 10:09:21 -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-260-ximVEhoeOcqU4wR_Xv-B8Q-1; Thu, 05 Jan 2023 13:07:29 -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 27401381459D; Thu, 5 Jan 2023 18:07:27 +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 ECA164014CEA; Thu, 5 Jan 2023 18:07:25 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 9A0E81946589; Thu, 5 Jan 2023 18:07:25 +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 330851946586 for ; Thu, 5 Jan 2023 18:07:25 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 0366C492B07; Thu, 5 Jan 2023 18:07:25 +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 EEF6D492B06 for ; Thu, 5 Jan 2023 18:07:24 +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 D29401C087B0 for ; Thu, 5 Jan 2023 18:07:24 +0000 (UTC) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2056.outbound.protection.outlook.com [40.107.22.56]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-352-CDdI76LeO3KgclYPYjNrNw-2; Thu, 05 Jan 2023 13:07:23 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by VI1PR04MB6909.eurprd04.prod.outlook.com (2603:10a6:803:13d::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5944.19; Thu, 5 Jan 2023 18:07:21 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.5944.019; Thu, 5 Jan 2023 18:07:21 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1672942160; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=7B7MmdYQVgwkNLRnkVr9QnuwwanReNfdfb1+qIbeqrE=; b=HWC/G/LUZsR7vtu3/3AIipPabCf4lfVWcXPtF5Jll81vLEMe3+mhEht9iIRCZ48XKQ0rLY MruW9Zzb6lOony7HvwWflssPhFGEonUNe6HB/uEddjgwPz+DEMtMhDEbppMynMolVfFUMA 3gztm0MuzPfx9o13iCHGyK4lS25ka0s= X-MC-Unique: ximVEhoeOcqU4wR_Xv-B8Q-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: CDdI76LeO3KgclYPYjNrNw-2 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH] NEWS: Mention split of libvirt-daemon subpackage Date: Thu, 5 Jan 2023 11:07:17 -0700 Message-ID: <20230105180717.11482-1-jfehlig@suse.com> In-Reply-To: <20230103212215.19333-1-jfehlig@suse.com> References: <20230103212215.19333-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0014.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:15::19) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|VI1PR04MB6909:EE_ X-MS-Office365-Filtering-Correlation-Id: 9c248fdb-426e-4b6a-dda0-08daef47b07c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: uN+9lmctlNzZF1H45wzsyiwV/ESOL3t2/v2zMG4kydVZXBDsjp+WJ6Y456G/2o9thnPYzdjuCaBQB0el9/3AjeK0+UnDUWjaLdGhboIvcTA8nuuyZ2rkqtAyCO5J0fVKMyOSgdtdecMvXUE6fAzLLr2Y6Oi3uh/yvyulRNeyk8N60bY4rc3sKUX5d38Ln4N4ojVm4SDpUdCwsrTfqf7MpXefuPMMiXpCwjzMVv6Pvlj20taF13d/osOn+QTCpwSYCKbdQLhiSIaX9cEvEsVVXt8d+V2+T15rZpAfL2tP2EWqLg67zmTcPoSW7SbF1gAcNmMRULFcoFERUvAezk54WR2eDoHjWIIDis33HF34vW+xsZepUbDFcjPjl1nq2mu74BM+DBJyiunBJlkuN8sXyxUDEXM/HLwR7O/L2J2O+02eZl53Tj18fLCv0tolP7c1Ub7i0VqSkI+JyjVxxgUuP6PaLPWYZA8tcP3QtwpQi3llJrhlXQ0jp7aTd1WvBPtG3NsUUP0ioG7j6mz4K8prqAMATuc4NPkcsD8bm0gnGfUeOpiNokMGTR5FirvnsedL7btfgkJM6JxJ8WirkgWczBkY9HDlL8b6G59Qt72USoopViwI9FXsN1Q4jGmSGjAo 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)(39860400002)(396003)(366004)(136003)(376002)(346002)(451199015)(66556008)(66476007)(1076003)(36756003)(8676002)(66946007)(41300700001)(2616005)(316002)(6916009)(38100700002)(2906002)(86362001)(5660300002)(6486002)(8936002)(478600001)(6666004)(4744005)(186003)(6512007)(26005)(6506007); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?4HWE7zNAt91aEkxj7+nkO/T9Eh9K2lPjaoauPtbGAHXl0JOnBCBC9AR2SfOl?= =?us-ascii?Q?cpI56PegcCtIWvkOmq46bkUNh66XK9yiZ2NuBufMiYQRcFrsrqhaxbmeXxJs?= =?us-ascii?Q?ZO3/nUOAEB6u+OjCW3Vz/5zOiwghNrTLmxl1S4JPC3rHxVplHCr6HBLC0IOa?= =?us-ascii?Q?hTA2y6q8kDygNL5NVj5guvLWc/sk8gn568AS+Cxs/R7fpm1XngvtTHgprd90?= =?us-ascii?Q?oPGd2QsPnGHTKQtFrQLSmAvWyWuiK8OPVzjAJ9H0yqeDylRYbvhrbmFaqZSv?= =?us-ascii?Q?XBsYw6sQu4Rh5HJe7fAwgOmLoc0ucNbSgMNHHZ68kqHcrtJTo6FQHWumb9vI?= =?us-ascii?Q?Qknj0AESJiGE5u2tcnjlocrOHHk0g4JP+JO75HzY+hwQTvid4nglEx6gfqKg?= =?us-ascii?Q?mCUF9w+ynrlPHOqC39rLoNkhQt0xqEeqSaxUkyylBI1EJxZ3Xb36UHWdpZgi?= =?us-ascii?Q?DzsVeWjFkk54zb2OEcbulH/bCNSwYRljTmQtINLOJtQUmttul0Prc+aMQfRv?= =?us-ascii?Q?Ro0k7DFmcH9LjkJJfjo0ZKI2V3KXgDl6NAyOFt2/QQeFu0jx1F2aRR9Bp6D7?= =?us-ascii?Q?G22pyTrbhg52TjKRWks82EG17CkuCflQTH6J0Kas5T68XtntaAdlbLS9/Pep?= =?us-ascii?Q?EI6SvsPx6usiESO33LWKZcceeC4FqOxfcWP8DJVH6ipeiNG8EvJwovUw3da6?= =?us-ascii?Q?2DKtD9+fnRvzHlX22BXHe0m/XHlrEYtvm8mfJZMN2aWZQy2ft6V7WIPorsbH?= =?us-ascii?Q?Tz5ue20E8/CbJH26aQkiDxR+n0TB78Q/x3vPV9X53vVgvusCwKRtUlw1rUYL?= =?us-ascii?Q?jrzBfZU7IPlz6OP2dyRNTqzgQSRmLIWMqAZ4V3q/scTCMZHziGVqxJhWY6Jm?= =?us-ascii?Q?5V2gXhgFiCmQ7T5+bKaNS8hA61jZSsW30KOJaDLUVY/C6Fx6LA/2+Pr/DQoX?= =?us-ascii?Q?6vGTQPfztMFxfh/+a+jqINF8T7kIhsUkkCPVJ+ubDvNrguc6y7hysT+dzp3n?= =?us-ascii?Q?25lkPkmy+uYA/69j9FqvUWXfx8hGkaw52wgHTkIOZmt9h427y1uvzbvcp56g?= =?us-ascii?Q?z8jnP5696cVg3UBpQg4OVOMYRcn5PuSjwN2luVFRyUQjAXhq3r3MEYwWBGBq?= =?us-ascii?Q?QZkgG+hZgHHuwQBqujl64j0w1clfgKec7HM7TEc5Y6REYMGdg8dv4fsEPvD+?= =?us-ascii?Q?VdwM+Mm0kvt/XeOPS8leRUYDDCluN3Og2bvwvF/uUGVzcjxZch6vnMKzas1L?= =?us-ascii?Q?5+pa4oDRYOIqMh5npvOSgj2eax7rABxfBTfJAAeAdCe0mY0OyYIWLQxxkwe8?= =?us-ascii?Q?EUjPwht7t874Rukn6B1CuuX83xFQVcZ2f01u0LdIfHSJ8DE9s+Pl38oZn6sx?= =?us-ascii?Q?NHfik5B4WR796TQ2w87z8OQz1DQkK9kWlUa4udRHNEro1S4llUBg1N6UV3FN?= =?us-ascii?Q?QtRRmXClJ5IB/kYVEtZlWtMRgPUEpQN/fUwxrIwAfom12XW9HY6zarKz/W1i?= =?us-ascii?Q?6QxygLkAPoyUPT3DQtvBj1D9NY2FLFxoA2RxIkfU0PPGPs6CkPjLNPoRW3hU?= =?us-ascii?Q?9A6vnWSKjteZR5JFEvsS7ao+Ni08KduRqeYVVnLP?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9c248fdb-426e-4b6a-dda0-08daef47b07c X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Jan 2023 18:07:21.0286 (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: UCG+b/kI4JdsscJf7jezUiYfoDvHlEi7SP2USj8v7DjoMdeZyrCa1ayl3RY+1PxNbxYaIUtKzXhP6caq5hvEgA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB6909 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: , 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: 1672942162915100001 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 39f508a6ce..a799ee4529 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -23,6 +23,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