From nobody Sun May 5 02:35:32 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1566292648; cv=none; d=zoho.com; s=zohoarc; b=YDNkw/L4TeJMq2b7dfQctEsGgEFtUNpwLgHPdnXfRgkWNnJbPipZOJmFRp8n/GREfbjH4k6lklK3pu7uq4QwuOqkncWqtanp50JiOKv83M+oIetpc8aOSkuxO0urKCh04jVQzXeNrANSUjj/wo/zhHs+XdheNVGGjvsEs+x0J7Q= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566292648; 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:ARC-Authentication-Results; bh=ii+T8Ig1weziSDnr+BTGm0OUWK7Ebb3r/1nWEpM9crI=; b=NUu4WUSruKDSDPGB/YeU4HQXMtI6j/Vil2KQXK3XNomW8F3xdsGVML/0f/R7KuAZQV7yASEOcsndJ5F3nywuI22Ox1LayYha36KYx3LELESAMJ0GDALhUMI7GfXid0kD7lEG31SH626TpyZrH/BEm4gqyTOAxBlGyd89cd69x7g= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1566292648610349.42965624183694; Tue, 20 Aug 2019 02:17:28 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 652703174676; Tue, 20 Aug 2019 09:17:27 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D9DB67E4D; Tue, 20 Aug 2019 09:17:26 +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 3A0A218005B9; Tue, 20 Aug 2019 09:17:26 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x7K9HO5M015035 for ; Tue, 20 Aug 2019 05:17:24 -0400 Received: by smtp.corp.redhat.com (Postfix) id 742491001B17; Tue, 20 Aug 2019 09:17:24 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-61.ams2.redhat.com [10.36.112.61]) by smtp.corp.redhat.com (Postfix) with ESMTP id B7BF51001948; Tue, 20 Aug 2019 09:17:23 +0000 (UTC) From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Tue, 20 Aug 2019 10:17:16 +0100 Message-Id: <20190820091717.5739-2-berrange@redhat.com> In-Reply-To: <20190820091717.5739-1-berrange@redhat.com> References: <20190820091717.5739-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 1/2] rpm: depend on /usr/bin/nc instead of nc 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: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Tue, 20 Aug 2019 09:17:27 +0000 (UTC) The 'nc' RPM does not in fact exist anymore, this is a virtual provide from the nmap-ncat RPM which the maintainer wishes to delete. Change the dep to use the actual binary path we want to invoke. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Michal Privoznik --- libvirt.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index ee4b408510..b941ba1fc2 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -900,7 +900,7 @@ capabilities of recent versions of Linux (and other OSe= s). Summary: Client side libraries # So remote clients can access libvirt over SSH tunnel # (client invokes 'nc' against the UNIX socket on the server) -Requires: nc +Requires: /usr/bin/nc Requires: cyrus-sasl # Needed by default sasl.conf - no onerous extra deps, since # 100's of other things on a system already pull in krb5-libs --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list From nobody Sun May 5 02:35:32 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1566292650; cv=none; d=zoho.com; s=zohoarc; b=HZJ34C3fLF+ZFvPwRj6yxnA/5qzA5iy9RDKyJP43B/MAfputKVXU/WWtZSAdN7Pr3qL/7C+QU6uaqBLZb7UMzNoDWgusKToAaN0Kd+ln4++rPfNVAJt7b35exsQACHV1i6iuLqr0MzDqyaamMOQs5xaNfdl1ZKPG/J8FvHTgW1o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566292650; 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:ARC-Authentication-Results; bh=KkTHtKNL1dqOPxPVpPjbt+9NbNDXrL36nBrwVSuwbGg=; b=lOjhssiWtNh2aIJBUwRjrrQM5uBJL5/4Jpnhu41MBSuYgqJ1hQ3JUnSnyptsGB9gw7uq5XPSlXjHK4DdxUE3uwpvGEKchkXEcuzNsLYJmOnEGKxJB9iSA1CBUcY9O9l7Qt8l3tZb9mKLW/9FYp4ebhfQ+ILIcP5RC6MKX/+Maco= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1566292650527511.7413085697308; Tue, 20 Aug 2019 02:17:30 -0700 (PDT) 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 mx1.redhat.com (Postfix) with ESMTPS id 2883A1801D43; Tue, 20 Aug 2019 09:17:29 +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 02F8C39C1; Tue, 20 Aug 2019 09:17: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 B3CA324F32; Tue, 20 Aug 2019 09:17:28 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x7K9HPc9015045 for ; Tue, 20 Aug 2019 05:17:25 -0400 Received: by smtp.corp.redhat.com (Postfix) id E3EBE1001959; Tue, 20 Aug 2019 09:17:25 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-61.ams2.redhat.com [10.36.112.61]) by smtp.corp.redhat.com (Postfix) with ESMTP id D06281001948; Tue, 20 Aug 2019 09:17:24 +0000 (UTC) From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Tue, 20 Aug 2019 10:17:17 +0100 Message-Id: <20190820091717.5739-3-berrange@redhat.com> In-Reply-To: <20190820091717.5739-1-berrange@redhat.com> References: <20190820091717.5739-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 2/2] rpm: move nc dep into the libvirt-daemon sub-RPM 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: , Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.6.2 (mx1.redhat.com [10.5.110.62]); Tue, 20 Aug 2019 09:17:29 +0000 (UTC) The remote client invokes the 'nc' binary on the remote server to tunnel access to the socket. As such the 'nc' binary needs to be pulled in only by the libvirt-daemon sub-RPM, not the libvirt-client sub-RPM. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: Michal Privoznik --- libvirt.spec.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libvirt.spec.in b/libvirt.spec.in index b941ba1fc2..fd956cf0ee 100644 --- a/libvirt.spec.in +++ b/libvirt.spec.in @@ -425,6 +425,9 @@ Summary: Server side daemon and supporting files for li= bvirt library # The client side, i.e. shared libs are in a subpackage Requires: %{name}-libs =3D %{version}-%{release} =20 +# (client invokes 'nc' against the UNIX socket on the server) +Requires: /usr/bin/nc + # for modprobe of pci devices Requires: module-init-tools =20 @@ -899,8 +902,6 @@ capabilities of recent versions of Linux (and other OSe= s). %package libs Summary: Client side libraries # So remote clients can access libvirt over SSH tunnel -# (client invokes 'nc' against the UNIX socket on the server) -Requires: /usr/bin/nc Requires: cyrus-sasl # Needed by default sasl.conf - no onerous extra deps, since # 100's of other things on a system already pull in krb5-libs --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list