From nobody Mon Feb 9 06:50:25 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1615537638; cv=none; d=zohomail.com; s=zohoarc; b=VSr79FpQXvIiFBTjWCLT13mOSb2r3ugjGZ+gSD1yL5US/KtVvTxY/r5vYL7pj/FkeVD48bDb2JgNNHHOyVudtD/gDmHq7aotOUusQEXWPxYhImMKqB/ogKPtFVxhacFMNgTn0ZyfGEProdqrJm4S1AfnMiKx4yvuKNdR6os6sZg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1615537638; 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=TTvDlQirXHPw7JUweN5W9eRYj/GuyzKuQFt/u+LncK0=; b=E807/+c34VSFHns7L51AKaQnp7xxSDovPZfu2cxs9qs1QP+4SrcRbT/fuHCXVoZcPjvHGon5eU0os2zv3x3OWQqgwRqHKz4y0XM7QFQmBQE9uFp0pmsWk0Hw6WkO30jfWgtcUftDCKXRy5EresEBHTK83B62xL3Rr7DLfMisPfk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.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 [216.205.24.124]) by mx.zohomail.com with SMTPS id 1615537638118323.95551228050215; Fri, 12 Mar 2021 00:27:18 -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-211-FvRzZ63_OFegEeKfitzpVA-1; Fri, 12 Mar 2021 03:24:47 -0500 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 mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3D8161074659; Fri, 12 Mar 2021 08:24:41 +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 0E1AD1F067; Fri, 12 Mar 2021 08:24:41 +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 BBB4B1800B8A; Fri, 12 Mar 2021 08:24:40 +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 12C8OR9J006454 for ; Fri, 12 Mar 2021 03:24:27 -0500 Received: by smtp.corp.redhat.com (Postfix) id B09895B697; Fri, 12 Mar 2021 08:24:27 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.193.166]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3455F5D6BA for ; Fri, 12 Mar 2021 08:24:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615537637; 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=TTvDlQirXHPw7JUweN5W9eRYj/GuyzKuQFt/u+LncK0=; b=E4LTrXs9FjwO93iWD1rgf+jpPH1OYDi/G0K4aTpMrHr+8BmmxN95PVJjsDFWe3mstiY2w8 osHCNea/SXbgUkMCCZygXVQr28oEcr4RUnIPYO0IFeZn07KUgdTwdk26qwyY0FWenOPTHg mobnxkBNVvqZALdPIvp8E7Yp0XQbN2I= X-MC-Unique: FvRzZ63_OFegEeKfitzpVA-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 2/5] manpages: Remove reference to a session daemon for LXC Date: Fri, 12 Mar 2021 09:24:16 +0100 Message-Id: <2196964cb592ebe4a156671051c601c2de151c88.1615537399.git.mprivozn@redhat.com> 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.84 on 10.5.11.23 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 LXC driver has no session daemon therefore its split daemon (virtlxcd) 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/virtlxcd.rst | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) diff --git a/docs/manpages/virtlxcd.rst b/docs/manpages/virtlxcd.rst index f89d70ba21..b9aca6c857 100644 --- a/docs/manpages/virtlxcd.rst +++ b/docs/manpages/virtlxcd.rst @@ -103,8 +103,8 @@ On receipt of ``SIGHUP`` ``virtlxcd`` will reload its c= onfiguration. FILES =3D=3D=3D=3D=3D =20 -When run as *root* ------------------- +The ``virtlxcd`` program must be ran as root. Trying to start the program = under +a different user results in error. =20 * ``@SYSCONFDIR@/libvirt/virtlxcd.conf`` =20 @@ -124,31 +124,6 @@ The TLS **Server** private key ``virtlxcd`` 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/virtlxcd.conf`` - -The default configuration file used by ``virtlxcd``, unless overridden on = the -command line using the ``-f``|``--config`` option. - -* ``$XDG_RUNTIME_DIR/libvirt/virtlxcd-sock`` -* ``$XDG_RUNTIME_DIR/libvirt/virtlxcd-admin-sock`` - -The sockets ``virtlxcd`` will use. - -* ``$XDG_RUNTIME_DIR/libvirt/virtlxcd.pid`` - -The PID file to use, unless overridden by the ``-p``|``--pid-file`` option. - - -If ``$XDG_CONFIG_HOME`` is not set in your environment, ``virtlxcd`` will = use -``$HOME/.config`` - -If ``$XDG_RUNTIME_DIR`` is not set in your environment, ``virtlxcd`` will = use -``$HOME/.cache`` - - EXAMPLES =3D=3D=3D=3D=3D=3D=3D=3D =20 --=20 2.26.2