[libvirt] [PATCH v2] Fix documentation errors about the path of conf files

Lily Zhu lizhu at redhat.com
Wed Jun 28 06:00:48 UTC 2017


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 file should be located
under "$XDG_CONFIG_HOME/libvirt/", rather than
"XDG_CONFIG_HOME".

Signed-off-by: Lily Zhu <lizhu at redhat.com>
---
 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 3b819a2..9f5a17d 100644
--- a/daemon/libvirtd.pod
+++ b/daemon/libvirtd.pod
@@ -81,7 +81,7 @@ On receipt of B<SIGHUP> libvirtd will reload its configuration.
 
 =over
 
-=item F<SYSCONFDIR/libvirtd.conf>
+=item F<SYSCONFDIR/libvirt/libvirtd.conf>
 
 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 a3bb268..355d974 100644
--- a/src/locking/virtlockd.pod
+++ b/src/locking/virtlockd.pod
@@ -67,7 +67,7 @@ upgrades of the virtlockd service.
 
 =over
 
-=item F<SYSCONFDIR/virtlockd.conf>
+=item F<SYSCONFDIR/libvirt/virtlockd.conf>
 
 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 7e55c9e..9e7212c 100644
--- a/src/logging/virtlogd.pod
+++ b/src/logging/virtlogd.pod
@@ -67,7 +67,7 @@ upgrades of the virtlogd service.
 
 =over
 
-=item F<SYSCONFDIR/virtlogd.conf>
+=item F<SYSCONFDIR/libvirt/virtlogd.conf>
 
 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.
-- 
1.8.3.1




More information about the libvir-list mailing list