Crash when removing <filterref> from interface with update-device
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Trusty |
Fix Released
|
High
|
Unassigned | ||
Vivid |
Fix Released
|
High
|
Unassigned |
Bug Description
=======
SRU Justification
1. Impact: crash when removing filterref from a network interface
2. Test case: Create an interface with filterref (see below), then update it and try to remove it.
3. Regression potential: the patch simply avoids attempting to instantiate a filter if the filter has been removed. There should be no regressions.
=======
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-
.....
<interface type='bridge'>
<mac address=
<source bridge=
<target dev='tap3f490a5
<model type='virtio'/>
<filterref filter=
<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=
<source bridge=
<target dev="tap3f490a5
<model type="virtio"/>
<alias name="net0"/>
<address type="pci" domain="0x0000" bus="0x00" slot="0x03" function="0x0"/>
</interface>
# virsh update-device e7276b62-
.. 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://
Changed in libvirt (Ubuntu): | |
importance: | Undecided → High |
Changed in libvirt (Ubuntu Vivid): | |
status: | Confirmed → Fix Released |
Changed in libvirt (Ubuntu Utopic): | |
importance: | Undecided → High |
Changed in libvirt (Ubuntu Trusty): | |
importance: | Undecided → High |
description: | updated |
no longer affects: | libvirt (Ubuntu Utopic) |
Hi,
given the date of that patch, could you confirm that this is fixed in 15.04?
If so then I'll SRU this to trusty