From nobody Sun Feb 8 23:41:54 2026 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=1615537489; cv=none; d=zohomail.com; s=zohoarc; b=mPQ6vmeioSgPPRdbrtwVgFNRfjDUoClzJ0O6MAXdvSFLDHitAS7aX8kZyq0Zgzjhler4jON69mHJtz+6b15YAx8XJbmhE+yGHPnQfHafJdlAknxbEbQsDYL5nUTo/7XttIg4rroAVfiFoiNJQjwcUNaNrUJDRcxg1sNBDSrLMqw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615537489; 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=LOx0T4W7UHA4ZAoycCLjSk/lIrOvtEBVGNhxl04tLE4=; b=AwmAaqRHPqC8wDMczmkFl1e0fAhHrjo5c0luBr7p0YuMRTirxIRtzeC2KmR9AoBa0FM2LUu2DOjfycUrueHsjSsiuyAhvj6ESBmLddhlS2Y33bmjNfzdEIgo64hWK1skNuGVHsZ4lFs4HodA6tEokQsM5QbsvwXDp6hNFruZ1Do= 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 1615537489490570.9152610099518; Fri, 12 Mar 2021 00:24:49 -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-358-b1OKu1mlOzavRBqpB1ljiA-1; Fri, 12 Mar 2021 03:24:43 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E4646100C61B; Fri, 12 Mar 2021 08:24:38 +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 BE09B5C255; Fri, 12 Mar 2021 08:24:38 +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 787DC18006D9; Fri, 12 Mar 2021 08:24:38 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 12C8OW9K006480 for ; Fri, 12 Mar 2021 03:24:32 -0500 Received: by smtp.corp.redhat.com (Postfix) id 434F35D75F; Fri, 12 Mar 2021 08:24:32 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.193.166]) by smtp.corp.redhat.com (Postfix) with ESMTP id BBE6D5D6BA for ; Fri, 12 Mar 2021 08:24:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615537486; 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=LOx0T4W7UHA4ZAoycCLjSk/lIrOvtEBVGNhxl04tLE4=; b=O1Uc+QSDS9rHKPqXHaWvcS5ttMUiKLKr5eNJhZCQiG6/ZtpFiRI0J1FQ8x5j2tyF09NW6M VXlmS9hoMu2pxpV/9eCr+7aNqpKmGogoccVAvQGnb012J56ETXftn7YMCrM66GC1GJ4wnB u6EBoQAk+Le6zfyNetJC35cRDT1+ck0= X-MC-Unique: b1OKu1mlOzavRBqpB1ljiA-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 4/5] manpages: Remove reference to a session daemon for libxl Date: Fri, 12 Mar 2021 09:24:18 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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.16 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) Content-Type: text/plain; charset="utf-8" The libxl driver has no session daemon therefore its split daemon (virtxend) has to be ran as root. Any attempt to start it with euid !=3D 0 fails. This is why the daemon does not look under any of XDG_* paths either. Signed-off-by: Michal Privoznik --- docs/manpages/virtxend.rst | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/docs/manpages/virtxend.rst b/docs/manpages/virtxend.rst index 53592d24c0..f94ba80afa 100644 --- a/docs/manpages/virtxend.rst +++ b/docs/manpages/virtxend.rst @@ -103,8 +103,8 @@ On receipt of ``SIGHUP`` ``virtxend`` will reload its c= onfiguration. FILES =3D=3D=3D=3D=3D =20 -When run as *root* ------------------- +The ``virtxend`` program must be ran as root. Trying to start the program = under +a different user results in error. =20 * ``@SYSCONFDIR@/libvirt/virtxend.conf`` =20 @@ -124,31 +124,6 @@ The TLS **Server** private key ``virtxend`` will use. The PID file to use, unless overridden by the ``-p`` | ``--pid-file`` opti= on. =20 =20 -When run as *non-root* ----------------------- - -* ``$XDG_CONFIG_HOME/libvirt/virtxend.conf`` - -The default configuration file used by ``virtxend``, unless overridden on = the -command line using the ``-f``|``--config`` option. - -* ``$XDG_RUNTIME_DIR/libvirt/virtxend-sock`` -* ``$XDG_RUNTIME_DIR/libvirt/virtxend-admin-sock`` - -The sockets ``virtxend`` will use. - -* ``$XDG_RUNTIME_DIR/libvirt/virtxend.pid`` - -The PID file to use, unless overridden by the ``-p``|``--pid-file`` option. - - -If ``$XDG_CONFIG_HOME`` is not set in your environment, ``virtxend`` will = use -``$HOME/.config`` - -If ``$XDG_RUNTIME_DIR`` is not set in your environment, ``virtxend`` will = use -``$HOME/.cache`` - - EXAMPLES =3D=3D=3D=3D=3D=3D=3D=3D =20 --=20 2.26.2