Comment 6 for bug 1758037

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

I tested this on Xenial, Artful and Bionic.

In Bionic and Artful it breaks as shown before:
  error: Failed to start domain bg
  error: An error occurred, but the cause is unknown
In Xenial as well - it just takes much longer.

So this is at least not a regression.

Note: the feature itself is rather old, since [1] (2012)

Still all I see is:
Apr 20 09:14:21 b libvirtd[4207]: Warning: Kernel filter failed: Bad file descriptor
Apr 20 09:14:21 b libvirtd[4207]: 4379: error : virNWFilterSnoopDHCPOpen:1130 : internal error: pcap_setfilter: can't remove kernel filter: Bad file descriptor

With debug enabled the log does not hold more info.

The code in that area prepares (compile) and sets the filters.
The handle is created with handle = pcap_create(ifname, pcap_errbuf);
And several operations succeed on that handle before the pcap_setfilter fails eventually.

I wondered if this might be due to my KVM-in-LXD setup and tried X/B on Bare metal, to the same effect/error.

For this case one would need to debug libvirtd to find what is going on, I'm not sure yet this works/worked anywere (since even latest release is broken atm).

For now I'm waiting on a confirmation if there is a known fix (or not) before considering debugging it deeper. If there is no known fix an outline of the important/urgency from the reporters POV would be nice. Given that this seems to never worked I'll rate it rather low for now.

[1]: https://www.redhat.com/archives/libvir-list/2012-May/msg01234.html