Comment 26 for bug 362288

Revision history for this message
Bryan McLellan (btm) wrote :

Jaunty SRU Notes:

This bugs causes a second guest to be erroneously destroyed when the user destroys a guest. Depending on the function of the second guest, this can lead to unexpected data loss and service interruption and is inherently very destructive.

Because this bug has been fixed upstream in libvirt v0.6.4, which is in karmic, this bug does not apply to the current development release.

A quilt patch [1] has been prepared from the upstream patch [2] with the test code excluded for minimalistic purposes. This patch should applied last in the series in libvirt=0.6.1-0ubuntu5.

TEST CASE:

Create three guests, start them with 'virsh state GUEST' and verify that they are running with 'virsh list'
Destroy the first guest with 'virsh destroy GUEST'
Notice that two guests are in fact destroyed with 'virsh list'

This upstream patch is almost entirely sanity checks and would not likely cause regressions.

[1] http://launchpadlibrarian.net/29013416/event-handling-fix-rh499698-lp362288.patch
[2] https://bugzilla.redhat.com/attachment.cgi?id=343109