From nobody Thu May 2 10:51:29 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=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1642605542; cv=none; d=zohomail.com; s=zohoarc; b=nYRQWCDxMzf1xTWNxxv8BXCzzQeTBTnU7SZiRqWTWH0A9Q7uK6lF3Lrn3rmhfPfDRq+r5magyaYKBu5QU4sZHFs6vn/rIfWqUSuBSWGZ0gvN2g//XIb52Bu1fqAPUvB/WtRi+LR37N4oLOybJFte/UpqHp3nyRk0dCpjU0E6ENg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642605542; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=LsXFWEACLLf4w2iRsFE46c/zxtyRbjr+NnFm+n/BKX8=; b=dNP849uwpUBOPYoRQxaBqsfgUQBv7aoihsMg8vyqvF4pGbxk8R9EW/XYWDVichVmzsyde1AxRCmAx41Aa0xjFupk7EIOw8nYNjN8u/tRoV0IDoZAvNYn9t7hKI3dCDAwJZ6Gje88V6uc1eqtK4/VH6p+RF5Q1EkxhpU8x0gdyPU= 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=pass header.from= (p=none dis=none) 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 1642605542094757.3259100447805; Wed, 19 Jan 2022 07:19:02 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-169-jrFafACIN0u5UBLVNaiUwQ-1; Wed, 19 Jan 2022 10:18:57 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id DE95C86A8A0; Wed, 19 Jan 2022 15:18:51 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BFF91105C73E; Wed, 19 Jan 2022 15:18:51 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 8F17C4A7C9; Wed, 19 Jan 2022 15:18:51 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20JF1G23021863 for ; Wed, 19 Jan 2022 10:01:16 -0500 Received: by smtp.corp.redhat.com (Postfix) id D1F5F2A18A; Wed, 19 Jan 2022 15:01:16 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 1F340282DE for ; Wed, 19 Jan 2022 15:01:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1642605541; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=LsXFWEACLLf4w2iRsFE46c/zxtyRbjr+NnFm+n/BKX8=; b=FlGhqQl/wSD4sXM0YAYd+tJOa/5mFrsLLQf4TTSOzct/c5XSsP887dMHifbmCaP518Q/X0 XbU8jLsaCDgtusbtYX4STuchBFfwLSjFkYKeBgOjR8odsFCqTVNtiAhfz1ohX93apezgk/ xPHct+oLfkVd/daQmkj5fHQJ6v7UEKQ= X-MC-Unique: jrFafACIN0u5UBLVNaiUwQ-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH] spec: Run pre/post-install stuff on 'daemon-driver-storage-core' Date: Wed, 19 Jan 2022 16:01:14 +0100 Message-Id: <9335224f2744bfda499f4c1712d0dbda7410faac.1642604474.git.pkrempa@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com 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: 1642605544282100001 Content-Type: text/plain; charset="utf-8" 'daemon-driver-storage' is just a meta-package, the actual daemon is in the 'daemon-driver-storage-core' package, so without installing the meta package the storage daemon is not being enabled. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=3D2025644 Fixes: 50eae3f8859, b8ef6255444 Signed-off-by: Peter Krempa Reviewed-by: Andrea Bolognani Reviewed-by: Daniel P. Berrang=C3=A9 --- libvirt.spec.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index b9f1e30906..f0ff4c0ece 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1483,19 +1483,19 @@ fi %libvirt_daemon_perform_restart virtsecretd -%pre daemon-driver-storage +%pre daemon-driver-storage-core %libvirt_sysconfig_pre virtstoraged -%post daemon-driver-storage +%post daemon-driver-storage-core %if %{with_modular_daemons} %libvirt_daemon_systemd_post virtstoraged %endif %libvirt_daemon_schedule_restart virtstoraged -%preun daemon-driver-storage +%preun daemon-driver-storage-core %libvirt_daemon_systemd_preun virtstoraged -%posttrans daemon-driver-storage +%posttrans daemon-driver-storage-core %libvirt_sysconfig_posttrans virtstoraged %libvirt_daemon_perform_restart virtstoraged --=20 2.34.1