From nobody Sat May 18 05:05:02 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=1673474990; cv=none; d=zohomail.com; s=zohoarc; b=g/MTyxEsN2zFppVj62eREK28rq2PI1ZsftCn6DsyfSMS4oonNSStdTudOYYYIoEb8q5deeL3gSD7qOvCwTe5QdC2fx3/7eQtUGgipq5lksnIg4aIU+B4EztWWqJgX3rPDa6LTa3farYdTM+3RSRokXH/Y/3mt8A4tG+jqFHVtLs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673474990; 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=bWRRro33V1bokStNF+gJm+QkMqJD/4oOl8LdtW5LxnI=; b=WDgunp1st06D8+waqa6m5RWU5UU686nPa0YLmMTAvdcKkwgAnOCbfkTsKDXORE9UcLjUiYU2nr5wCH3U6QvBHDjkaZSeLJw4HTpG5dGGqs17L1P8ho8PtUpUndyo9tvqXK/Md6ZlqK2H7kaf8YVauuOxD9Qrx1LSCdSSXMIgUlk= 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 1673474990442200.62433613530845; Wed, 11 Jan 2023 14:09:50 -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-63-gZOeTTfyP5CRAKe7Y0a3yQ-1; Wed, 11 Jan 2023 17:09:45 -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 B88D12802E3A; Wed, 11 Jan 2023 22:09:42 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id A1CF7422FE; Wed, 11 Jan 2023 22:09:42 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 1824E1947048; Wed, 11 Jan 2023 22:09:42 +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 5AB0919465A3 for ; Wed, 11 Jan 2023 22:06:14 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 4BA61492C3C; Wed, 11 Jan 2023 22:06:14 +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 433F4492C1B for ; Wed, 11 Jan 2023 22:06:14 +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 2213F1C0040F for ; Wed, 11 Jan 2023 22:06:14 +0000 (UTC) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2075.outbound.protection.outlook.com [40.107.6.75]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-317-l5IDKRffPNa7TCovXHSHEA-1; Wed, 11 Jan 2023 17:06:09 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AM7PR04MB6806.eurprd04.prod.outlook.com (2603:10a6:20b:103::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:06:07 +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.6002.012; Wed, 11 Jan 2023 22:06:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673474989; 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=bWRRro33V1bokStNF+gJm+QkMqJD/4oOl8LdtW5LxnI=; b=Ff3t1VhpMx6KH/+nMNoN3CUaSskVAWRXe3fq8xKR+ffdqzueeS35to1Xvuxio8XhekU3La FYdn+SUfee8WNU0RaxsQc06hrtOV7dAeMO9EqkhQVg/Xx5JbjXZsDtf4V+LMuAQwgCuuwG uWrdYk3BwbQokh1wb5a/MDU8L2bqpQ0= X-MC-Unique: gZOeTTfyP5CRAKe7Y0a3yQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: l5IDKRffPNa7TCovXHSHEA-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V8 01/13] spec: Move virtlockd to a new subpackage libvirt-daemon-lock Date: Wed, 11 Jan 2023 15:05:48 -0700 Message-ID: <20230111220600.29680-2-jfehlig@suse.com> In-Reply-To: <20230111220600.29680-1-jfehlig@suse.com> References: <20230111220600.29680-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0116.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a8::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_|AM7PR04MB6806:EE_ X-MS-Office365-Filtering-Correlation-Id: e0099bf1-7715-4cd1-b36a-08daf4200a1a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: 0iVoKJBhAv489slWkURDP5rA7Mch/l5G+FT0jdngigpY38sLZdpiSrhJcWori5PyOut38yw82Xdajtiq2aJCLpSOnGsE2YfQC8+l6Zzdo0yzzrT7ORbEWSCZio6FSbCyuZ2fS/QtsUlJMIUMNLKSRP8WOXXawhk97QhtVhM9d5XxJX2nwRpOpKBbrbH032/MRD1H8cxJJGwEeqwIBwKf7pdYJhMkEc4zF/W1SVDT1LPXUYmBAd+KGGoS9IBFHXsLa4lrW2aAlcfI8MPLqszxHNwvaFmqni98iZ6Vgco9iP+aZyxEBR+axTRAFSap4qqpbJhgXPCNi9eD09h3u8bKj+uXih1+cETqUxyH8Jvn1pJtS8bzmrJkUoRFzyTzU4QQBshzd85Vgy8fb+FZGCA260X2MtwnZc7cmqz77VAjf9JFdPlEe1eeLQBIrVtk8SAptlDYzjz8L49+Kf6BSBGI4AlAA5Pjpi4psiWurnmO8pM67wVFBzlp+tP7B3NUkmDPniGecbVQllv+Q1OiCrZZCmBLy6pBy1/Qi29zkz6OOGLnHLERD2NhchcuNYwT0LJhiQfjB/SLtBFnVnXlf2czpJj/A5pNuTQp4AH2ZD+lie7Qk0GNCgYaGYNhHSWeVdhO+Qttno80vayZxvTSloD5yQ== 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)(376002)(346002)(39860400002)(136003)(396003)(366004)(451199015)(54906003)(38100700002)(8936002)(450100002)(66946007)(2906002)(478600001)(5660300002)(6486002)(2616005)(41300700001)(86362001)(66476007)(66556008)(36756003)(4326008)(6916009)(8676002)(6512007)(26005)(186003)(316002)(83380400001)(6666004)(1076003)(6506007); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?DYhk0PWMo07ROCSGWVNXk6RU/q/H3zYVn6vzrrWVopjU8bF9KzegcaRaU+Sz?= =?us-ascii?Q?xdKa+LIyMhZAnUgYDBeg4QCpyo8+O7UgzEc7F+txUYh9eRNZEUdWftYOGN91?= =?us-ascii?Q?ktYNwANr69zxDwKFbvP6DOCsVo4ms4T3r0/dwFSkPwm0Q5MnIAtoVEpIQuiR?= =?us-ascii?Q?ZU4OUeVC1m0abPPgKUG8fOkB63+c6GLVI/QymfTY3UST+2WcaOgHEfBcd1hO?= =?us-ascii?Q?WpsRWoFxIZHOL2Mc0GTPCnnulVah0q89Xmhz3ZHV1luUr0alvubTepCWPd4b?= =?us-ascii?Q?LlMTDP7iozDh76NwVC/CAmuYHkOW8rgVqx5k7qbC5O2x7uwS8M0bLYIDbBhH?= =?us-ascii?Q?fYbboVkUA18FyNHT2HtxmUnHVUPBOexuU0pxPf//Uz4NEomjdJMA/QYBdf/b?= =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82hqYRBf/5rBzbRRSzjKUaBo1CZwu?= =?us-ascii?Q?bD+G61oksx+jx3OWpufl1K+GB+VR2uDTc6e9bnYuElLSjh7nQVYh/UoXNZyn?= =?us-ascii?Q?mX8rRPeuwPn5ua1z5+FLuf5VjXWWqwc9xOAfZN62u2nv9nstINPcWPOq7vrc?= =?us-ascii?Q?m052LwtgBhPlE5166mkZlIaLjoOSNkz1jiFX6SNfuBXJwxR4pGjtu0Ssg+SL?= =?us-ascii?Q?oI04T1wpwIt4NJBNmJLO+qxe2RiktVEtSXBGP1ycnzNfCS170KnyWG1+dVDK?= =?us-ascii?Q?ihIhON9Lg2p2sA2IGyYNEYlXauMBy3q/V6OmK3vs?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: e0099bf1-7715-4cd1-b36a-08daf4200a1a X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:06:07.4811 (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: 5LuHApZKfKGnZCmzdrr56PqyIOypPzQT5WTr04NfpjTJ1f00uewXE10kSdhtD6d67kRW43Ckty6QcrFjeZR5DA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6806 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1673474991586100001 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 77b274b6f9..bb0bfb5f35 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -432,6 +432,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 @@ -480,6 +481,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 @@ -1398,7 +1407,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. @@ -1407,7 +1416,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 @@ -1421,17 +1429,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 @@ -1466,6 +1473,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 @@ -1747,14 +1772,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 @@ -1776,14 +1797,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 @@ -1793,7 +1808,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* @@ -1801,12 +1815,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 05:05:02 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=1673474833; cv=none; d=zohomail.com; s=zohoarc; b=bjXc1U3pt7ryq/RSlinO2XfKNV8/R6NU4lVJR1mHEL4Gj2pzXfacOKTe5bWjjdgymY0EQUQBKMgOj5dBEIjfWEkn2AvD2t5i1sOFBKKD2CWi2raq33LZbbdSqWtLcQQRngnr/EWMMmBXb3cPMl+ckM0BfFM5E5XjQI04zC9m/IE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673474833; 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=w8zKDvFO1TDL79ysNQMtUGlw0Mz1fQzD/xKH75z4ops=; b=dNhSvNKX9UJzHj6mQgnGv5wRMGLfeNamhCygK6DBjuuR2qql1ogzy8lVcXP3fw6xpJrehH/stB8xnhL2GjdiGhcYLETWGgReEfBfq/zOHql0lXqT3FwMu3fEmaeGM/E8jfNAuFfgzEFLDRFPGuZpEEd95tXM/k0fufL3/KgEVmc= 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 1673474833139699.6439484696232; Wed, 11 Jan 2023 14:07:13 -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-226-TDQ2lyu3PyCNBBdSXsWxyw-1; Wed, 11 Jan 2023 17:07:09 -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 2A560857F40; Wed, 11 Jan 2023 22:07:07 +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 115251121314; Wed, 11 Jan 2023 22:07:07 +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 DBB841946A6F; Wed, 11 Jan 2023 22:07:06 +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 2A9F119465A3 for ; Wed, 11 Jan 2023 22:06:15 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 1FFAF492C1B; Wed, 11 Jan 2023 22:06:15 +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 175BD492C14 for ; Wed, 11 Jan 2023 22:06:15 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id ECF2B85A588 for ; Wed, 11 Jan 2023 22:06:14 +0000 (UTC) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2045.outbound.protection.outlook.com [40.107.6.45]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-294-VauedcdVOoWqDRtvUAa43w-1; Wed, 11 Jan 2023 17:06:12 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AM7PR04MB6806.eurprd04.prod.outlook.com (2603:10a6:20b:103::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:06:10 +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.6002.012; Wed, 11 Jan 2023 22:06:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673474832; 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=w8zKDvFO1TDL79ysNQMtUGlw0Mz1fQzD/xKH75z4ops=; b=Q5Tl0ikHKqmG+HQGKzifON4QG/ipJKuLu+qDjQ+H/4vp8zIEH48qlzoJ/SW1RqVM6QrBZ+ Hn72t19A6RznrwiwiH/twdVoGOqpvlWWzoFndLwG7mMsVwOElLHYpDsJOtUKqjaA+NLzqr sIlLK8Bon8zC92aNx35cYYqBmq0KUYM= X-MC-Unique: TDQ2lyu3PyCNBBdSXsWxyw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: VauedcdVOoWqDRtvUAa43w-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V8 02/13] spec: Move virtlogd to a new subpackage libvirt-daemon-log Date: Wed, 11 Jan 2023 15:05:49 -0700 Message-ID: <20230111220600.29680-3-jfehlig@suse.com> In-Reply-To: <20230111220600.29680-1-jfehlig@suse.com> References: <20230111220600.29680-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0115.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a8::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_|AM7PR04MB6806:EE_ X-MS-Office365-Filtering-Correlation-Id: e6981cf5-8e6a-4505-a556-08daf4200c1d X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: fWbBUaz6cZb4nnYi/Y0mc2L5UD6xDg1OL022KQKAIzxk9AxUyD3gP5tf2J/MMJVbEms2FT+3gDfDR9GaEWWukiEiVFKtj7cOgaaHaRmtiAB0MOXjcU9/Zw6BxWiS9pxVFDHkGX0CMsx2NZQTirPVS1AzAjkXleTNvZRhPkfv1jJt+n3L/JmBABMrt4/4ZgIl+u3FSBPBJGrXvP4JwrvwCKQg82R6VhJz8/eXX9GuqtuforCCcRN2nwTkzK1dfPpJ9SSL7EBfsIHY/nCJKcvCQuMtt8r0s7hb2I6AM0VXKFqFOmf2hTgWhX7OZgCldidtvV0tdV3MI1KRdFqFmREMmMZWKEUFlMrCgqPe0Jt1/N5jXfZ7j00fkqRzUQLC12Mudls3/xTwekh79JA/072V7ppdMcXqdZA0uo4GbxUjmLz7Dler0tLZboBl42njMYamm9ip4MtyUjn1gR+c+xMlA1PRxi/JGKF6XGuZTyormn1uyXNF+ZGZOwKmrAx8TLZeD0bQooEzljagVfBsJLqOCFiH7W0cz7NVVAEVDWiyvu3JfDalhuk51M3MT3oLq+W4WM2H9+MNgnL52Ceu0La/KO/WUkwNoSmzlRodotyLtlOrtfL8TehEsBqfcVSYnk+5MC30NakCEYJ+wPc8TbOuXw== 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)(376002)(346002)(39860400002)(136003)(396003)(366004)(451199015)(54906003)(38100700002)(8936002)(450100002)(66946007)(2906002)(478600001)(5660300002)(6486002)(2616005)(41300700001)(86362001)(66476007)(66556008)(36756003)(4326008)(6916009)(8676002)(6512007)(26005)(186003)(316002)(83380400001)(6666004)(1076003)(6506007); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?62N4U2yW8QFUu5vuDYBJ2lDmQlpgEb3QQ6Cn2Q3AaANl1phB8Pzkp+oWfhen?= =?us-ascii?Q?x544nulfIT7AUI2m2S8gRRyGV40oaE93cNFkWOqKBul4X8OfPvSh87B00K7e?= =?us-ascii?Q?oqxI5rER9YIGa4t1LnRrhf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aTAS?= =?us-ascii?Q?1kbYwO1FPzJ40mCwpA5vTSDHdSzMyi9HgJF6Y8gRH1tzsjiEl0LBrS47OB9P?= =?us-ascii?Q?mKLZdgLHuRFTUiprIsT35oCJzOefl+gSz/cWL+KVfoWHEUfwD8EhDUyzhFG8?= =?us-ascii?Q?TkytYxL/Zpor7ouWZ7np6zDX2tqzEbN6hwvWa+Gm0sHXKTVFmNZhQeXnpsnC?= =?us-ascii?Q?ZQVHoWO3DyDbeD7dCxIGA9X73aaRsqeZZ94oCr8ZjWlkVTN+MvG7wmdCBIqB?= =?us-ascii?Q?zeYo+ChgBXs7Hfpv5pskPd/mmgx7Iwv58BxBLuCEhSsYQKQiLfgh0HnAqFg+?= =?us-ascii?Q?UPCCB36d7IiEstDbJMZvXDx6XneXuZSnuGA+c91ZXTOIODqeHMsBgn8kza2I?= =?us-ascii?Q?R/mgF8z9tHtR+UC1CpVTraXVGCQcN4I/9DE5DFzn6ZFiMdn4TU2ws7Ptq9OT?= =?us-ascii?Q?EVeILYpQ/ImIZxWpnzpkL3GM4jtnNOOiVKzrn6O2Ap+ozTDNSqUBGCynoWxC?= =?us-ascii?Q?MNJrwUf3C+K5SSwo5g1EFq17fAHSY1f6FmrgMQIVK8bLP8DpsyMgk7bnCgVv?= =?us-ascii?Q?Z5zQbA1YlW+ijoEWcnuO4JrrBVXQ3CGpAWqy0CA8?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: e6981cf5-8e6a-4505-a556-08daf4200c1d X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:06:10.8715 (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: pIp1jGx/bBKITY0h4YFhICmbsJVFYSST10nOT1pVEHuYOF4FBjQB25m1WOLcjT0rgrau3AUUfFkYH6kud6ETyQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6806 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: 1673474834884100002 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 bb0bfb5f35..19a3c8465c 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -433,6 +433,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 @@ -489,6 +490,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 @@ -1407,7 +1415,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. @@ -1415,7 +1423,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 @@ -1428,17 +1435,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 @@ -1491,6 +1494,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 @@ -1769,13 +1790,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 @@ -1795,8 +1812,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 @@ -1807,14 +1822,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 @@ -1834,6 +1847,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 05:05:02 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=1673474807; cv=none; d=zohomail.com; s=zohoarc; b=cpaxu0V+bZt7IC+kePgEgW6OfmgEJn1xC6jUtA9fU2UVGCnbCz2KiyMPfPITyIKDCKbQgVOLwT1SwqbCGz/TK4BTyzIPtLZ3nHcdZCWLQf4yBQQ895o6G9KB40qrlsrC4EikJ7E/l2xwHhNJ2kN6T5MqEqUUwB2V6JVzlZRtr60= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673474807; 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=52XmNf+yxVzPLs8AQTjcxSMil52MUW6YvA3V6FDy9Es=; b=Tos1y5kwrg08Tui1DV+z9W2Kqrd4dKvjDXLrQKv+ro885VaQMg9uYcO7/7wueJbH0187wYB7Hh9SzglOm+trmimBPtu7NlhYGF01ko7Qwkr1pTcUVF5kL2MQwkZfQxsg54urFPBmieno+OVgbrUY07tI0gAp+glZtR3ZeYypynE= 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 1673474807490199.9830085735457; Wed, 11 Jan 2023 14:06:47 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-564-s7S6Zy4pMO6hYyHZEWTh3A-1; Wed, 11 Jan 2023 17:06:43 -0500 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AA59F3C0DDBC; Wed, 11 Jan 2023 22:06:40 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8DE20492C18; Wed, 11 Jan 2023 22:06:40 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 5E9EF1946A6B; Wed, 11 Jan 2023 22:06:40 +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 0286F19465A3 for ; Wed, 11 Jan 2023 22:06:22 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id CB7EFC15BA0; Wed, 11 Jan 2023 22:06:21 +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 C3A76C158BB for ; Wed, 11 Jan 2023 22:06:21 +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 9E71B8533AC for ; Wed, 11 Jan 2023 22:06:21 +0000 (UTC) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2077.outbound.protection.outlook.com [40.107.6.77]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-28-ujtzCixvM6G96vRqmjIkYA-1; Wed, 11 Jan 2023 17:06:16 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AM7PR04MB6806.eurprd04.prod.outlook.com (2603:10a6:20b:103::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:06:14 +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.6002.012; Wed, 11 Jan 2023 22:06:14 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673474806; 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=52XmNf+yxVzPLs8AQTjcxSMil52MUW6YvA3V6FDy9Es=; b=Cg4Jnqpj5mqGj+9X3xnO0u5xs3Rr6mWOtgEL0HYq04jakhX0B67SdXKeqwuX3kdovlq9dy 0TYKDDwvsQje75tZK5o3/MFj4qbnUaVZgN9pgl2/iiB6fQrqyV6X8qSfzNe/aKJKVgMh0p f9nPjTfToCGvv39cM+otpaHHc6+eSgk= X-MC-Unique: s7S6Zy4pMO6hYyHZEWTh3A-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: ujtzCixvM6G96vRqmjIkYA-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V8 03/13] spec: Move virtproxyd to a new subpackage libvirt-daemon-proxy Date: Wed, 11 Jan 2023 15:05:50 -0700 Message-ID: <20230111220600.29680-4-jfehlig@suse.com> In-Reply-To: <20230111220600.29680-1-jfehlig@suse.com> References: <20230111220600.29680-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0112.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a8::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_|AM7PR04MB6806:EE_ X-MS-Office365-Filtering-Correlation-Id: 99bba9aa-f188-4098-34ef-08daf4200e1e X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: VBg5jXUYWKohy6/IFMo3uYuvyMZHMovQYfGzYk7UV9APBers/4+PR1n9VJAHr+xpChwatDty3/fBJVUPXJV+kI4peoi4gVDwHzs2k6aX61exT5S/ulciyNl+zJKZFBVEEwRd7fHyajx25eVwY8Ou2q3G+FELx7HdDisIbgM0JmOLZQ4c0tKVPOFPKgW/mKfK9TZGa6bgOJWmvIUMGedVJR4jj0Q9qcbdf+ZyQHDRkluN9dosFDDV5Hmulb3V1jFjbQvneuSmi596yQOVS+sbDJpMR5Jnj8otljYI8JZi22GA4xxRQGepEbOIIeUkcZuGVfBMYYxsy/0lOoTr+3YrWH2h97EPU7KbDq9fhImuEPuKnvC1ti5mqVH93rsllOh+vBSI9sVV+Qk8zZ03o+9IthHTM0Nujop0jCZg/Rpm65VP9uJ0yPBBaALdDyZK7zam+nNpqV2QwNeLj8b5lq1+AeqOjc6L8rSxOvhWR+sJR1TTCFLGo1dOoi0Eh45WTZyGEMI71ybTvSPnACsH/shlBB5zHnhV2b3EsrdedakEtjpBBaZ42rpF4jVKaOc6BkCz9KVXSLE+V3NlVr1UV2+6gRkTP3h5umu+7RmuKubwlJOt8C28l2l8xfaSEclFy1ZxmL3iO+5bUhaAQH3MX9XVJg== 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)(376002)(346002)(39860400002)(136003)(396003)(366004)(451199015)(54906003)(38100700002)(8936002)(450100002)(66946007)(2906002)(478600001)(5660300002)(6486002)(2616005)(41300700001)(86362001)(66476007)(66556008)(36756003)(4326008)(6916009)(8676002)(6512007)(26005)(186003)(316002)(83380400001)(6666004)(1076003)(6506007); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?dmLkJVypwbE+KOFPSOnztFDQBY5xCm9HvuxtGYjl+sY7TI6qYV1lCaE04G1C?= =?us-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ippDiDhX26XAAtL40XCGliPQa5sleJvd?= =?us-ascii?Q?4tLR2nUKhiofn2vDi/Y3c2AWePxaCQxap/UU0vUNfoKLS8p2hqpU+yBXmPuV?= =?us-ascii?Q?m24fHRh7k2TvPjIqHh2BKGVY59aJhEsFLYzPQfUOaED5sjZpFmSOd8lWD971?= =?us-ascii?Q?59eWDAThzvKqhsHknSiDfv08h+YIZ6u8005SPUaaX1k98F3h93sncCsxlIoh?= =?us-ascii?Q?CaI+rredQGPhVN5uIsqKdslyD7vkkt1uAh2lgvxkRrWH9C5OAF870x58kM0k?= =?us-ascii?Q?cjoACdULs3Fv2ntQBtZ2qrV4bVQp/jYAX/glcPZKl2MoNwDHz34usoQ6U/nr?= =?us-ascii?Q?rBr28I2Si564mBSDGGDPGCljjIbls0S29R0RJIqRWxwBJ/V3IrsdDf3T2Osm?= =?us-ascii?Q?z7d97bnlyqJIKWATRHKkoIMdF502THQFexc95mFwFmmM48CV8FeJsvCfVdlw?= =?us-ascii?Q?NgklUVP6x9ZkDRfN2PbLfjqtqHyC6HqtC699Q3nluWluZjkcRSdBkYUZdjNW?= =?us-ascii?Q?e0f5EiIYBd/Vdmzmp+gB0D1IpLorwFhL79aSd7pIKeI+f9yaU5YN5W55pR8Y?= =?us-ascii?Q?7a1kSENm2NXha0NLlFyNoZ457Evoj168LrDBCA0y6o1SXA4MHYZDxEy93TLv?= =?us-ascii?Q?GGDq2MtL217N/uZ14kyt6TH9PYw4FwMw9MvOr7Cf?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 99bba9aa-f188-4098-34ef-08daf4200e1e X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:06:14.8243 (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: eUTSThETgTj0IUmIPzt6yAzlPaNuHKe5KthBBS60uDJDFLFbD9gB40MJS83wKtNK51LU5DP1jukQXxFDUAMNmQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6806 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.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: 1673474808851100001 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 19a3c8465c..6072ac2c1c 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -434,17 +434,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 @@ -497,6 +492,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 @@ -1415,7 +1424,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. @@ -1423,9 +1432,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 @@ -1434,14 +1441,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 @@ -1512,6 +1518,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 @@ -1783,16 +1803,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 @@ -1812,8 +1825,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 @@ -1821,14 +1832,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 @@ -1857,6 +1866,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 05:05:02 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=1673474944; cv=none; d=zohomail.com; s=zohoarc; b=O2D7psICROg+HnaP8NS8SnPAgREZQr6GgN3feC0oSYO2EdVkDQ2Etl+9mlItvy0xWy3f/vm4KTzcm9tNd+35YxY6z0D6B8PLEITbix1lOR5d7FJnOBJViLYIcZN7f3OU3eod0TgXjzYEgeSuj+vGEokL/YDsvIIX9dWRdIMsYgs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673474944; 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=OCYqaRMrVMp3w13nZw8Fz6NHzA6DETrbLzrFvMQYDwE=; b=FXs+n3d8ro1nUrHAN1U8Gyi2R1kgYHE2FVEdGyocUjnnYb4x+esTPJdUHjLpfBEB4R+c3kueNcrPsNV3KZBaDlQbhN1Cs/ciDuRz+93VlGK5aX/4s5ZLOvQe7CbAD3FeYgWOm+qcTEehdtM5/HxsF7DvAWE/0cdq7/3QWBO3EWw= 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 1673474944397480.5436765563952; Wed, 11 Jan 2023 14:09:04 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-611-hbO1Tl_0OpGiC8dugUp41w-1; Wed, 11 Jan 2023 17:08:23 -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 126D7857AA3; Wed, 11 Jan 2023 22:08:20 +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 EAA5143FB8; Wed, 11 Jan 2023 22:08:19 +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 AFF5B1946A7E; Wed, 11 Jan 2023 22:08:19 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 9298B19465A3 for ; Wed, 11 Jan 2023 22:06:24 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 744D02166B2B; Wed, 11 Jan 2023 22:06:24 +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 6C8ED2166B29 for ; Wed, 11 Jan 2023 22:06:24 +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 4D7428533AE for ; Wed, 11 Jan 2023 22:06:24 +0000 (UTC) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2056.outbound.protection.outlook.com [40.107.6.56]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-178-xcMVKgTtNtKlNXZEDNVV2Q-1; Wed, 11 Jan 2023 17:06:20 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AM7PR04MB6806.eurprd04.prod.outlook.com (2603:10a6:20b:103::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:06:18 +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.6002.012; Wed, 11 Jan 2023 22:06:18 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673474943; 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=OCYqaRMrVMp3w13nZw8Fz6NHzA6DETrbLzrFvMQYDwE=; b=Vmj1IJp4gv1ohnHe36LLSSjA14Rlo579/r539GzZx2qKAPJt2urSxy9KnKxv67KAhcImic 0vMpRb/1doTFcBCNOh7lzH2cvW5anIVSd0ojpG8tUV/aVK2tuhT3cSWJHXnTeGNHNG1BQX NwLh64QpNCYNBA1GsjIeJsP2rr7wYpY= X-MC-Unique: hbO1Tl_0OpGiC8dugUp41w-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: xcMVKgTtNtKlNXZEDNVV2Q-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V8 04/13] spec: Move lockd plugin to a new subpackage Date: Wed, 11 Jan 2023 15:05:51 -0700 Message-ID: <20230111220600.29680-5-jfehlig@suse.com> In-Reply-To: <20230111220600.29680-1-jfehlig@suse.com> References: <20230111220600.29680-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0022.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::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_|AM7PR04MB6806:EE_ X-MS-Office365-Filtering-Correlation-Id: 26dadf9c-2bd5-409d-cccc-08daf42010cc X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: 975IHorBScCf0cURgO++/Y/xFsA+R6J/OecRE0JLkkGbpgsXUbXJ8I9Bn4TN6VyMnZwi2V/6P/e2gODJVKwL2k+Vt3I6aNT/S1kXmeYf5kuhcQtmGJgeUzRwvDnO4jXZh2iM3Xd+affQD2MWxu0lHSaEbDDFY97mjG82CCCpsvwcx0SXcLShipgAZbZ+gJ9vMlmWN14l33pxKXkSymd5chNkgzPECJ/f63toboDFGbBvWQwvJU+o6w/hOSbM5YAhPX7rCuEr7QnZW0BqNAXqnmzNCWLtJZUMnkkPdCglUpmzuVJ6prlTBx6QzCv8HGWW/xwXyK63GDVq5QRCYXOX4tyoT1d0xktVhETtw/0q2J56E3mJcxfljwIQOI2735nInynUOv47pHrY8LM/0K3useeEiCICe1sAveZNPyXx/3WipIgadx2shqBQsMywEBQWFXfhyJznVSBBM3GonLsK6oisJRrWUZCOP3JnDEEse8cx6WoZODP/AET92Gc1NMXmnA09YiWTktEvbRkZws63w2fi8kqDi4jdIG5n9eA/74gbUs1Pe2h0ZTntd9WI87mP0AhhXKGxFd9nJUGQ9k6VbcPW7AzDe/hzekkXmRMucYorpwJZcv3SBFhdPoCEyoE3yjWXg85h9Xsdpxe2NNaCaw== 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)(376002)(346002)(39860400002)(136003)(396003)(366004)(451199015)(54906003)(38100700002)(8936002)(450100002)(66946007)(2906002)(478600001)(5660300002)(6486002)(2616005)(41300700001)(86362001)(66476007)(66556008)(36756003)(4326008)(6916009)(8676002)(6512007)(26005)(186003)(316002)(83380400001)(6666004)(1076003)(6506007); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?imzbDMoBjzuQTHKZGkMA+F062zxW+eW7nNSoij5QtFWePFAnb1qWVAmC9GLA?= =?us-ascii?Q?pYhCnciZszgOoNaK5XcCYVhP+DkQep+gMjT7AQ878hVYNVGs2qo/hHYl6SNE?= =?us-ascii?Q?lRlWJOGTmE1oipd4Xa+UiTuvrYmqXgp6BxoiO3pDBHU/5NpZQIwjJUbYqZ6F?= =?us-ascii?Q?9V6pG1RD/XpKdCkCWazZh2gufi68tB4YlNzReuRpYmkyGjlFhLYkB5udrUYs?= =?us-ascii?Q?NyDI8i/5gAK3+corAqgXLoxUNHG0TJayyRrjsECcuf6+BpnA/MhxKBYSOV1G?= =?us-ascii?Q?aloXxm5cRn5quqWMVxIl284lrTsx/H+s+5qY9Fujl1U/K5KLmKx4kF93egYB?= =?us-ascii?Q?hSbRIjol0oXnoBPVjkUU33SnQhf5/kVL9J1Jebk0WMrRQdu9oX/WFwyaTu5r?= =?us-ascii?Q?1GU2X4IbPWVu6BEIizE7UPtrSprQFCOjFwVQT/BMXW91GD3uMvn3BMAR1RPK?= =?us-ascii?Q?/M3aeEW9/X05EqQLtrAD4A+bPVFUGu4oVarCJCYUixLgYLYJZ4wlQ1dfKxD4?= =?us-ascii?Q?bLHVhN2K4ZDOBuYZA4YiZBl5GyvlisPDxas1pck6/OQ/a0FeNTU3J2861cxg?= =?us-ascii?Q?/ydiTUGDFc0XSZI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Q?ejcjDhZSQaWEiiiiUV3Go1kMYc5tFsKKc+XzqCR20jzR+1hTrr8BequczDVo?= =?us-ascii?Q?OhLurLxHVLOUgLvEnhbxs/3sWbzeyYe4ikHQFwLQ?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 26dadf9c-2bd5-409d-cccc-08daf42010cc X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:06:18.6521 (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: Bt7Jx2oahIG1qOWJHFyTCyQ4kqicZMhV4IjDDSmRpUdieQlOWoJUeKTT9GFgq9kQcF7LsbG9Y2yU79qt6krQXg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6806 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.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: 1673474945362100001 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 6072ac2c1c..8277122bcb 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -433,6 +433,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, @@ -485,6 +486,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} @@ -1822,7 +1832,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 @@ -1856,6 +1865,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 05:05:02 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=1673474793; cv=none; d=zohomail.com; s=zohoarc; b=c7vW1V3sZMqJPMRe0/ph/Pf/NYm6jAVrYiliU4dzVIYLU8zNNAuGQND+TNwGk6x+HOOFByJjyYNafjULXwOcdcbeVhyFntEOqHB7LSMsuSiwI6snhc/U36WYAze3uLVx95Titzabqy4Xw0RSyEUi3xYfEuQn5Q40pBTt7y5MO9Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673474793; 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=8iFvU1rzj/q1XsZeqooNYK+rLdpdkYvwjI8kpKDCQeQ=; b=O/Gy3pAiL1+aSdOzkpl1lAf8I4jFKKgRk0ekO4jLVfZXnGNBaKp8nuG21tv+Ee/ZNqyis3AOjX5TpnQkQjIzbe2FvrFzgAPqxnpsNUpookNNelr0Pfkvdh40KkvGCughzB1LoKkiwc+dP3Kahcuy98C0clFx10IgXnvCsz4KUOc= 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 1673474793038973.3184989544139; Wed, 11 Jan 2023 14:06:33 -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-491-joZ-bNH5O_OywbYiBo-3OQ-1; Wed, 11 Jan 2023 17:06:30 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id BF62F857D0D; Wed, 11 Jan 2023 22:06: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 A53E72166B29; Wed, 11 Jan 2023 22:06:27 +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 7DDD61946A45; Wed, 11 Jan 2023 22:06:27 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id CFD1519465A3 for ; Wed, 11 Jan 2023 22:06:25 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id BEC4F40C2006; Wed, 11 Jan 2023 22:06:25 +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 B625A40C2004 for ; Wed, 11 Jan 2023 22:06:25 +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 98846101A521 for ; Wed, 11 Jan 2023 22:06:25 +0000 (UTC) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2051.outbound.protection.outlook.com [40.107.6.51]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-94-BXJwtBgSMEGXdOIha80iMw-1; Wed, 11 Jan 2023 17:06:24 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AM7PR04MB6806.eurprd04.prod.outlook.com (2603:10a6:20b:103::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:06:22 +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.6002.012; Wed, 11 Jan 2023 22:06:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673474792; 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=8iFvU1rzj/q1XsZeqooNYK+rLdpdkYvwjI8kpKDCQeQ=; b=dA/MYU6UznKaEI6t/vIUNIPk49lp+rhiOUram42VMW3X7VxvBp7iBhP+qw4rnOmK69q2aQ bj3XxJf2sHM6wCXpLdBzVX3j8kztdTMa6I9fibqOg7UzfE4kqJiT9XXrQwHPHODMW14o6K 5kY/PvV5ykfpO66XavptdA87RzsPrSY= X-MC-Unique: joZ-bNH5O_OywbYiBo-3OQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: BXJwtBgSMEGXdOIha80iMw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V8 05/13] spec: Rename the libvirt-lock-sanlock subpackage Date: Wed, 11 Jan 2023 15:05:52 -0700 Message-ID: <20230111220600.29680-6-jfehlig@suse.com> In-Reply-To: <20230111220600.29680-1-jfehlig@suse.com> References: <20230111220600.29680-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0032.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::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_|AM7PR04MB6806:EE_ X-MS-Office365-Filtering-Correlation-Id: 8a9a28dd-fbd7-4a9b-316a-08daf4201304 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: 5GIem3WLMSzsh9wmNrmILorGTP4Wy2VxqRinXQTEckD6wfTm1qtUaL++QwV/GKTULMFYIoOMb1NPE7LcuT5Kt3wWo+Of8ca7WaNrSQw+oNIbg2l7H+EV59AYY7jPheq68hgz73yJXQHz8bVSUxebAbkpQiRB4Dnx9Xm9UZtlrulqkczEtXOWLNphmgsPxsc0oGUfcfqrdO38zfl9X3+s/o1dTVRja+ghLfPqsLv9vPUdVj+zy90Nq5Dj6mbo+UrHTkyP1ebjxA5iT0LpiRaynUD6NGhVOV293Gdi3QZoHnVMK5Tk3YzPaDIQdJiOk1fv887dhjhNlE4R7rhWEaKOw8+Ts9yjm1gZ8+0kwtLDxAy/5GvorrTn0sBd0+ady2fybcZH2aaWOjLwZ7Cf+7EKeNwRds9qgJVTFjqDz5fSxk1VXKQfP6IGAfrRRrwCPmtRjpwostM5SqFSg7wUVMqR1941kGldlEb7VIfT8/zKYjcYS0ch78OjmEScbYbto6mkv32bROksrm1N1RcQcaaIeQc3CXpvmT4bUm9l0G2PrEeO/S6K4VULUbRbL612WIzByXXMs7vy6CHp/ajwUtRMwcrcArVY36ZR60w29Adsy0Llo9K29jHWzj7KKcKSEH5uPJv8hBHXRM2i8Rd9I/vsLrgkeVQR/wyhs1mVa1X/TllG0oVNAy8zXmsFZ3e3PRA2 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)(376002)(346002)(39860400002)(136003)(396003)(366004)(451199015)(38100700002)(8936002)(450100002)(66946007)(2906002)(478600001)(5660300002)(6486002)(2616005)(41300700001)(86362001)(66476007)(66556008)(36756003)(4326008)(6916009)(8676002)(6512007)(26005)(186003)(316002)(83380400001)(6666004)(1076003)(6506007)(21314003); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?eON4wx/nq4atBesfzqP6WMRhIZAuGOUgLC3t3Llu/GupSxSJ2xltlfGmVEGf?= =?us-ascii?Q?eJKQVlnSoOGBoWyZ5htVg6+yhvl/BLx+PHsGSZD5vLK8tGgzR1ILqRwzJjIK?= =?us-ascii?Q?IEO3t8yvJgUNSC/3Qd1jwj1j9CKojVkZkmRsZ2Ov/N9wNBZCCzdl1bFx3N3c?= =?us-ascii?Q?e41rnB+g7ODM/iePJDZBxE8GB6dOaNr7GciAHWTriwCjmJI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vk2dtSAfYjffenEpNh7N/JwueW3M1GdlRindfSkr5?= =?us-ascii?Q?LRRzVkoeH7DQNTanl+o8QwIMpeypQYzRX260GqYR+zp7lylZv+0GwnnWRLEP?= =?us-ascii?Q?wIxC4Ru/jv3b1e1NdJ+GDABRcc2t1AjhPHLAEKw1Nr+zO4QL48ZTJphUnkXx?= =?us-ascii?Q?EhF8ZS/zDhQRUyMyUFpRWFiueNlR9f7N5Vwu7pGHG7AeEpxOPuLuadDpMJiy?= =?us-ascii?Q?CGPN7uEIIKcPhnu5MQNW7jkRlul1daxB/ZWxmz9Twzzy4jZsrCuhbBPmGQW6?= =?us-ascii?Q?q0yZBy8AeG2RpnQTUyJWWzs9GBWzatZdLeQP/9PswrBuacsneA/UgbJHY1vc?= =?us-ascii?Q?DbryYjJ9JeACSKnbkK9JqIZVWJ9Vaal58HOZtRpPoA1i4gC5MlIeREYd/UMf?= =?us-ascii?Q?8UEWjrn1x4A6BJH+VN/lyjitC7P+tMzYLlC13jSdvG9Qua5srKMVyZ5acAje?= =?us-ascii?Q?OfI7VSLDj9vZrZaCWJxMe4ZkF38JX9AAEaa+ncIU?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8a9a28dd-fbd7-4a9b-316a-08daf4201304 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:06:22.4331 (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: jKEfX8jspRh43+8sGQlSyrjqMa/gRdTqBenEwvJzSuB6MNbSLg2fDgXSKiaDCpJOEBgBUMythabHPdYMtMuCnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6806 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1673474794713100001 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 8277122bcb..56cf35ef06 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -962,15 +962,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 @@ -1829,7 +1830,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 @@ -2170,13 +2170,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 05:05:02 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=1673474813; cv=none; d=zohomail.com; s=zohoarc; b=SBfNAC5eDg9aVzO9VwpQPCBhMRJx/Ek97ZBTfp1pO/q9Ob0bwQBs9/cfAbNQbX0ZmBon3rRWnfrhK2c3FrlRc5W9yr+9+Xd+iyerhc/n1krVCjhY0O4RRAyfP2iMApmck+FhcfqpcJTjdMWWBykt1PxbkE8gToLYM/FhdkfKqKk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673474813; 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=+hxefcv5TP9AVaEewD1LbIxUdxvGK0mIyr6PUNospBU=; b=HceVJPjumrsMyOWJ1xshOPHyC49U/+BDVf8nX9gvfGunE50tKQhNpewZm78mN2qzJgymw4IuRNoByilWonFaZlkCMAEei8AJ9ZYu9cQssnzv+V6+/+lySmD1DmKBw8G6actp1nBUhP33LkkT90/cgN9dy+VONTpTcU9lpRXuhc4= 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 1673474813647582.8183410940712; Wed, 11 Jan 2023 14:06:53 -0800 (PST) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-616-ppJFrXn6MVGnoRKJtr08Yw-1; Wed, 11 Jan 2023 17:06:50 -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 E59861C0040F; Wed, 11 Jan 2023 22:06:47 +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 CCE51C158BB; Wed, 11 Jan 2023 22:06:47 +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 ACAA81946A6D; Wed, 11 Jan 2023 22:06:47 +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 E901F19465A3 for ; Wed, 11 Jan 2023 22:06:31 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id DB3C6C158BB; Wed, 11 Jan 2023 22:06:31 +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 D32C6C15BA0 for ; Wed, 11 Jan 2023 22:06:31 +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 B4A653C0D84F for ; Wed, 11 Jan 2023 22:06:31 +0000 (UTC) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2074.outbound.protection.outlook.com [40.107.6.74]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-437-WcGyqXRKMd2_WXq6rswKgw-1; Wed, 11 Jan 2023 17:06:28 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AM7PR04MB6806.eurprd04.prod.outlook.com (2603:10a6:20b:103::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:06:26 +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.6002.012; Wed, 11 Jan 2023 22:06:26 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673474812; 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=+hxefcv5TP9AVaEewD1LbIxUdxvGK0mIyr6PUNospBU=; b=fggrkd1IBI1Qn90Ln1VKTTbUFye/QU0MR7o55zbqkDmiLZNBDf/gzqqk8Z2YamQV5RYhZZ pzomxhjHfd5P9uPT5kmYh4BRbcG2ARtau7NvRg4iLxILMaH1lc1fR/WL4Og3ENX/xvaqur n10lMZuDQO12n/nHQij5cOVAcvFTw58= X-MC-Unique: ppJFrXn6MVGnoRKJtr08Yw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: WcGyqXRKMd2_WXq6rswKgw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V8 06/13] spec: Move common files and dependencies to libvirt-daemon-common Date: Wed, 11 Jan 2023 15:05:53 -0700 Message-ID: <20230111220600.29680-7-jfehlig@suse.com> In-Reply-To: <20230111220600.29680-1-jfehlig@suse.com> References: <20230111220600.29680-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0021.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::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_|AM7PR04MB6806:EE_ X-MS-Office365-Filtering-Correlation-Id: 85554179-68d2-447a-8191-08daf4201547 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: LBG+E+imx2kNNowC7dNc94GFRVQUfi8BBnWgz6dBRwPXAyOjIA3bn6KJMfG7Rzmdv6qZXo7mqrq8axJiP25IYu551og8ltjC8sxAWMzN0pYdzY+UtQM+gf8kjFkH1IGmPevpep3sRAV9Cb92ftsL9/mI/ls4DmO+B4AaF/lFdaGdnB1IcAOdvM34YpRNz2aAAdHX7jJje1Ru+Ii19PoDERix4JQZbH4Q/EJO9IHuBN21ET0hRChDm0Uf9NDfVlrhDYlVeAfX62jT/YsSO0prUhvhsvwX+vVi5eGsH90TayLV7o/8LTfrTMwuQ2ytnd/LSUtWRXZIcjy5SI5y6QCbDgN3olcj77NdJVAUyD4WAjIq19VShOuI+VjMcuQBSdyuVVENgr5jbhXaV0cYcHvBx0F8f2Snv3a2KDKxANSD5uyK2f9sjuBghL8trZjdcts1/00uoKmKQG65r0MMDq/o5FmED7CMmNCeZO5wmJNcfIXERXePyvC0hJ40BiNQGQEuXOQTSQsE9mzrniNAPg/2gP8ys4q25oPkP9UUE68P1VMNyyYKKowlt6ksUmrsAxsoVYJ5RgIc2ivqrOQAtCbDCEtQkJKOt8idObmyQmT/riEQQ7R8qSkKSXQmQ3W++veN8VnNksnHhMaUVK8sUFP/qg== 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)(376002)(346002)(39860400002)(136003)(396003)(366004)(451199015)(38100700002)(8936002)(450100002)(66946007)(2906002)(478600001)(5660300002)(6486002)(2616005)(41300700001)(86362001)(66476007)(66556008)(36756003)(4326008)(6916009)(8676002)(6512007)(26005)(186003)(316002)(83380400001)(6666004)(1076003)(6506007); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?PeSAibJ+3HyaYbXR09zx2t05lREn17C1rvVOpWV3Ljv1HIWPbfAaeYQf9CZc?= =?us-ascii?Q?29xsJyPZIlLmTseCY5RB/vI8tcwWKLSBVQibt9FGxp6cfsBbA/0ZT836bURG?= =?us-ascii?Q?KpSmJBOPfORHbWl8FLWVPK8W7w9xKEHDiEgHUimvgfPEsuSmAPhACbAACTWy?= =?us-ascii?Q?00YIMPBdFM/Z+BObJiXuPBNYMPQZ+NwtcBTT3Hg52lcrIXxqYmyFA3ZPQIHh?= =?us-ascii?Q?Nf3xufIPtsmrKRbkLPQWdu3+wDM0ylhoEzuAPsKQroQLwnWdY2S4NPbtUiaE?= =?us-ascii?Q?BFtlvhBbVpP+HBfo/7HnMbSzegJq7R7MJzkvfrX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KeQIbM8YOfUF/n9zULE8lRagIbWZ3MrwBHv27JjJYhsHBnAYhRU9E?= =?us-ascii?Q?WnJWCsAShTrKeu54Bq2ufDT+or4U7e81GTIjsDe6d386Vg/it4/++l69Xliw?= =?us-ascii?Q?FlJUvlirKyHSUU2ERduD+h4y1ym4+bS5wD7GfXliIj/owe+q3dF24h++ilUT?= =?us-ascii?Q?18y3mbuUDRvRwuEFxFd/erOlpnN5tlHQB8TahLhFH+9z7sHL9ZcwNgChZlK5?= =?us-ascii?Q?WGHqb9rVw9EMRYoqa2K46VZlSA1p/UV+7edN/YIblkMVlXuu6KVceTSqrTZd?= =?us-ascii?Q?i9ADQ1cZ9t0oN/x/P1FDawYUXCE7ivaDcLm1yx1yozrZYoEUWu2yq3Uc7z2+?= =?us-ascii?Q?P3sXzwLioSlkBIcLPVKkXnEXvJMldbTj40oWq6cE?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 85554179-68d2-447a-8191-08daf4201547 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:06:26.2141 (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: Kg2tKYK9l+jOadKLo8051zWpWesoJObAxE72HtXRhQ1c+Fx6hKIefjZ/G3aLvfvpoQVyUTReKi6CFeS2/hqoOw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6806 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.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: 1673474814698100001 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 56cf35ef06..4c2e6e3587 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -432,17 +432,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 @@ -454,9 +467,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 @@ -473,10 +483,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 @@ -1435,30 +1443,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 @@ -1493,6 +1490,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 @@ -1814,12 +1831,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/ @@ -1832,21 +1855,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 05:05:02 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=1673474987; cv=none; d=zohomail.com; s=zohoarc; b=UX/ni2XWEfMB5+Y3OcGiWOOCC+pCTpNXj3oqvcJGnsnaghXmdGrK59Xx9gM/EzkCjzNXeFMTJjvoj5sOczm74Lx4HzzpUz0ao/ONGopEBbRpAi6OkECgCTEVzrgS+cpZ2KN4asRF85730Y6h931gAqBxI+u/lOCsDL7cGWAxDpk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673474987; 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=R+oC6nEmwm6MQStfF3UP2d5z5I2XekOGb2/nlQ2CKpo=; b=P0SL4u7cqsiV8Z1VbBtSYxXeGZX5SP+O/zOyM8M+VbOO191a8PvPNmVtAJKzDjzMA3dDwv0RsM66sZrMKIHngpYo+oXv/atjhBSGCIS5zfGeJqJjES4egaHXhO+lamuTbUfFsBjHFfng7Sge1Lhsz2U8vYGnld8WQLGwTp/+fMI= 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 1673474987305443.02023625274114; Wed, 11 Jan 2023 14:09:47 -0800 (PST) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-613-KxFVvW0HPcKsFWcVQUsVBQ-1; Wed, 11 Jan 2023 17:09:44 -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 08824811E9C; Wed, 11 Jan 2023 22:09:42 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id E8384C15BA0; Wed, 11 Jan 2023 22:09: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 C674B1946A73; Wed, 11 Jan 2023 22:09:41 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 84AB219465A3 for ; Wed, 11 Jan 2023 22:06:34 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 59DB04085721; Wed, 11 Jan 2023 22:06:34 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 519B04085720 for ; Wed, 11 Jan 2023 22:06:34 +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 2F0D5858F09 for ; Wed, 11 Jan 2023 22:06:34 +0000 (UTC) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2044.outbound.protection.outlook.com [40.107.6.44]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-507-uYOuWXtoMPOJShRmmwWu1Q-1; Wed, 11 Jan 2023 17:06:32 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by AM7PR04MB6806.eurprd04.prod.outlook.com (2603:10a6:20b:103::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:06:29 +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.6002.012; Wed, 11 Jan 2023 22:06:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673474986; 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=R+oC6nEmwm6MQStfF3UP2d5z5I2XekOGb2/nlQ2CKpo=; b=h3TbP8MPs2LtKOO7swI/1Vgt9rc5sZlC1wQZssQj8VerzGICI1OiO81XTVi+BqSAa/Qu2E p7HFfaI59MgHsGVqqeO+j0a3gPhgyoG6WEBJLXdl8LeVgTUOxSfxYuInnLVvhL6GwOnYC7 JZK/pFn9Vd0S0IedOoNHaTEB5T4uF+A= X-MC-Unique: KxFVvW0HPcKsFWcVQUsVBQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: uYOuWXtoMPOJShRmmwWu1Q-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V8 07/13] spec: Add module-init-tools dependency to nodedev and lxc drivers Date: Wed, 11 Jan 2023 15:05:54 -0700 Message-ID: <20230111220600.29680-8-jfehlig@suse.com> In-Reply-To: <20230111220600.29680-1-jfehlig@suse.com> References: <20230111220600.29680-1-jfehlig@suse.com> X-ClientProxiedBy: FR3P281CA0033.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:1c::12) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|AM7PR04MB6806:EE_ X-MS-Office365-Filtering-Correlation-Id: eb63f0f7-b1fd-49e1-fccc-08daf4201753 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: k2hWA2jshhfD8f4JoXz9luLoHsvykUR40Cgl79oqMWkY2yaWBmK5cGBk5RqetYnfr+sNRnMJiloAFxYuARrSfOyL3Vtc9jBgw8pPPteN/CtYgo+i4qAiQXM9fioKWPIt6SwJe+QXGteOaS/QcGpTZpGgrkpKwTyblQsbIFi9Ey7D4+Ss2zjECgJKxzMwGHZAqsxCbs0OzfINeCLLSJdmeIW7skGW0KnFGeVoBrQkv4gyQkmyQUgfzKAjxlY9p5r3l4hxo5N5fMI0sZGPyuE8zwzjg0op3fjbt65wy+XVYjmgppsh9V3LsXBSHCcGpAYOc2k/YQMeWZVQUtRapwi34oewyyWDa6hupr8f3+vQtnRoD18rYC+kci48r26dhw3X6SzAmWHFn65PhjxGOFMjMFr/Tv5rwP5y9Zaq7aCTBCm7y9DOEpagcvztJTB7IJD3QBAV9e9Q8vyG0H+0gh6FQmmobNPlSyKMNmW7x06vaKh2PCQkCwAPTSUtVyAZGVo7B/dZe+rtE5fl+vs/XZEmZ+qqYEjtuxPJvhGwzuTYjigOmqZvRbEGx7OIoKTjXrbh+rZeY7htFJqv0I/w7bUMq/W8dDXyHGIA/hszT6xyojCrV6ESN9+scWCGcEwl/vn3YIymmCWJpRu1gDRp95reTA== 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)(376002)(346002)(39860400002)(136003)(396003)(366004)(451199015)(54906003)(38100700002)(8936002)(450100002)(66946007)(2906002)(478600001)(5660300002)(6486002)(2616005)(41300700001)(86362001)(66476007)(66556008)(36756003)(4326008)(6916009)(8676002)(6512007)(26005)(186003)(316002)(83380400001)(6666004)(1076003)(6506007); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?K/ts5CWoFtnK/GcdeLXEq/Ufl7GHuwsHG4FA/irq+qGGggJwTUFmr9dld1hE?= =?us-ascii?Q?qLOrOOLl20oR+kxGJrxooz5Y6DUWIV+HzI/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+v8+39JhilASCV3vC5HAl/s+dcf//VQ/8jb5p/kgnZlWnYP5s3a4WDKiWi6?= =?us-ascii?Q?qLh3+aqWjlocPa+TJgLz65R4a2D2+uIk9xp3kKfl5959fK+++biR7TOrruWh?= =?us-ascii?Q?AtBTeXE6UBCkvI6aIQEc8LqScq9adhyGwtJkqIHc0ZQIFD3jWVW+Rc52UtER?= =?us-ascii?Q?FmwBhgucn3jx/t09+z+v+DHb310t8gb1/R2zX/4FeIp/baBZGXUgd8wD62q8?= =?us-ascii?Q?nGn4m+HYvCMcT3/4OPQhLmHAcgCXxAgH3S47PulHNiLxuHa160rvl0PlQxsk?= =?us-ascii?Q?ts9iXIQ8z40hlZ+psbM8T75nT79i+f78pr6xxu0M3QJ2n7YfIU5sy9gYc0wZ?= =?us-ascii?Q?WJdDSSJIFDGqoRqxzGYLiDGOeDCfymx8VogX6kY2oV002IpdZFeoB65FwWoN?= =?us-ascii?Q?cL0tiW7Jk69D0KKZ67kITFp0rbYUWb19yJIbcShs9haw6xZYDBfXLmJtm0Jx?= =?us-ascii?Q?pRQajsm1uO1ejcgNCGOApiOPLuxpfDcA1/NH/BU7Q6VtZaCTvBosoRe4IeBA?= =?us-ascii?Q?z/vmx+FLNuVUIRMCvRm0g+fY282pqg/JahEVVvtBqSbBGRHII7xB/yIhzA/+?= =?us-ascii?Q?NbvbIKMvp2NOS4QsSM1tuIr3oggjcnnLaR61sSSw?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: eb63f0f7-b1fd-49e1-fccc-08daf4201753 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:06:29.5888 (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: VZ0wrcnJKvQg/G3AERi2H6y7zWl3TVMDKBZixZFFRaegJvVZf9OSQ1MOJjn/LGp+hoPFFADjH4GrR2Wya/0hag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR04MB6806 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.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: 1673474987594100001 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 4c2e6e3587..248abad87d 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -437,8 +437,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 @@ -574,6 +572,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 @@ -782,6 +782,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 05:05:02 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=1673474864; cv=none; d=zohomail.com; s=zohoarc; b=AkFAD+ElfyZv9Yf8o7UL3UxWl8UH4kmsflMo1mfxefCc+jSX3/yPBae87rkP6k6QvmwXHzXDQoh+pkAb7ZWhAL9E9s+rGDoteSfV2fH0dE63r8lzPMnAcqGzv2iDm5CLobxFXuK9je6ydFym/3ySMw0hwmyHtv1iWjnSyp4b04U= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673474864; 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=Z3P7AnOA+C2xR/vHtrKAd83RY1kIBZqoU9Isc+egCA8=; b=QKejX+JMHf7q3y2GC/xFsbjec8Un32tJP3Ez6umH9bbHEnNx5EsTVFuT627Y+J8QLHNetGRWzomaB2rQBGMOHPpizOrqYMiW/BzQoQC459/+MzQ6w1ViorRK+mqnL2O69WQb1/1c9hOHrZE6YtmU2KsZr8Y32N+Wkkzsy7SyMkc= 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 1673474864945837.0600733211897; Wed, 11 Jan 2023 14:07:44 -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-629-KQp39dbmMNa_T51IhopGZQ-1; Wed, 11 Jan 2023 17:07:41 -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 C1A5185C06C; Wed, 11 Jan 2023 22:07:38 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id A9D10112131B; Wed, 11 Jan 2023 22:07:38 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 7B2571946A70; Wed, 11 Jan 2023 22:07:38 +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 9D9FB19465A3 for ; Wed, 11 Jan 2023 22:06:38 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 90CE9C16031; Wed, 11 Jan 2023 22:06:38 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8815BC15BA0 for ; Wed, 11 Jan 2023 22:06:38 +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 6DE5A811E6E for ; Wed, 11 Jan 2023 22:06:38 +0000 (UTC) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2081.outbound.protection.outlook.com [40.107.8.81]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-19-vGOM5D_tPsiZ73o6oacvvg-1; Wed, 11 Jan 2023 17:06:36 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by DU2PR04MB8551.eurprd04.prod.outlook.com (2603:10a6:10:2d6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:06:33 +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.6002.012; Wed, 11 Jan 2023 22:06:33 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673474864; 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=Z3P7AnOA+C2xR/vHtrKAd83RY1kIBZqoU9Isc+egCA8=; b=JBdq2vD7HABlKQ0Bl5Y0GrfSXdLu6s38q5zcWvB65biMz2yFOy43FUBAMJOnLJ6TJaR1i0 k7/+omjhrvRECEuRa7hPijUOEtJGtMgEhp3qZyNn1l8jQPLDLMw0vcZeCJViKDSIf9jlJC W6NMHakEtyQt5yzmAcMQhwWufbvALRw= X-MC-Unique: KQp39dbmMNa_T51IhopGZQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: vGOM5D_tPsiZ73o6oacvvg-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V8 08/13] spec: Add numad dependency to qemu and lxc drivers Date: Wed, 11 Jan 2023 15:05:55 -0700 Message-ID: <20230111220600.29680-9-jfehlig@suse.com> In-Reply-To: <20230111220600.29680-1-jfehlig@suse.com> References: <20230111220600.29680-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0104.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::15) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|DU2PR04MB8551:EE_ X-MS-Office365-Filtering-Correlation-Id: a6e98768-a8d0-4de2-3c80-08daf4201965 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: GYSDOfOHulScZbe52bpqXy4UtIyqE2FeR/lKRHQ30WhAIMZ0/LuyqGNCBgy8oZjKyV2N2uPA4E7TJ6B/Lp/c4d1AdRijG+goDiro/gIbImhqhxUB7FZtDQWHjO5kjeiRAI1NUKB/UI6rgElm5ku2xvwoBLyjFBU8HxogjrUV16hPq95+pw48+XmrIQxvysB4iW7VB9hJJubOeiulR9SvOY4rkARzU9+Tg6IstYn/EFKmqrTyqPQGpMFZ+9WH3zwMcqnWudSHgwJqAdE+65pQXXAglu//I7h60FrTCZp7Bsro9YCum60Rs6+/9GjGkon4TNr4F+QjQRTLOduXGps9Jwoe2LEZo11y/TJtT44YBRDCFsS8rmAw8eFQ6IkJzdYFegFmJi9bYnYm4Dp96x23g3o/oY/+s0jcYmCKkvQkKj8lmVXcdSvqbEpqMbmrrd8TGApOvngOVytHznBHhwlqOF1fNZQED7CTUo/jlGbOGqY0TCwg81KBiNFtSIiaB0c3YHSjheih3IFin+x9GEfVPcJzDeAJfPFh+QInjqvkAsqZABc1ptkK8FKj7+wCiRiaBHBgkQsTqE7+2ftQX9x9Qy1gQqOehs1x8brPF25C6vnbFTz5ErT4NRIv5zEj5XFcUX3XMHnK37oHEk+K5ewbQw== 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)(376002)(136003)(39860400002)(366004)(396003)(346002)(451199015)(66946007)(66476007)(6916009)(66556008)(4326008)(8676002)(316002)(54906003)(2906002)(5660300002)(26005)(8936002)(41300700001)(450100002)(36756003)(83380400001)(6486002)(6666004)(478600001)(6506007)(1076003)(38100700002)(2616005)(6512007)(186003)(86362001); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?7wUBAE2Z2ApNflA6vPwWZYQLzuPnssOqDGEvB80gY4TWmHi4QEA4XmkG+c4C?= =?us-ascii?Q?ptHiCUpAYogRAEerJc943r/TO73GJJd8zhwTypWlwVkKfFAe3VJuhcAYgNUJ?= =?us-ascii?Q?WaBb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ajN+V5o7aJwj30/fuN?= =?us-ascii?Q?sAJ1+ldE/6DANbfzaMgTvV2wgbSJwye+0Vi6iLHj5Bn37//ezs2yrWzHVovN?= =?us-ascii?Q?uwMmdfVOuMkrvfUoMVI4cnrzaboURT4/wg0XDmd6tgcXsLy+ETWLo+ujhGKI?= =?us-ascii?Q?VUqW4ezG9/cw47dro9oBlblGICiabNpsX9m3+VuMzRlaF6BW4jM6xTyK5s7H?= =?us-ascii?Q?vbQu+WQlGgXtfc3+zOAR6b+jwREu4rGAeO9vhEKP25FTaQq37E+Ut8EXauFe?= =?us-ascii?Q?8JIugQAgIhbcHR0K8zfk7yzEighzgX85cbLb9lt9xswUyqmcKxRnjOL5D8tr?= =?us-ascii?Q?Ka6qj2+sLE4rtEaz0B//H38vP0T8Z4hMRj9/IM5aJzdvoTn3ilsA1mYXHUtk?= =?us-ascii?Q?Xh6PbcjxDW0gAbBvzk+cx76HgSiJWwdSbrMIa+foPRa4xZms/ZzsWA+6hRcK?= =?us-ascii?Q?36uHEpNzDCQvlGCNUl+qf8mSl8JLPYyVfryyYdzgWWSzb9Ty9U/5r9v8CcXe?= =?us-ascii?Q?8kcYXhS8YMHVY+RGj0USMHEzqDf6Apx5Y+EyJxj4jlIiFzDBL2NPaJylcEzl?= =?us-ascii?Q?2B/7DHoW0rcyqNQfcW9b1UUiedC5XfzLlJj+D6Em?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: a6e98768-a8d0-4de2-3c80-08daf4201965 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:06:33.0729 (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: JrPGhaPmZIu7ZpyTUkerltLkmR3RtpsqR33Cv8VK4JGAmvbl7JOrsPMuZcWy9EaQOP3NF76BoO+hHT6RcuN8qA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8551 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1673474867006100003 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 248abad87d..ef542c1332 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -437,9 +437,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 @@ -764,6 +761,9 @@ Requires: lzop Requires: xz Requires: systemd-container Requires: swtpm-tools + %if %{with_numad} +Requires: numad + %endif %if (0%{?fedora} >=3D 36) || (0%{?rhel} >=3D 9) Recommends: passt %endif @@ -784,6 +784,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 05:05:02 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=1673474908; cv=none; d=zohomail.com; s=zohoarc; b=n1mph/3Sx4ZqofhKrMvd7zYfxeQYlesWOoXxtdie4neyMjTxfFXyAsHzFM7N0yIA59KEGlxoBhcHy0Fx86yFlywQ8c2sMT321XusJez+p3nmii3cgowapSRsCD+DaciH3JGXqAiStdxFVwD0f/QDC07/3FNDLneL+2Y21vkwDfU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673474908; 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=TyvS+bBViQcgBjOAbXzXyvVcMihN63FAQ6VuvRtpVls=; b=HzG+aFTiWimh/EeNhjgxA+Cgj3JZla+0iqOdn1vZr9emodCRQK1iqYR5TRF5TeQ8OSdSmjPnWsa0/jy3eVL6oUBjG8lJuSdQjRS2KeQFZpoqhM47+oXSd5Ijk8vgpGzkESbP9+RDYeSa5bkjzit8x4IFh6ZeartN9dkZZ/E3zzc= 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 1673474908608489.4201117049015; Wed, 11 Jan 2023 14:08:28 -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-645-2cnz9YdhMhOihrazgrm-Qg-1; Wed, 11 Jan 2023 17:08:23 -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 44EB1100F905; Wed, 11 Jan 2023 22:08:20 +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 28C2A44037; Wed, 11 Jan 2023 22:08:20 +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 EEDBF1947046; Wed, 11 Jan 2023 22:08:19 +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 D4E5A19465A3 for ; Wed, 11 Jan 2023 22:06:42 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id C720E492C1B; Wed, 11 Jan 2023 22:06:42 +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 BF52B492C14 for ; Wed, 11 Jan 2023 22:06:42 +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 9FC0785C06A for ; Wed, 11 Jan 2023 22:06:42 +0000 (UTC) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2081.outbound.protection.outlook.com [40.107.8.81]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-19-noe8Jkm0NuKBGG9lOsp-YQ-2; Wed, 11 Jan 2023 17:06:38 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by DU2PR04MB8551.eurprd04.prod.outlook.com (2603:10a6:10:2d6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:06:36 +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.6002.012; Wed, 11 Jan 2023 22:06:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673474907; 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=TyvS+bBViQcgBjOAbXzXyvVcMihN63FAQ6VuvRtpVls=; b=ERmamkMFzLphEUfwrXF3gi4UsQ7VJFqdN/O/vJ4GrhCmnpAH8Iuq3/bD8190yy/RyAwnia WJTS/c2pvwmXmIoKmWgp9ugTO9ZCQZ1a1ZG5F4vB6gSV/4xyE9n1rZzyIlqZQwSIiGjr1O ESyKRiFseCDAopfIEWTcBX7sNd4/ZIk= X-MC-Unique: 2cnz9YdhMhOihrazgrm-Qg-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: noe8Jkm0NuKBGG9lOsp-YQ-2 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V8 09/13] spec: Remove libvirt-daemon dependency from secondary drivers Date: Wed, 11 Jan 2023 15:05:56 -0700 Message-ID: <20230111220600.29680-10-jfehlig@suse.com> In-Reply-To: <20230111220600.29680-1-jfehlig@suse.com> References: <20230111220600.29680-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0092.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::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_|DU2PR04MB8551:EE_ X-MS-Office365-Filtering-Correlation-Id: 73f3d12e-ee93-4156-40e3-08daf4201b7b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: Yv5RHAfUbgt9HmkSoxRmDwbDPzIi+mAwtpo2tZ4QEH0V0RCwoy8jJUHE+fmnPExxigBy5ilS4aOo2ryJ1E3JlWySLPBlleuVKnKY+lSDfzKL2l15tYbPZWjOAR/T+iOWXr/ubt1xGMf3kqlCgWgFG94n7Mw1MXkwVIdZCJFXfpChxPueOArHaIK1ksysVF7/x5IgvaEBypuDy5ki+BTQZ9wawyotQTDyOljiE8IO2usffBexXkhQWkMNG6mWnOo1/FmEqxnJ5eUkbzJejsxPHXF2vmtwEakS3NcIwYFblWLqY/A+x9DmVzxXxepUyYmGcBxAZtKH7K0ggolXhVfPiW5Jfopo/RPIbey41lTOpyJaWY9d11ZhoiiPwMY7eKE7p26N80e+nF8NzAmYnbzAGHdpjKqfcEpyBfYKn8w/xK2mYb5Zn2QGGheGh3HckUKAJvCquuBtDXetN1V4Q8h+kwgM291m0j2decliJY54K92sIxR/H1kAqx9galwhedybXLWlLBSD1bg+jhGmrmiyzIHH9mtdvlaLStt/TA0WY0TXFTPGi4yr5HtCxrfLZATYP4OLtWZOZAX3908laoSmU5QL68i16fgHS8diEJnZlFHl1V9VbXcGCnseO5ZivkVM2m0U+3rfjH/ZIkFX8KlPIg== 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)(376002)(136003)(39860400002)(366004)(396003)(346002)(451199015)(66946007)(66476007)(6916009)(66556008)(4326008)(8676002)(316002)(54906003)(2906002)(5660300002)(26005)(8936002)(41300700001)(450100002)(36756003)(83380400001)(6486002)(6666004)(478600001)(6506007)(1076003)(38100700002)(2616005)(6512007)(186003)(86362001); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?oWBQbWDZ0s598eRGFhU/w9soiCn0vrgHL1u3Z3ia4ZjV+8xfKsgrUHmVWc5l?= =?us-ascii?Q?uk8cFT8gAORPwPV8akgb4scHvdc/gVXPdO6BsklM8zQp9ta9jHt4Q3TiOG/m?= =?us-ascii?Q?/yimfS0I/s8NW7VwpVWwhIf2gg4J6/Vi4EO4wdxd+8eMuC2Tnv7tfQN5G38K?= =?us-ascii?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xbWfuxJWvXu5/tkO9SDB?= =?us-ascii?Q?yVbZvspCttw/vZRV6Uv05eFtBdoVhisKoNgtpDmVQclc1Ayv9bO0OxIxGj74?= =?us-ascii?Q?0+Kb21gSFjpNckVCS6doyEHwOe1pPAfm8RjURGauHE1wxlSviv5GwGbXvYpk?= =?us-ascii?Q?Iumn8Dx9C+MDKqfdRiQMbFrlS1R9XDVttxMOba3WroUmsQ/8O9Wc7hR4nBgj?= =?us-ascii?Q?fp16J/hk3ORbr4XowAF20BgV/uVWvBmb6zQMn7X3CLtXcbefwT2NLcmRFLes?= =?us-ascii?Q?Qb+T8oRhRBbC5eHr2LOLaTttfG0Hp/agT8m/K+U4y20w0grEZacMG8ehIBAC?= =?us-ascii?Q?E9FJ9fQnnHuB62zRoLL3X00Np80CugI9/XXpS/sltPnRIC/0XEnFSx9SeahN?= =?us-ascii?Q?wcTq9PnVgNFwAqi8oNQAM0pVI1audgzPRn/ShJTtP8RqzsvCoj7zvrTxKfFT?= =?us-ascii?Q?eoNSFLerbupOxmUYf7XGD6x+xPZxLc0EP7mxdhdTpgGfoq/v4QvFrl+rrt4/?= =?us-ascii?Q?QjdWlD41rElk3g9Hca/gvjps2rYuOdDYbu83FbSl?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 73f3d12e-ee93-4156-40e3-08daf4201b7b X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:06:36.5727 (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: ckwwCeKYl2WEgVetiKeFbe49QZ0OjTcxlieSKC7sXRo9tXZPS4s67yMuT9FeKq3xDERExhrHJmXnsRrrYM1S3Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8551 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1673474909204100003 Content-Type: text/plain; charset="utf-8" To avoid needlessly installing the monolithic daemon, replace the libvirt-daemon dependency with libvirt-daemon-common in the secondary drivers. The common subpackage contains all the utilities and files needed by the secondary drivers. Signed-off-by: Jim Fehlig Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Andrea Bolognani --- I left the R-B since the remaining content in this patch did not change. libvirt.spec.in | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index ef542c1332..4c39555ca9 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -522,7 +522,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 @@ -531,7 +530,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 @@ -539,7 +537,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 @@ -551,7 +549,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 @@ -563,7 +561,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 @@ -579,7 +577,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 @@ -591,7 +589,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 @@ -600,7 +598,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 --=20 2.38.1 From nobody Sat May 18 05:05:02 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=1673474926; cv=none; d=zohomail.com; s=zohoarc; b=GfBNhmPfd2kk/a0mqxkm3DCRTaBHa4/98EIDHsS1MOkC5CONEwgpxTPCQXUxfg/uYDjT0v//jQtOWQgAHnMYN0uEe3mCXSN67rwsFMrCPopeJJC53b1zr4tVKGfFeeF4/Am6Fp2aTIE0PrULIzxxKvboXgQf9iU1BgNqpY92Q2M= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673474926; 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=tudt4eNOXu6N7h7BBGevbyntG2X2VID3Z/j5OfmzV7M=; b=WiDBQrcWrZ6LRHeTnOVmgp8qYOsJXYWelKW9A3FtyqtQfA7YljYVDn2VYlDUu9yH0pXIKd7N6KfNSoSxXJpPF15L1h7VcrJjt+AhhwgNtPL83MaL7uag1jUAeXWnWGWql3ve4q/iYYKUZ4Baq5D0RHLgif0TWbyO1awlfA8GOKk= 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 1673474926824451.7716351809471; Wed, 11 Jan 2023 14:08: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-675-Yo7brZlnNaS1QhrNDffB_w-1; Wed, 11 Jan 2023 17:08:44 -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 B38B585C064; Wed, 11 Jan 2023 22:08: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 99FAAC158BB; Wed, 11 Jan 2023 22:08: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 6BC791946A71; Wed, 11 Jan 2023 22:08: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 44ED619465A3 for ; Wed, 11 Jan 2023 22:06:44 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 2AC36C158BB; Wed, 11 Jan 2023 22:06:44 +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 22986C15BA0 for ; Wed, 11 Jan 2023 22:06:44 +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 04FE3101A52E for ; Wed, 11 Jan 2023 22:06:44 +0000 (UTC) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2070.outbound.protection.outlook.com [40.107.8.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-314-Mucvk3wrNe2TFBM-lgPdVg-1; Wed, 11 Jan 2023 17:06:41 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by DU2PR04MB8551.eurprd04.prod.outlook.com (2603:10a6:10:2d6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:06:40 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.6002.012; Wed, 11 Jan 2023 22:06:39 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673474925; 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=tudt4eNOXu6N7h7BBGevbyntG2X2VID3Z/j5OfmzV7M=; b=LALOA378L4+rB43NqygVq5xEiY4Yb/jngkWX+v/vwyUOoD5w6Nu66HFxv4qhximpvF/sUj /Yzs4UpcOKS3/U3d/+nyKz+vzFrycplIUOXz8/TVkoWLApA5iTe6dfWgVmZBMntVAEzxcD HJsDfjhROY7xdgKIcKoRleNd8e4izgM= X-MC-Unique: Yo7brZlnNaS1QhrNDffB_w-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: Mucvk3wrNe2TFBM-lgPdVg-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V8 10/13] spec: Remove libvirt-daemon dependency from primary drivers Date: Wed, 11 Jan 2023 15:05:57 -0700 Message-ID: <20230111220600.29680-11-jfehlig@suse.com> In-Reply-To: <20230111220600.29680-1-jfehlig@suse.com> References: <20230111220600.29680-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0100.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::6) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|DU2PR04MB8551:EE_ X-MS-Office365-Filtering-Correlation-Id: dc9620d0-04c2-42c1-474f-08daf4201d72 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: d0hlJ2/6dBrFJd5k5A9zs7ega+HbnOVDLU2A33NmrvZl3dubDE0EdB35+eyoDR4r1FYylvQVuN5qsCDZYLRwWa0LfiYheRWPNGaTpNec+L6GG4/K8b8FGhgf2zsahyU5IMBeKgKy3O5tJDWD4M8KlTP8OQmEr2nuFSHlK4+7LXVYFNAN0YAW/yxssMZu4KJR0pQrJyS+Hut0OKq9DwxtBLSso5ZLYBGvUWV7BxBrmURd7DLk0bWvnO6JaoD1Cklof+UGEEHCPYITI+4BWKL5Xgglg1YloSA26zV2coZp2/avsL+Jr+W92ch0EeajlPMmIrH0dc9wb/ZD28riG6x16k+1od1vtFH6//OmbrQ8xHzZH500WhHxtXGEeQsl0TNP1nLL8tzqdmt81e25VVpp3BcQqmMDg+Pa1It27Uyl6oZzbTvMMRWyIQUo1DaAhO0GxKwYwDkx6pl0b90yMjeBdjY/x58qpmk5wgD+hpO8Rz3QlfAL3PV7SX3qc6SuNJT/PfiS+2YNtZK7R8a3cbtxKaz8ksm1x+3P2x3aCkr979tyactbyftBBYqf1eJFZzQO74tGoY8BkbP+GlJ7UWOcckNYEC9EqGK8YB2bnPan6HsGijQ+K/dawPOOgtU16u1WDS4LtubHdzZM2WATZgZuNg== 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)(376002)(136003)(39860400002)(366004)(396003)(346002)(451199015)(66946007)(66476007)(6916009)(66556008)(8676002)(316002)(2906002)(5660300002)(26005)(8936002)(41300700001)(36756003)(83380400001)(6486002)(6666004)(478600001)(6506007)(1076003)(38100700002)(2616005)(6512007)(186003)(86362001); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?Qj8JRfJwRLF62y+ZFDBUlbnDYUGkQcJZHPTMXDLdma+vZp6CptURIasck0Z4?= =?us-ascii?Q?aipr2/4queAwqxiF6oRHgKpmDaxVEDkStVd2ylhclMQEzwfsvETKLYKGinT0?= =?us-ascii?Q?/3Z655/03oufoUwDDARLvok3tp/TkVUvFz/iu3OGneUqZ4EgkfQzrDppkO/D?= =?us-ascii?Q?3bHmMiY/EepzeXcSLUkSkBLwOWkXmgkR1f5jR4ebai+Yr7gdVnCnGT27G84O?= =?us-ascii?Q?oVt8lKsdI46HSPgWN+WqklvlAd63issys70953RSCaC78qxt9ug4aoQR8EYk?= =?us-ascii?Q?ZutZSMSauYrG1Da6CVLl9zghLuC4V5fUdCsipIxhfoy93ItBjghbZasBZHM3?= =?us-ascii?Q?QwpqVjQo+iwVIJuRRKHjpEV5yckcVLa05DrHaENGdRmT6cHsMukda2n0ISI+?= =?us-ascii?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9kiWysIpyp6kX?= =?us-ascii?Q?6kK6GK90MFGEOnLjy17RwZbIrt9rKntjEfJBREBu3hkK3pn4uGVKfOT+T2da?= =?us-ascii?Q?YDaifo/6n6eM7ppGVQ/JSkWNSQ2QDz2Gyy8/mNQoH9EXs28ARnyBCT1D/WX8?= =?us-ascii?Q?z6PDwxLUYrhN4ups8I1kg1yMeRI/M0QhJeMep2QVFgLWerpDljIo8ceKXcAu?= =?us-ascii?Q?SXTktzLSrp+9dcA5IHIRSbRJKZA/4yQTTdtAXV55i9CDQ1wJ9OQGVq7GXQCr?= =?us-ascii?Q?NPqbUfxk49Ok9W8JTLk0ksTxN5sEwrDydsEhqw8B?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: dc9620d0-04c2-42c1-474f-08daf4201d72 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:06:39.8537 (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: OWKnIcz1mQPNoyBJRagHd4vahdelFL7WLdpPQzoPiHhrDkBxwjVjkG+8DBn7Ho9Oyb6yjx6akH8+6NL+GfML5w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8551 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.8 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1673474927276100001 Content-Type: text/plain; charset="utf-8" To avoid needlessly installing the monolithic daemon, replace the libvirt-daemon dependency with libvirt-daemon-common in the primary drivers. The qemu and libxl drivers need additional adjustment to break the dependency on libvirt-daemon. The virtqemud systemd service file has a hard dependency on virtlogd, hence libvirt-daemon-driver-qemu must depend on libvirt-daemon-log. The systemd service files of both drivers currently have a 'Requires' dependency on virtlockd, which is too strong since virtlockd is not enabled by default in either driver. Change the dependency to a 'Wants' to avoid a pacakge dependency between libvirt-daemon-driver-{libxl,qemu} and libvirt-daemon-lock. Signed-off-by: Jim Fehlig --- libvirt.spec.in | 10 ++++++---- src/libxl/virtxend.service.in | 2 +- src/qemu/virtqemud.service.in | 2 +- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 4c39555ca9..fb318ad599 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -749,7 +749,8 @@ 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-daemon-log =3D %{version}-%{release} Requires: libvirt-libs =3D %{version}-%{release} Requires: /usr/bin/qemu-img # For image compression @@ -775,7 +776,8 @@ 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-daemon-log =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} @@ -795,7 +797,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 @@ -807,7 +809,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 diff --git a/src/libxl/virtxend.service.in b/src/libxl/virtxend.service.in index 6b083c414f..9171d4fdf8 100644 --- a/src/libxl/virtxend.service.in +++ b/src/libxl/virtxend.service.in @@ -1,10 +1,10 @@ [Unit] Description=3DVirtualization xen daemon Conflicts=3Dlibvirtd.service -Requires=3Dvirtlockd.socket Requires=3Dvirtxend.socket Requires=3Dvirtxend-ro.socket Requires=3Dvirtxend-admin.socket +Wants=3Dvirtlockd.socket After=3Dnetwork.target After=3Ddbus.service After=3Dapparmor.service diff --git a/src/qemu/virtqemud.service.in b/src/qemu/virtqemud.service.in index 9ae3f01fa0..315359e287 100644 --- a/src/qemu/virtqemud.service.in +++ b/src/qemu/virtqemud.service.in @@ -2,10 +2,10 @@ Description=3DVirtualization qemu daemon Conflicts=3Dlibvirtd.service Requires=3Dvirtlogd.socket -Requires=3Dvirtlockd.socket Requires=3Dvirtqemud.socket Requires=3Dvirtqemud-ro.socket Requires=3Dvirtqemud-admin.socket +Wants=3Dvirtlockd.socket Wants=3Dsystemd-machined.service After=3Dnetwork.target After=3Ddbus.service --=20 2.38.1 From nobody Sat May 18 05:05:02 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=1673474905; cv=none; d=zohomail.com; s=zohoarc; b=gydY7UmAKEcPPii39fIy9dyWrN2ttTnKLnOFkkmcYPGjp7LpLB4ytS8EO4pKGwlUN/Zzutog8xJPvl7GIzKKYGIpwCXwGtpnN4qBRUdx+5F5dw0zCXB1KdrIk7vZlDZkLMo2+yXSkZjuXH15+xvvn5dXMsGOK+TdlxWjBWkIwnQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673474905; 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=B+b9EmVgr9ktmc5tVGJLKuO6x5agrERrSsMo9jOs+0M=; b=NEfOMbD0uqCVoWuXNwbadFe4exnkn0BYYB5MiD9Fj+nhYOZCYYWWnlqLSY7ngE4luM5eYMWLL8sKQE4f2GY4CSfhTn3/B2lI03IRlAn+8HLBj2+5BErSavY6wUeNlGNow7GFVAGrLSN445JRqOAFaj1eHfBi+Y3UjEBmWv9fLwQ= 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 1673474905612863.4241330413764; Wed, 11 Jan 2023 14:08:25 -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-380-zsFo35l8OaC6cfSN9o3YJw-1; Wed, 11 Jan 2023 17:08:21 -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 5DCC6101A521; Wed, 11 Jan 2023 22:08:19 +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 454802026D68; Wed, 11 Jan 2023 22:08:19 +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 330211946A74; Wed, 11 Jan 2023 22:08:19 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.rdu2.redhat.com [10.11.54.1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 0E26F19465A3 for ; Wed, 11 Jan 2023 22:06:50 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id F0BAC40C2004; Wed, 11 Jan 2023 22:06: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 E952440C2064 for ; Wed, 11 Jan 2023 22:06:49 +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 CA1E085C064 for ; Wed, 11 Jan 2023 22:06:49 +0000 (UTC) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2077.outbound.protection.outlook.com [40.107.8.77]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-466-auT-ifgIOXqWczzVU-6O4Q-1; Wed, 11 Jan 2023 17:06:45 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by DU2PR04MB8551.eurprd04.prod.outlook.com (2603:10a6:10:2d6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:06:43 +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.6002.012; Wed, 11 Jan 2023 22:06:43 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673474904; 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=B+b9EmVgr9ktmc5tVGJLKuO6x5agrERrSsMo9jOs+0M=; b=d9DoaNg8WwLjXDlapo3tXqLS4cVu35CWlVF3vZcXi9dFiQIyPbUphC8rFjJtZHc7k3q1KT TFcc1uBT61AMTILamP5tjTrEmSvcOQvvzjeUwc4GkKGFHKSKzcJyMoEml1y0TvWTyiXXXa cn/yRVxCfkjiw9KsOLqM0q23CKUr+iI= X-MC-Unique: zsFo35l8OaC6cfSN9o3YJw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: auT-ifgIOXqWczzVU-6O4Q-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V8 11/13] spec: Remove libvirt-daemon dependency from hypervisor subpackages Date: Wed, 11 Jan 2023 15:05:58 -0700 Message-ID: <20230111220600.29680-12-jfehlig@suse.com> In-Reply-To: <20230111220600.29680-1-jfehlig@suse.com> References: <20230111220600.29680-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0100.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::6) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|DU2PR04MB8551:EE_ X-MS-Office365-Filtering-Correlation-Id: 769859bf-2945-4580-d6f3-08daf4201f72 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: cUPVrv0JBMq3SwpzawtKOaig0m1flfid0lKfbujw2J+PgIp+nNdeVXt2zQghFJk9JpMTfo2fqQ+x2r1/wNUHJZzhLXU9Z7CE9aULXSil5zQebbk6A19MPc12Gyqio6vw1971Rirh5FllzPYcXH2BRgdcNCr8WofaKM7QSWkr7MIe2BypwiTgy7TDsePIL6pmeHjM2eS8DvfjGf+uKZpDLsLPaGXS86BVnfLwNKndCgd6AQOMsxD9nwWvNI35FARZnuEpsZXWF4vrg9avvT4TOJPuldGf8IzvUq7mnqNyoWq7oId5v53gQo7OnG/NOPEjfCjC2ph4YkRZj/erNvDKQmGd4plHQXz0ijV+EkOB4DbKTm9NOLRs9d2bpQeKzAPprOEtHMMNrnJr4XFLm8+dc5R5J3kGFUbjBLbVBKLX5Hef/agKWPDLMLZT+Cvrci/F9w5hlc+iAe+9bDIbgOkALyPlRR5hria+uOBVteOXz5ru1FAg3+m2QwPzGdpVYNTrypKFCYLhBxud0jd8LN6uB+CsKbD6OIPGZniSW7njOl+kKRTV0Rdq3OFb0OU0X+pJSAcZtdoAX3JzEDcRJW/ZgCK78i4lBX/l4VvIPmMJqNu+2yNhxmaDQv3+ISwAFcKBxLzYnFjGrnWi7r4bBa7LqA== 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)(376002)(136003)(39860400002)(366004)(396003)(346002)(451199015)(66946007)(66476007)(6916009)(66556008)(4326008)(8676002)(316002)(2906002)(5660300002)(26005)(8936002)(41300700001)(450100002)(36756003)(83380400001)(6486002)(6666004)(478600001)(6506007)(1076003)(38100700002)(2616005)(6512007)(186003)(86362001); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?hHmCy2HsCBNDBwb+fncC1MoMUUGRBbdSBqeHv75XCHqg2Yhiu/o3dsqWZw4N?= =?us-ascii?Q?h94ZIXihxMgmwGyPWyO8h7jYJN4qfq9iV9ZkcBIwKqDU8f+HCFUpn5SRQzXJ?= =?us-ascii?Q?F7rVHFQEqLFKLXf/iT0lXNvw36+t/6GwEDGNgrc0FPMQuD9u/9zaKrNDmUvN?= =?us-ascii?Q?ps0PAI4+0igZObW9/yOTCWCkXmfER6Nl2Ay29SEgu5R6ZgRgtdonemrJ5Onq?= =?us-ascii?Q?T5dL1YVuiSYSPfjkC/q0Z0+Cpx/gUHObnjNr+kizpItxhk0Qlld0O58LgjE+?= =?us-ascii?Q?cjJsjBFLEUHOISlddMjpTAkzfORPr1w4GtKI28S0nvbe7AUQ2CoE8aW9Bc+W?= =?us-ascii?Q?Fy8UElI1u891Md3/IhHVx9eml5CCHzPRAAwSYbLWmBiVd3fUif44OuYAbaom?= =?us-ascii?Q?zgJn5U8rCmLoT3Zga9f3WWnOsMhmf78s4Rx9H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ii?Q?tRmPeN/km6AroCwMDo+vNDbEeiptNMSAqHbeF8Ui0U9jjPJILbV4gJRf9oIt?= =?us-ascii?Q?X4u/W6f0AxIJs6xML08zXnVicdYmlkG/FeLF8tSB0DMhitj7tIYAd3Pzo+KU?= =?us-ascii?Q?PrPPYxuGXVgGxsRIBojUO37DIgZulSCRl1pqg2vF2DKQWBuD7IQ9xvrBdwtL?= =?us-ascii?Q?Oe1+PR9UZzk9AsFNq04cpPCJkykE6zKUpTOZxvW0fEo6QZ5Am+ztJjJ6pV/x?= =?us-ascii?Q?2mp4CJkVUGwzSixh13QN+NhGkPIoTByqFElmENEF?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 769859bf-2945-4580-d6f3-08daf4201f72 X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:06:43.2284 (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: WNgXSx4dgff4sle8Ag/XXCqJi6x670RbBoDMvXtVR+6mkaDJ2OgS8Y7uJeJz7itQNI+m0ijA/12IcX+EB32PYA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8551 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 3.1 on 10.11.54.1 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrea Bolognani Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.4 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1673474907220100001 Content-Type: text/plain; charset="utf-8" Remove the libvirt-daemon dependency from the various libvirt-daemon- subpackages, replacing it with a set of the new sub subpackages providing similar functionality. When libvirt is build with modular daemons, the hypervisor subpackages no longer include the traditional, monolithic libvirt daemon. Signed-off-by: Jim Fehlig Reviewed-by: Andrea Bolognani --- libvirt.spec.in | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index fb318ad599..06d4b3e9f3 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -823,7 +823,15 @@ Libxl %package daemon-qemu Summary: Server side daemon & driver required to run QEMU guests =20 + %if %{with_modular_daemons} +Requires: libvirt-daemon-common =3D %{version}-%{release} +Requires: libvirt-daemon-log =3D %{version}-%{release} +Requires: libvirt-daemon-lock =3D %{version}-%{release} +Requires: libvirt-daemon-plugin-lockd =3D %{version}-%{release} +Requires: libvirt-daemon-proxy =3D %{version}-%{release} + %else Requires: libvirt-daemon =3D %{version}-%{release} + %endif Requires: libvirt-daemon-driver-qemu =3D %{version}-%{release} Requires: libvirt-daemon-driver-interface =3D %{version}-%{release} Requires: libvirt-daemon-driver-network =3D %{version}-%{release} @@ -842,7 +850,15 @@ capabilities of the QEMU TCG emulators %package daemon-kvm Summary: Server side daemon & driver required to run KVM guests =20 + %if %{with_modular_daemons} +Requires: libvirt-daemon-common =3D %{version}-%{release} +Requires: libvirt-daemon-log =3D %{version}-%{release} +Requires: libvirt-daemon-lock =3D %{version}-%{release} +Requires: libvirt-daemon-plugin-lockd =3D %{version}-%{release} +Requires: libvirt-daemon-proxy =3D %{version}-%{release} + %else Requires: libvirt-daemon =3D %{version}-%{release} + %endif Requires: libvirt-daemon-driver-qemu =3D %{version}-%{release} Requires: libvirt-daemon-driver-interface =3D %{version}-%{release} Requires: libvirt-daemon-driver-network =3D %{version}-%{release} @@ -861,7 +877,12 @@ capabilities of the KVM hypervisor %package daemon-lxc Summary: Server side daemon & driver required to run LXC guests =20 + %if %{with_modular_daemons} +Requires: libvirt-daemon-common =3D %{version}-%{release} +Requires: libvirt-daemon-proxy =3D %{version}-%{release} + %else Requires: libvirt-daemon =3D %{version}-%{release} + %endif Requires: libvirt-daemon-driver-lxc =3D %{version}-%{release} Requires: libvirt-daemon-driver-interface =3D %{version}-%{release} Requires: libvirt-daemon-driver-network =3D %{version}-%{release} @@ -879,7 +900,14 @@ capabilities of LXC %package daemon-xen Summary: Server side daemon & driver required to run XEN guests =20 + %if %{with_modular_daemons} +Requires: libvirt-daemon-common =3D %{version}-%{release} +Requires: libvirt-daemon-lock =3D %{version}-%{release} +Requires: libvirt-daemon-plugin-lockd =3D %{version}-%{release} +Requires: libvirt-daemon-proxy =3D %{version}-%{release} + %else Requires: libvirt-daemon =3D %{version}-%{release} + %endif Requires: libvirt-daemon-driver-libxl =3D %{version}-%{release} Requires: libvirt-daemon-driver-interface =3D %{version}-%{release} Requires: libvirt-daemon-driver-network =3D %{version}-%{release} @@ -898,7 +926,12 @@ capabilities of XEN %package daemon-vbox Summary: Server side daemon & driver required to run VirtualBox guests =20 + %if %{with_modular_daemons} +Requires: libvirt-daemon-common =3D %{version}-%{release} +Requires: libvirt-daemon-proxy =3D %{version}-%{release} + %else Requires: libvirt-daemon =3D %{version}-%{release} + %endif Requires: libvirt-daemon-driver-vbox =3D %{version}-%{release} Requires: libvirt-daemon-driver-interface =3D %{version}-%{release} Requires: libvirt-daemon-driver-network =3D %{version}-%{release} --=20 2.38.1 From nobody Sat May 18 05:05:02 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=1673474937; cv=none; d=zohomail.com; s=zohoarc; b=i5hBwqmRzF3tuCrQ92HTRF110of72il6swRnYG+cU75lOfGS0bGWBuoSJBjugu52cB4j7CdUM1oRP8OOJmft5S6cB7uH9b60iRd4OuFlsRmZWbd3mWjUojoqhs3m1/BgcX59aKG5KRdWVjge3h+3Mg9Mg+do5j6oofoVJK08+/Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673474937; 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=aN+Xl5DWRFBrJJJizYnst1kZZ6tE+0xQO0SrOvoppJDuE74YKi6bGYDImO0Hq6fZq9eTSFTIivrYA44nopEAE/KjK97Xk6X7MjUqhQkspPgxUWD8O2NlqjcvLuGWJ7tjnU9m0Y2S6Ajg8h/xM/VZLTG6/OrcuYx/TprW32GW3vw= 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 1673474937615154.80324131444866; Wed, 11 Jan 2023 14:08:57 -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-X4EBF6vbMSKyO88QnS5THQ-1; Wed, 11 Jan 2023 17:08:55 -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 04F0A3C0D181; Wed, 11 Jan 2023 22:08: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 E13062026D76; Wed, 11 Jan 2023 22:08: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 AEF881946A72; Wed, 11 Jan 2023 22:08:52 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id CAD1C19465A3 for ; Wed, 11 Jan 2023 22:06:50 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id BC67D43FB8; Wed, 11 Jan 2023 22:06:50 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B372E422FE for ; Wed, 11 Jan 2023 22:06:50 +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 8FD3E857F41 for ; Wed, 11 Jan 2023 22:06:50 +0000 (UTC) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2079.outbound.protection.outlook.com [40.107.8.79]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-536--AYqsNtaMretr1mjchgLUw-1; Wed, 11 Jan 2023 17:06:49 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by DU2PR04MB8551.eurprd04.prod.outlook.com (2603:10a6:10:2d6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:06:46 +0000 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f]) by AM0PR04MB4899.eurprd04.prod.outlook.com ([fe80::c5dc:fe50:9918:744f%3]) with mapi id 15.20.6002.012; Wed, 11 Jan 2023 22:06:46 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673474936; 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=a4bMt2aih94sNYdnvjZsBLW5wDfCsepWHt4b1Tx72kRtcLsm03ONO6Tg4HOsSNh19SAGpR Fh81kCIm8k5w+7jboJggNOXkBa4tf3HARpUemMaejPPROQWaZCAT6ZTBU0zaF5U9j8aLiS H8uAlezrYEBq8jEdxEZkflNaDGlwHUU= X-MC-Unique: X4EBF6vbMSKyO88QnS5THQ-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: -AYqsNtaMretr1mjchgLUw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V8 12/13] kbase: Update rpm-deployment.rst with new subpackages Date: Wed, 11 Jan 2023 15:05:59 -0700 Message-ID: <20230111220600.29680-13-jfehlig@suse.com> In-Reply-To: <20230111220600.29680-1-jfehlig@suse.com> References: <20230111220600.29680-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0103.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a9::16) To AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM0PR04MB4899:EE_|DU2PR04MB8551:EE_ X-MS-Office365-Filtering-Correlation-Id: 5300fccf-37ca-46b8-3da6-08daf420218b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: HhZ09iNQQaTu3bZUxY3zeFXYPsknB6fJZkBrjb8JAmwkYf+xQiU0hEYO58e65pr3n4+kv0VO3HS1W1e7VZDjpbWx8To17d2RwMk44F2dEZlEzJ0VHmiUmJPulbo8mLk80/dkL1yAKv5Gun9Vgd2CgxsI1tehjJlCubENNeZ01vAHsikCWTHMHRqCx6dyt9DoDFBS9J9Ik0wtj0hkHq21pbkOOSwHbnOgQ3Cl4njFGXIKC3SjuL2DOF5O6YJFbHpprMntw//8MynUctKmpAeqxof6Ff2+OQhPSdVfjSaUupb3iwxbpgNvWM3iPMtAQMWGfx+yUjYIfqWvS34CaXiCQAwcqkIDG/h9nOY1AlIU05dlmYxGGCF3i+tG7+iTV57X8iAtpfuJvuk7JL4T7yJk5FgxL/IkJzK8MMfj+RqJ0lhlYGRRHUt4HKAvRObu5Zo+0Rea3VOAiFAddDrPduolV0s9STj+vg2Jv8s+XV4OfxK+wzyK/UC7Bw0x3oO1GL1q0NPXl7OJO3+2yu5hiywt1HXlQVaY+2195nj3LXbNOP/sWDksjsCEsahkEaY3CxflTRqnms9jpGnx1NQOnXvZ8bugMwcjxeEmYZhmCXvirLYAIIgeF0NjN9vpdWIanfh4xSB2epmaDNxNaoc9bEMqSJhHj58+14us5AIQpF83MyO/1PzPACI329oryexTE+yB 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)(376002)(136003)(39860400002)(366004)(396003)(346002)(451199015)(66946007)(66476007)(6916009)(66556008)(4326008)(8676002)(316002)(15650500001)(2906002)(5660300002)(26005)(8936002)(41300700001)(450100002)(36756003)(83380400001)(6486002)(6666004)(478600001)(6506007)(1076003)(38100700002)(2616005)(6512007)(186003)(86362001)(21314003); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?DRAaZec1k4l8xHYzf3qANPUmTUu5BPauoUPxjPCq1XI/eRR6hkiGat8ojFJC?= =?us-ascii?Q?kFXmT5JWwUY/Di6UN3fA7xh+53enR3WHVLbPCjymXbFNV8m2WCKocOzuIEcD?= =?us-ascii?Q?/4xeVjpOgYHk6be2Xlg3M9HUMcmD2Ulq1O2q1WMFFweVYNNkKE0/zx8T3gHJ?= =?us-ascii?Q?b3VSMoYphmoV6d1HQ8wQ+RGhFgeH3PrOuR3gnrxaYxdz10XLc/RjW2gqSSex?= =?us-ascii?Q?54kmWW+HAo9gIJe/zaso+3hJJMh5bO4hZXCQoYn2dVD0rtCjgGzhCmZ/xdko?= =?us-ascii?Q?1IR4VE8VCHkJPkRcPtuXc5DH0LpQBoVdgNFh2Ogu+vdFqBdGwGhbfM0Wel/g?= =?us-ascii?Q?fv27A5M0drMpLZhr9M5OSKlxVGkoKESZ9S598JUN/tJsR7lKfXcOI6BHhR9Y?= =?us-ascii?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?= =?us-ascii?Q?F23N1qbK99gVNM4HG3jZOc/GQFKOQu952PhAMUMBEucDsYuPTWcgame2eN2n?= =?us-ascii?Q?X3/2tgDUXVMibw3oFsi0XHQiX4t6mBjZsJ5q7mwgVTQNkNkcGTcj3p/Gm4h+?= =?us-ascii?Q?Jf7RGY1ftRYqo062e+TWkIyhRXecGWRZV4CRBP4kIQ2RVYonNahkHwR12ZkQ?= =?us-ascii?Q?8M+TC41ag/oinVh8DdUstsQgvk0jEv+Szq6TIqzselgRACoj0xde/Ki2d7Ib?= =?us-ascii?Q?U6/PAkXVdVi7r3dhQWdKguYNzUoLDDVxwBwgR/w5?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5300fccf-37ca-46b8-3da6-08daf420218b X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:06:46.8063 (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: J7k9He21I3cVWqHhE+rRGLw9OoYbk4atuCyRB3DuZBwsOV3fI5BPp41ipkdmp92RtTxKia/IPTOxfgGFgGcgzw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8551 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.5 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: 1673474939359100001 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 05:05:02 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=1673474863; cv=none; d=zohomail.com; s=zohoarc; b=fZOswQC9EZW/HRJ87j3Mt+bHxiCSxbVOHGcZoZBTBqa7TawP6gjR5Bw+VXXEeWbabaiMAW4pxtntO1lYpjDBY76mo0opaeiMD4sOiCgIqhqdHAJT8i6/EUyCHOoYAM1NbTaxF3Z7AZqwlnbVasnGlpaIXoQf5v1dAt8l78tHF34= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1673474863; 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=kpWDPfWyfOk8mZDEzm+q/+fT1ujguvCFx7n8TckWOyw=; b=Rryp71VGfm5VrDkY5gKowXGuirpWO4PBj/dE4//RzpEirMsGUFCiWBcDiM9ir+83GYXXBDDF+yJP05LESq8iUwP9vAw2KrKXe4pSD6ugEjlniwiNkTWBh03V3MAyzUzuY4VnfyIjMecxl2Quj5hZEe/FuYTUlZAIThlo9yoZSok= 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 1673474863036851.5021758653926; Wed, 11 Jan 2023 14:07:43 -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-385-abI59IEwOCiF1Xqcy1X8nw-1; Wed, 11 Jan 2023 17:07:35 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 958FC85C064; Wed, 11 Jan 2023 22:07:32 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7CEA02166B26; Wed, 11 Jan 2023 22:07:32 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 4CC6E1946A6E; Wed, 11 Jan 2023 22:07:32 +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 0904E19465A3 for ; Wed, 11 Jan 2023 22:06:56 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id F1D89C16031; Wed, 11 Jan 2023 22:06:55 +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 EA3D9C15BA0 for ; Wed, 11 Jan 2023 22:06:55 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id CFFF429AA383 for ; Wed, 11 Jan 2023 22:06:55 +0000 (UTC) Received: from EUR04-VI1-obe.outbound.protection.outlook.com (mail-vi1eur04on2040.outbound.protection.outlook.com [40.107.8.40]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-636-9NKEM8zhOhSIoRDnabqtRw-1; Wed, 11 Jan 2023 17:06:52 -0500 Received: from AM0PR04MB4899.eurprd04.prod.outlook.com (2603:10a6:208:c5::16) by DU2PR04MB8551.eurprd04.prod.outlook.com (2603:10a6:10:2d6::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5986.18; Wed, 11 Jan 2023 22:06:50 +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.6002.012; Wed, 11 Jan 2023 22:06:50 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1673474862; 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=kpWDPfWyfOk8mZDEzm+q/+fT1ujguvCFx7n8TckWOyw=; b=Z5osLHwx3jOz5TDCArkzbPvKYdSgvomrYwn915uPzYzi7yR+sHP+GGHG3btITE/J6QbueF cEKDALUI/7xIiIEiA9q5jGn2EAGK8/+T3MZiMKJMNA9qHNGz4YNbj6+Y2ZRRO0PQhm+QjZ yWC/Mb0urQbaOfM0+/605UCLzelFPwI= X-MC-Unique: abI59IEwOCiF1Xqcy1X8nw-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: 9NKEM8zhOhSIoRDnabqtRw-1 From: Jim Fehlig To: libvir-list@redhat.com Subject: [PATCH V8 13/13] NEWS: Mention split of libvirt-daemon subpackage Date: Wed, 11 Jan 2023 15:06:00 -0700 Message-ID: <20230111220600.29680-14-jfehlig@suse.com> In-Reply-To: <20230111220600.29680-1-jfehlig@suse.com> References: <20230111220600.29680-1-jfehlig@suse.com> X-ClientProxiedBy: FR0P281CA0115.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10:a8::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_|DU2PR04MB8551:EE_ X-MS-Office365-Filtering-Correlation-Id: f3aaf1bd-d617-4fa0-2d9b-08daf42023ad X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: kyOOYaWSm1udcQrk40vCxuayXdu41l6tivjRtUaTO2kjn6JlCKIVaaal50Lrwak7OwiTIrPgKNqX9VWmN5PvEWytXw8IRRKhoLqtP86Ka1L1GartS+FaVZwdu5+oNC746tTIp380fzbSMUauuXUenexDwwUvNvfPxcnSeSblvnZb3SyEgNaiRrwT5GxLv3DG0u50XMjEFRMQflShD/TZwH2kG5q+w4DoB/35vRooamhRxqczIb23/0UbzI/H7kAnioB4jkpt6oEbJj8po4dN0C4nhBMvd1xGGZt4aE+RidkjJ5SwgCxTYFvJXKJKmWHDvYoWQcN6j+G1lSmpsriebG0Ir+YHo+GpaWjyGBTT/6Izh6K+/W5U66RiO5k7EtMJvq6xiZxG6yUGD12Y8cNWulaQG3F72VtHg3L/nbsJ2CIRl3OOBJYjNppBuVUdX3VDyE3C1Mb7ki4p5Eu1RuTFT3fdVM38xPqZBE8rw5cc9P1S28P/pw0QGaSMhHrNpuNKw4kVPZNztcZznHUlQSL7GZein8KmA3UPcn7iY61EOFlf6RDovtkqczy20I0EczxYXAj5NAa8YNemokv0JFYL1mPWNBgYyIAXE27vZjLK5ZWZeFW4+77UExyNNFtQQO/xI0xsKO2WQV5jM2lqd9TEoQ== 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)(376002)(136003)(39860400002)(366004)(396003)(346002)(451199015)(66946007)(66476007)(6916009)(66556008)(4326008)(8676002)(316002)(2906002)(5660300002)(26005)(8936002)(4744005)(41300700001)(450100002)(36756003)(6486002)(6666004)(478600001)(6506007)(1076003)(38100700002)(2616005)(6512007)(186003)(86362001); DIR:OUT; SFP:1101 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?nOkY+Cuf22gqJ0FixAxSJtITqvz2BbdguYVZxs1bZye8YbyeJcda/JEYVpGh?= =?us-ascii?Q?JWsaVg16ZnKCP+lmEKgFNOa1t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= =?us-ascii?Q?2F7jtY25En6RczJf/5AU0f4LUV4oF5Lo+GJ+Zyrd2gsX9NY7ey1C7N5/Me8h?= =?us-ascii?Q?cH5vehCggW5H+JywWqqYlkKF7/UoW7HSYd2oFhc0CAt/kknunq9YlYT7zeHQ?= =?us-ascii?Q?zWkBBql9dNhJ5ta9YDrNfd53Ern/OD4OG7a7dJgvhqxNPjabqFq8zYGeKn9p?= =?us-ascii?Q?ViEbLhnyXRv4CPKwUbF9UDH2lknzYHu14zi3eVcrZSyvTCsI9v7SMC3LWulm?= =?us-ascii?Q?b7QjAK1FgqZHj9Lufnh3DqcYg0KSq9Q8eU1SLbg3JuZDkVA79oUxm0PvFBQa?= =?us-ascii?Q?ZqxwuqGPWYEqYlNcfa7vhSbIc7PH1zjc4tZYGRvAHPD1kDWGZiLHhwLAnvZY?= =?us-ascii?Q?CYYOkuzpSS2RHKGQspDbcrROQGZrefZKSOqGL/jbEb0GxT1xNwlGvzX5F2Y/?= =?us-ascii?Q?tuTuin/ZP6XeSGByO4RTtnFpellylDMpviXSHgcPcL3MTlHmVy3e5lrk2SoI?= =?us-ascii?Q?kb8WAXFPM8fEVjiLa+33UUWMvFBuzHLaZsf87LHga7RSS8HPaxrC7m7u0oep?= =?us-ascii?Q?Hq5rXQ6ZH05wHWHMQeDL6PWR74rLQt1ZVWcW06amL13CRrPa319DX6SMI2VV?= =?us-ascii?Q?hKu/n81KkOuEFt9DH0Ha/NLOffKrcHLTnftLsL8o?= X-OriginatorOrg: suse.com X-MS-Exchange-CrossTenant-Network-Message-Id: f3aaf1bd-d617-4fa0-2d9b-08daf42023ad X-MS-Exchange-CrossTenant-AuthSource: AM0PR04MB4899.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Jan 2023 22:06:50.1810 (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: DuOY5Ct6h1b0bHIELhJcCN+Ki9vKoBsHalgoj3I7sqUESNDQFcG6v0D6yNmcw1cR+k2eLfAeQzkjwM2vIJCrsQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU2PR04MB8551 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.6 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1673474864966100001 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 768208ed03..af7d1054d4 100644 --- a/NEWS.rst +++ b/NEWS.rst @@ -39,6 +39,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