pkgsrc-Bugs archive

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

pkg/54613: libvirtd install and run issues



>Number:         54613
>Category:       pkg
>Synopsis:       libvirtd install and run issues
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 11 14:25:00 +0000 2019
>Originator:     Bob Nestor
>Release:        NetBSD 9.0/pkgsrc-2019Q3
>Organization:
>Environment:
NetBSD bandit.home.net 9.0_BETA NetBSD 9.0_BETA (GENERIC) #0: Sun Oct  6 11:20:50 UTC 2019  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
Multiple issues with libvirtd:

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

>How-To-Repeat:
Install libvirtd on system and try to start it
>Fix:
For first issue, install dnsmasq and dmidecode

For second issue, use the -f parameter when starting libvirtd

For the third issue, unknown - can't find any parameters in libvirtd.conf to resolve this.



Home | Main Index | Thread Index | Old Index