From nobody Sun Feb 8 17:37:28 2026 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=1566573117; cv=none; d=zoho.com; s=zohoarc; b=PRoreYniIMgItPTFKqR3ZMev3exQ96En3Ald2HG58oEssSiuEWjIkuJ7LZhMrt/JZw9A+Hit5UUBceg34n1gXJPFL7Atk97Fv10K4HAKj04Mbq5dXEdnFM7uKzQpFAqoeXIvs3ZawsrSE9/3aJ64gCyEHv+5mVPTDlQ15AA1GKk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566573117; 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=WCm2nls90ZnLfzfQX72GS9nusXzEwahUvVxDH2Ylwfs=; b=F5gXg3ynXpSDB3exWL2sOHC68WSHdqoD+2xkOLtVRhkuYvWhH1CQas9Zm5NLm3nQ4uQMv4nfbSpoG9Km1GOZTpPMeCecV2kuluYiUxuF6YRIP2rbqmyuGR9eMtLRaLBIBcZVes3gIbVp7LGrLgk342+8KjhsG9tnRf2zeCkRbIM= 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 1566573117601735.4979000218293; Fri, 23 Aug 2019 08:11:57 -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 C1A5F368CF; Fri, 23 Aug 2019 15:11:55 +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 138685D6B2; Fri, 23 Aug 2019 15:11:55 +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 A9A4C3CBF; Fri, 23 Aug 2019 15:11:53 +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 x7NFBpOq003565 for ; Fri, 23 Aug 2019 11:11:51 -0400 Received: by smtp.corp.redhat.com (Postfix) id B1FFF2632E; Fri, 23 Aug 2019 15:11:51 +0000 (UTC) Received: from localhost.localdomain.com (ovpn-112-60.ams2.redhat.com [10.36.112.60]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7A0E419C78; Fri, 23 Aug 2019 15:11:50 +0000 (UTC) From: =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= To: libvir-list@redhat.com Date: Fri, 23 Aug 2019 16:11:40 +0100 Message-Id: <20190823151143.31787-2-berrange@redhat.com> In-Reply-To: <20190823151143.31787-1-berrange@redhat.com> References: <20190823151143.31787-1-berrange@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 1/4] remote: use Wants instead of Requires for libvirtd sockets 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.5.16 (mx1.redhat.com [10.5.110.30]); Fri, 23 Aug 2019 15:11:56 +0000 (UTC) To facilitate upgrades from earlier versions of libvirt which did not use socket activation for libvirtd, we want to allow the libvirtd socket units to be disabled (masked). This can only be supported if we use the warker Wants statement instead of Requires. Signed-off-by: Daniel P. Berrang=C3=A9 Reviewed-by: J=C3=A1n Tomko --- src/remote/libvirtd.service.in | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/remote/libvirtd.service.in b/src/remote/libvirtd.service.in index 4c5b28b478..82892b4f70 100644 --- a/src/remote/libvirtd.service.in +++ b/src/remote/libvirtd.service.in @@ -2,9 +2,12 @@ Description=3DVirtualization daemon Requires=3Dvirtlogd.socket Requires=3Dvirtlockd.socket -Requires=3Dlibvirtd.socket -Requires=3Dlibvirtd-ro.socket -Requires=3Dlibvirtd-admin.socket +# Use Wants instead of Requires so that users +# can disable these three .socket units to revert +# to a traditional non-activation deployment setup +Wants=3Dlibvirtd.socket +Wants=3Dlibvirtd-ro.socket +Wants=3Dlibvirtd-admin.socket Wants=3Dsystemd-machined.service Before=3Dlibvirt-guests.service After=3Dnetwork.target --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list