From nobody Mon Feb 9 01:43:23 2026 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=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1642434189; cv=none; d=zohomail.com; s=zohoarc; b=a4Lz145H7JMFOXoPekQJyzkK7pyPoq0Z2ogSuKdH0Nuj5O7mT5scwRKlfbV3vd+QOTpSdvNRPL6wb24Wb+bejBnuei3hUmKUcFnQOkLdxgU9KyEEMBOYZ2XAdPmJ/I+/Nd4YewF+vLiK+VvNyVblj1vZf6oDmBgdwzg/q5b/v8k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642434189; 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=jS63p8xbuODgz8UbJHr2GiVXWMxeGSdD0uBYCRVn0Ns=; b=izynOf8+j6nEOmj1YpZ9H+LIuwJciumNABRn4FKML7no9eVwnKpoVXl2Q7peqkGol26ZSM8aHj729XXzu3Qn2K0mPI+RwAY3SjTQllHBzuPODUj/ZjE35WH43zS/vC4nVjgBW/dc14qR8FR7tvFRKCYt+vfT5GiwXnY3IMV6JBs= 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=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.133.124]) by mx.zohomail.com with SMTPS id 1642434189762294.4775753845224; Mon, 17 Jan 2022 07:43:09 -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-634-qBJILvfFPMysS4l40sopUQ-1; Mon, 17 Jan 2022 10:42:44 -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 A4F3A100C62F; Mon, 17 Jan 2022 15:41:10 +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 8718A10A48AC; Mon, 17 Jan 2022 15:41:10 +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 52FD11806D2C; Mon, 17 Jan 2022 15:41:10 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20HFdTG4000470 for ; Mon, 17 Jan 2022 10:39:29 -0500 Received: by smtp.corp.redhat.com (Postfix) id 6466C5B920; Mon, 17 Jan 2022 15:39:29 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id BBDC45444C for ; Mon, 17 Jan 2022 15:39:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1642434188; 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=jS63p8xbuODgz8UbJHr2GiVXWMxeGSdD0uBYCRVn0Ns=; b=Xgbm+7bHADuqNXfNKMyOJTwbGA4JdePLCoP/NiMOWvBOnsuTgZEzUcHmoKuOeUnmzNl4FD HO/J3MYEe8VTQaQ98uV4E7L0iu8JKMfwiyM911rPrbNhNLWfCIbrEZS+hPkjJ3133Iln6p IGJHDtwnlovzWcwSD0+qZhZoJaj5npM= X-MC-Unique: qBJILvfFPMysS4l40sopUQ-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 1/8] docs: daemons: Add section on figuring out whether modular or monolithic daemon is in use Date: Mon, 17 Jan 2022 16:39:09 +0100 Message-Id: <90c6e52ea12b237a5245576c1dcd1953b7c40204.1642433476.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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: 1642434191507100001 Content-Type: text/plain; charset="utf-8" Since we are at a transition period where some users may be running monolithic libvirtd and others already the modular topology we need a section that allows users to figure out which is in use. This will be particularly important in the document about enabling logging, as the active log file depends on which daemon is in use. Signed-off-by: Peter Krempa --- docs/daemons.rst | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/docs/daemons.rst b/docs/daemons.rst index c8ae3b0cef..1446c1f92c 100644 --- a/docs/daemons.rst +++ b/docs/daemons.rst @@ -435,6 +435,53 @@ host first. $ systemctl enable virtproxyd-tls.socket $ systemctl start virtproxyd-tls.socket +Checking whether modular/monolithic mode is in use +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D + +To determine whether modular or monolithic mode is in use on a host running +``systemd`` as the init system you can take the following steps: + +#. Check whether the modular daemon infrastructure is in use + + First check whether the modular daemon you are interested in is running: + + #. Check ``.socket`` for socket activated services + + :: + + # systemctl is-active virtqemud.socket + active + + #. Check ``.service`` for always-running daemons + + :: + + # systemctl is-active virtqemud.service + active + + If either of the above is ``active`` your system is using the modular d= aemons. + +#. Check whether the monolithic daemon is in use + + #. Check ``libvirtd.socket`` + + :: + + # systemctl is-active libvirtd.socket + active + + #. Check ``libvirtd.service`` for always-running daemon + + :: + + # systemctl is-active libvirtd.service + active + + If either of the above is ``active`` your system is using the monolithic + daemon. + +#. To determine which of the above will be in use on the next boot of the = system, + substitute ``is-enabled`` for ``is-active`` in the above examples. Proxy daemon =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 2.34.1