From 0f0c0921e61021f276bb57201cd501cdade19546 Mon Sep 17 00:00:00 2001 From: Lily Zhu Date: Wed, 28 Jun 2017 14:00:48 +0800 Subject: [PATCH] man: Fix documentation errors about the paths of the config files The default conf files, for example libvirtd.conf, virtlockd.conf, and virtlogd.conf, should be located under the directory "/etc/libvirt" when root as root, rather than "/etc". When run as non-root, the configuration files should be located under "$XDG_CONFIG_HOME/libvirt/", rather than "XDG_CONFIG_HOME". Signed-off-by: Lily Zhu Signed-off-by: Erik Skultety --- daemon/libvirtd.pod | 4 ++-- src/locking/virtlockd.pod | 4 ++-- src/logging/virtlogd.pod | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/daemon/libvirtd.pod b/daemon/libvirtd.pod index 3b819a2144..9f5a17d9c9 100644 --- a/daemon/libvirtd.pod +++ b/daemon/libvirtd.pod @@ -81,7 +81,7 @@ On receipt of B libvirtd will reload its configuration. =over -=item F +=item F The default configuration file used by libvirtd, unless overridden on the command line using the B<-f>|B<--config> option. @@ -114,7 +114,7 @@ The PID file to use, unless overridden by the B<-p>|B<--pid-file> option. =over -=item F<$XDG_CONFIG_HOME/libvirtd.conf> +=item F<$XDG_CONFIG_HOME/libvirt/libvirtd.conf> The default configuration file used by libvirtd, unless overridden on the command line using the B<-f>|B<--config> option. diff --git a/src/locking/virtlockd.pod b/src/locking/virtlockd.pod index a3bb268d23..355d97404d 100644 --- a/src/locking/virtlockd.pod +++ b/src/locking/virtlockd.pod @@ -67,7 +67,7 @@ upgrades of the virtlockd service. =over -=item F +=item F The default configuration file used by virtlockd, unless overridden on the command line using the B<-f>|B<--config> option. @@ -86,7 +86,7 @@ The PID file to use, unless overridden by the B<-p>|B<--pid-file> option. =over -=item F<$XDG_CONFIG_HOME/virtlockd.conf> +=item F<$XDG_CONFIG_HOME/libvirt/virtlockd.conf> The default configuration file used by libvirtd, unless overridden on the command line using the B<-f>|B<--config> option. diff --git a/src/logging/virtlogd.pod b/src/logging/virtlogd.pod index 7e55c9e3ef..9e7212cfbe 100644 --- a/src/logging/virtlogd.pod +++ b/src/logging/virtlogd.pod @@ -67,7 +67,7 @@ upgrades of the virtlogd service. =over -=item F +=item F The default configuration file used by virtlogd, unless overridden on the command line using the B<-f>|B<--config> option. @@ -86,7 +86,7 @@ The PID file to use, unless overridden by the B<-p>|B<--pid-file> option. =over -=item F<$XDG_CONFIG_HOME/virtlogd.conf> +=item F<$XDG_CONFIG_HOME/libvirt/virtlogd.conf> The default configuration file used by libvirtd, unless overridden on the command line using the B<-f>|B<--config> option.