From: Michal Privoznik <mprivozn@redhat.com> Config files for system instances of our drivers (e.g. "ch:///system", "qemu:///system", etc.) live under /etc/libvirt. But for some reason, the CH driver was trying to load the config file from /var/lib/libvirt/ch/ even though the file is installed under /etc/libvirt per the following line from src/meson.build: install_data(virt_conf_files, install_dir: confdir) Signed-off-by: Michal Privoznik <mprivozn@redhat.com> --- src/ch/ch_conf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ch/ch_conf.c b/src/ch/ch_conf.c index 8a542eef19..6896683b7f 100644 --- a/src/ch/ch_conf.c +++ b/src/ch/ch_conf.c @@ -178,8 +178,7 @@ virCHDriverConfigNew(bool privileged) cfg->logDir = g_strdup_printf("%s/log/libvirt/ch", LOCALSTATEDIR); cfg->stateDir = g_strdup_printf("%s/libvirt/ch", RUNSTATEDIR); cfg->saveDir = g_strdup_printf("%s/lib/libvirt/ch/save", LOCALSTATEDIR); - cfg->configDir = g_strdup_printf("%s/lib/libvirt/ch", LOCALSTATEDIR); - + cfg->configDir = g_strdup(SYSCONFDIR "/libvirt"); } else { g_autofree char *rundir = NULL; g_autofree char *cachedir = NULL; -- 2.51.0