[PATCH 2/5] manpages: Remove reference to a session daemon for LXC

Michal Privoznik mprivozn at redhat.com
Fri Mar 12 08:24:16 UTC 2021


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 != 0 fails. This is why the daemon does not look under any
of XDG_* paths either.

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 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 configuration.
 FILES
 =====
 
-When run as *root*
-------------------
+The ``virtlxcd`` program must be ran as root. Trying to start the program under
+a different user results in error.
 
 * ``@SYSCONFDIR@/libvirt/virtlxcd.conf``
 
@@ -124,31 +124,6 @@ The TLS **Server** private key ``virtlxcd`` will use.
 The PID file to use, unless overridden by the ``-p`` | ``--pid-file`` option.
 
 
-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
 ========
 
-- 
2.26.2




More information about the libvir-list mailing list