From nobody Tue May 14 02:34:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1609783539; cv=none; d=zohomail.com; s=zohoarc; b=AYGktGqaiBFICyEA6u3UeCwDdgWYSyahscbtnaBoVE/JJ24wrhMaFIt+5XvegUkQTmpgpqCQ4B9AX+9oMvfP+d7qN24uOSyZyIaZxGhhdJEu0dMAp47houaeE3El+oXKXfwlOCh6eChLhvAQoc0YphEIVEPGoGg0Zb4yTp9HDvY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1609783539; 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=mZN6dd+bvaMUUfjcV3yBZku7XuPoRyj1w00VjA/kULA=; b=mUe1iI/PH69piPZh1WIl+B/iilcEfNwlWFCd2wZhJBS7qZpnHxDDrYnQR3Wb4qxPRlvizEr+r4pGMl4zC6Uj3SmNab7BoblLapOP7VReJZiXT1SYmMrTvbL5ptXYlBgUAkua1ajmqz5XzuTWyneBiP4rby0Z4tD+4TKqRwUqWWs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1609783539777950.3279837567717; Mon, 4 Jan 2021 10:05:39 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-464-n_e6trVYMG6r8JDSBjJo6A-1; Mon, 04 Jan 2021 13:05:36 -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 811F7809DC9; Mon, 4 Jan 2021 18:05:30 +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 B1E3E10016F4; Mon, 4 Jan 2021 18:05:29 +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 01E064BB7B; Mon, 4 Jan 2021 18:05:27 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 104I5NTb017276 for ; Mon, 4 Jan 2021 13:05:23 -0500 Received: by smtp.corp.redhat.com (Postfix) id CDE3F6F43C; Mon, 4 Jan 2021 18:05:23 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-114-43.ams2.redhat.com [10.36.114.43]) by smtp.corp.redhat.com (Postfix) with ESMTP id E108C5B4A8; Mon, 4 Jan 2021 18:05:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1609783538; 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=mZN6dd+bvaMUUfjcV3yBZku7XuPoRyj1w00VjA/kULA=; b=cIxvKEJNJVAsQnln30EE8mJ08ZKREXDQ+c/nQ7LQXlGIEVObev+2gc2c/sOeTxXv8qzkxD q1aobXiWflHpOZRVK4DGfHmwuldL5FOtkY99wAdoui2eo3hTtoRSIqEHQMDa0llxnu/WUX b7tOXJq6O0blQyu6n90lyGuj5s9EXPE= X-MC-Unique: n_e6trVYMG6r8JDSBjJo6A-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 1/2] rpm: ensure swtpm tools are installed with QEMU Date: Mon, 4 Jan 2021 18:05:16 +0000 Message-Id: <20210104180517.701978-2-berrange@redhat.com> In-Reply-To: <20210104180517.701978-1-berrange@redhat.com> References: <20210104180517.701978-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) These are needed for the devices to be usable. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Laine Stump --- libvirt.spec.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libvirt.spec.in b/libvirt.spec.in index f20a1c741b..2e026b0423 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -735,6 +735,9 @@ Requires: xz %if 0%{?fedora} || 0%{?rhel} > 7 Requires: systemd-container %endif + %if 0%{?fedora} || 0%{?rhel} > 7 +Requires: swtpm-tools + %endif =20 %description daemon-driver-qemu The qemu driver plugin for the libvirtd daemon, providing --=20 2.29.2 From nobody Tue May 14 02:34:58 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1609783554; cv=none; d=zohomail.com; s=zohoarc; b=hkWThZyxzeOirqqv92djfqjUiaa7Z8tlbXOd98Ue+Z8rXVV/hloi8x5NS3QwSfoYO8Fw5XJZ67MNzKkE81Kv1JzLblBVaXvHaJoE8rkDy0NNa5MaSnr2VW8ujIjkj/lmgDk2b5h3TxGqOdiEOAaRg4E5I4qTrI2YEeoHyD2HDiA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1609783554; 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=VqA6iiB0MqjizDAftPJkB6RWVIBYb7uQZyjX8e4MaTU=; b=T9xF98K1tCMrGh+5QGLjCmaQQLTgE+MMhOqPN1cx99N3FgVvgmLRLSo+jWOVygvPevNcoqFQbH70RNc3LsfC+tWiZj9gAA5g93Nb8fYzCM0zGoCm5YYpod26istN96yIDJB8mezOsE+OeOd3XnVVX5tC8sQgRArwkJD9IqgEI9Q= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1609783554187505.5712093766292; Mon, 4 Jan 2021 10:05:54 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-370--aUBaXXoPWGIAI1OfNBSlA-1; Mon, 04 Jan 2021 13:05:49 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4FAA0800D55; Mon, 4 Jan 2021 18:05:44 +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 2996C5D768; Mon, 4 Jan 2021 18:05:44 +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 E80424E590; Mon, 4 Jan 2021 18:05:43 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 104I5Pfu017287 for ; Mon, 4 Jan 2021 13:05:25 -0500 Received: by smtp.corp.redhat.com (Postfix) id F18B66F43C; Mon, 4 Jan 2021 18:05:24 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-114-43.ams2.redhat.com [10.36.114.43]) by smtp.corp.redhat.com (Postfix) with ESMTP id 263545B4A8; Mon, 4 Jan 2021 18:05:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1609783553; 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=VqA6iiB0MqjizDAftPJkB6RWVIBYb7uQZyjX8e4MaTU=; b=U/sqN3I54/7qiBIoeh+TjUZp+L4UnN0Wree/Fyem4ZFEtW2SIZhQ2YxKptpcUdLahqlkKA emCKiweMe68JoH3e5bqqAMY2/E6sdqGDcCSpBhqsHiZFq0Xq/oN6YfhXUz20ryhRLKCkDh 8fqme6/7wYQ/+rHRkNHn+sVhN5BCEGs= X-MC-Unique: -aUBaXXoPWGIAI1OfNBSlA-1 From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Subject: [libvirt PATCH 2/2] rpm: fix ownership of the swtpm log directory Date: Mon, 4 Jan 2021 18:05:17 +0000 Message-Id: <20210104180517.701978-3-berrange@redhat.com> In-Reply-To: <20210104180517.701978-1-berrange@redhat.com> References: <20210104180517.701978-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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.79 on 10.5.11.15 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) As soon as a guest using a device is launched, libvirt will change the ownership to 'tss' user and group, which will cause RPM verify to then fail. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Laine Stump --- libvirt.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index 2e026b0423..c455aa7788 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -1747,7 +1747,7 @@ exit 0 %{_datadir}/augeas/lenses/tests/test_libvirtd_qemu.aug %{_libdir}/%{name}/connection-driver/libvirt_driver_qemu.so %dir %attr(0711, root, root) %{_localstatedir}/lib/libvirt/swtpm/ -%dir %attr(0711, root, root) %{_localstatedir}/log/swtpm/libvirt/qemu/ +%dir %attr(0711, tss, tss) %{_localstatedir}/log/swtpm/libvirt/qemu/ %{_bindir}/virt-qemu-run %{_mandir}/man1/virt-qemu-run.1* %endif --=20 2.29.2