pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libvirtd startup problems



Playing with mvmm running on a NetBSD-9.0 BETA and it looks like I need virsh to be able to control or
shutdown the virtual machines.  But it needs libvirtd to be installed and running which seems to be a problem.

First, libvirtd complains when dnsmasq and dmidecode aren't installed but the libvirtd package doesn’t
appear to list these as dependencies. 

Second, libvirtd appears to have problems locating its conf file which is installed in /usr/pkg/etc/libvirt/libvirtd.conf.
Not sure where it looks for it, but unless the "-f" parameter is used it can't seem to find the file.  Not sure if this has
implications finding the “qemu" directory that it references. (Setting log level to 1 shows it can’t locate the qemu
directory.)

Third, when trying to start libvirtd with dnsmasq and dmidecode installed and specifing the conf file I get this output
and libvirtd exits:

2019-10-08 12:23:31.417+0000: 138722978752512: info : libvirt version: 1.2.9
2019-10-08 12:23:31.417+0000: 138722978752512: warning : virProcessGetStartTime:918 : Process start time of pid 26760 not available on this platform
2019-10-08 12:23:31.442+0000: 138722978752512: error : virGetGroupID:1039 : invalid argument: Failed to parse group 'root'
2019-10-08 12:23:31.442+0000: 138722978752512: error : virStateInitialize:749 : Initialization of QEMU state driver failed: invalid argument: Failed to parse group 'root'
2019-10-08 12:23:31.442+0000: 138722978752512: error : daemonRunStateInit:921 : Driver state initialization failed

Any clues about what I’m obviously doing wrong?


Home | Main Index | Thread Index | Old Index