[libvirt] libvirtd stopped launching

Zeeshan Ali (Khattak) zeeshanak at gnome.org
Thu Jun 14 23:06:21 UTC 2012


On Wed, Jun 13, 2012 at 5:00 PM, Zeeshan Ali (Khattak)
<zeeshanak at 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 at 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 at us.ibm.com>
    Signed-off-by: Stefan Berger <stefanb at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: check-libvirt-build
Type: application/octet-stream
Size: 672 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120615/88622e14/attachment-0001.obj>


More information about the libvir-list mailing list