[Pkg-libvirt-commits] [libvirt] 03/04: Remove capabilities.monitor.sock when done

Guido Guenther agx at moszumanska.debian.org
Thu Sep 25 17:44:20 UTC 2014


This is an automated email from the git hooks/post-receive script.

agx pushed a commit to annotated tag debian/1.2.8-3
in repository libvirt.

commit 4eb67f409b7db3e62636d8140ef8daaca8c5c458
Author: Guido Günther <agx at sigxcpu.org>
Date:   Thu Sep 25 10:55:04 2014 +0200

    Remove capabilities.monitor.sock when done
    
    Closes: #761131
---
 ...emove-capabilities.monitor.sock-when-done.patch | 23 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 24 insertions(+)

diff --git a/debian/patches/qemu-remove-capabilities.monitor.sock-when-done.patch b/debian/patches/qemu-remove-capabilities.monitor.sock-when-done.patch
new file mode 100644
index 0000000..0396835
--- /dev/null
+++ b/debian/patches/qemu-remove-capabilities.monitor.sock-when-done.patch
@@ -0,0 +1,23 @@
+From: =?utf-8?q?Guido_G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Thu, 25 Sep 2014 10:30:58 +0200
+Subject: qemu: remove capabilities.monitor.sock when done
+
+Prompted by
+
+   http://bugs.debian.org/761131
+---
+ src/qemu/qemu_capabilities.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
+index c70a1a8..f60f543 100644
+--- a/src/qemu/qemu_capabilities.c
++++ b/src/qemu/qemu_capabilities.c
+@@ -3304,6 +3304,7 @@ virQEMUCapsInitQMP(virQEMUCapsPtr qemuCaps,
+     virCommandAbort(cmd);
+     virCommandFree(cmd);
+     VIR_FREE(monarg);
++    ignore_value(unlink(monpath));
+     VIR_FREE(monpath);
+     virObjectUnref(vm);
+     virObjectUnref(xmlopt);
diff --git a/debian/patches/series b/debian/patches/series
index b86bfeb..bf6daaf 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -14,3 +14,4 @@ Skip-vircgrouptest.patch
 debian/Use-sensible-editor-as-fallback.patch
 debian/Debianize-virtlockd.patch
 security/CVE-2014-3633-qemu-blkiotune-Use-correct-definition-.patch
+qemu-remove-capabilities.monitor.sock-when-done.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt.git



More information about the Pkg-libvirt-commits mailing list