Re: libvirtd stopped launching

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

 



On Wed, Jun 13, 2012 at 5:00 PM, Zeeshan Ali (Khattak)
<zeeshanak@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxx>
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@xxxxxxxxxx>
    Signed-off-by: Stefan Berger <stefanb@xxxxxxxxxxxxxxxxxx>

Attaching the script I used with `git bisect run` for anyone who can
reproduce the issue.

-- 
Regards,

Zeeshan Ali (Khattak)
FSF member#5124

Attachment: check-libvirt-build
Description: Binary data

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]