[libvirt] libvirtd stopped launching

Hi everyone, After I updated my libvirt repo/install from latest git master yesterday, libvirtd won't just launch for me anymore. The error in log was: 2012-06-13 11:59:47.427+0000: 30501: error : virStateInitialize:781 : Initialization of NWFilter state driver failed 2012-06-13 11:59:48.601+0000: 30501: error : daemonRunStateInit:752 : Driver state initialization failed Daniel asked me to enable more debug to find the cause and here is the output: http://static.fi/~zeenix/tmp/libvirt.out Does anyone know whats going on and how can I fix this? In the meantime I'll try to see reverting to some older commit helps and if so, I'll do a git bisect.. -- Regards, Zeeshan Ali (Khattak) FSF member#5124

On Wed, Jun 13, 2012 at 5:00 PM, Zeeshan Ali (Khattak) <zeeshanak@gnome.org> wrote:
Hi everyone, After I updated my libvirt repo/install from latest git master yesterday, libvirtd won't just launch for me anymore. The error in log was:
2012-06-13 11:59:47.427+0000: 30501: error : virStateInitialize:781 : Initialization of NWFilter state driver failed 2012-06-13 11:59:48.601+0000: 30501: error : daemonRunStateInit:752 : Driver state initialization failed
Daniel asked me to enable more debug to find the cause and here is the output: http://static.fi/~zeenix/tmp/libvirt.out
Does anyone know whats going on and how can I fix this? In the meantime I'll try to see reverting to some older commit helps and if so, I'll do a git bisect..
Took me a while to get the script to use with `git bisect run` working but finally I found the first bad commit: commit cec281fcaace7e23c51a2da4659623afe7fd9ebb Author: Stefan Berger <stefanb@linux.vnet.ibm.com> Date: Fri Jun 1 19:32:06 2012 -0400 nwfilter: add DHCP snooping This patch adds DHCP snooping support to libvirt. The learning method for IP addresses is specified by setting the "CTRL_IP_LEARNING" variable to one of "any" [default] (existing IP learning code), "none" (static only addresses) or "dhcp" (DHCP snooping). Active leases are saved in a lease file and reloaded on restart or HUP. The following interface XML activates and uses the DHCP snooping: <interface type='bridge'> <source bridge='virbr0'/> <filterref filter='clean-traffic'> <parameter name='CTRL_IP_LEARNING' value='dhcp'/> </filterref> </interface> All filters containing the variable 'IP' are automatically adjusted when the VM receives an IP address via DHCP. However, multiple IP addresses per interface are silently ignored in this patch, thus only supporting one IP address per interface. Multiple IP address support is added in a later patch in this series. Signed-off-by: David L Stevens <dlstevens@us.ibm.com> Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Attaching the script I used with `git bisect run` for anyone who can reproduce the issue. -- Regards, Zeeshan Ali (Khattak) FSF member#5124

On Fri, Jun 15, 2012 at 02:06:21AM +0300, Zeeshan Ali (Khattak) wrote:
On Wed, Jun 13, 2012 at 5:00 PM, Zeeshan Ali (Khattak) <zeeshanak@gnome.org> wrote:
Hi everyone, After I updated my libvirt repo/install from latest git master yesterday, libvirtd won't just launch for me anymore. The error in log was:
2012-06-13 11:59:47.427+0000: 30501: error : virStateInitialize:781 : Initialization of NWFilter state driver failed 2012-06-13 11:59:48.601+0000: 30501: error : daemonRunStateInit:752 : Driver state initialization failed
Daniel asked me to enable more debug to find the cause and here is the output: http://static.fi/~zeenix/tmp/libvirt.out
Does anyone know whats going on and how can I fix this? In the meantime I'll try to see reverting to some older commit helps and if so, I'll do a git bisect..
Took me a while to get the script to use with `git bisect run` working but finally I found the first bad commit:
See https://www.redhat.com/archives/libvir-list/2012-June/msg00603.html for a possible workaround: "try to install libpcap-devel RPM and rebuild libvirt." Christophe

On 06/15/2012 03:19 AM, Christophe Fergeau wrote:
Took me a while to get the script to use with `git bisect run` working but finally I found the first bad commit:
See https://www.redhat.com/archives/libvir-list/2012-June/msg00603.html for a possible workaround: "try to install libpcap-devel RPM and rebuild libvirt."
Now fixed: https://www.redhat.com/archives/libvir-list/2012-June/msg00626.html -- Eric Blake eblake@redhat.com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
participants (3)
-
Christophe Fergeau
-
Eric Blake
-
Zeeshan Ali (Khattak)