[Bug 1448205] [NEW] Crash when removing <filterref> from interface with update-device

Mohammed Naser 1448205 at bugs.launchpad.net
Fri Apr 24 16:22:09 UTC 2015


Public bug reported:

Hello,

We're running into this issue on our 14.04 LTS hosts, when removing all
filterref's on an interface, it results in a crash.

# virsh dump-xml e7276b62-887f-443e-b85b-ea3b5c395924
.....
<interface type='bridge'>
  <mac address='fa:16:3e:1c:cf:99'/>
  <source bridge='qbr3f490a54-72'/>
  <target dev='tap3f490a54-72'/>
  <model type='virtio'/>
  <filterref filter='illuminate-smtp-block'/>
  <alias name='net0'/>
  <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
</interface>
....

Update attempt
# cat interface.xml 
<interface type="bridge">
  <mac address="fa:16:3e:1c:cf:99"/>
  <source bridge="qbr3f490a54-72"/>
  <target dev="tap3f490a54-72"/>
  <model type="virtio"/>
  <alias name="net0"/>
  <address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
</interface>
# virsh update-device e7276b62-887f-443e-b85b-ea3b5c395924 interface.xml
.. libvirtd segfaults!

There is an existing patch for this which addresses this issue, but it
seems that it's not backported into current sources.

http://www.redhat.com/archives/libvir-list/2014-May/msg00005.html

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: Confirmed

** Patch added: "qemu-filterref-crash.patch"
   https://bugs.launchpad.net/bugs/1448205/+attachment/4383127/+files/qemu-filterref-crash.patch

** Changed in: libvirt (Ubuntu)
       Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1448205

Title:
  Crash when removing <filterref> from    interface with update-device

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1448205/+subscriptions



More information about the Ubuntu-server-bugs mailing list