[Pkg-libvirt-commits] [SCM] Libvirt Debian packaging branch, master, updated. debian/0.9.3-1-9-g6db6929

Guido Günther agx at sigxcpu.org
Sat Jul 23 21:37:21 UTC 2011


The following commit has been merged in the master branch:
commit 6db6929f207352a6b9ae166009824a8889e63f5c
Author: Guido Günther <agx at sigxcpu.org>
Date:   Sat Jul 23 23:36:27 2011 +0200

    Catch dnsmasq start failures

diff --git a/debian/patches/Catch-dnsmasq-start-failures.patch b/debian/patches/Catch-dnsmasq-start-failures.patch
new file mode 100644
index 0000000..dc86fbe
--- /dev/null
+++ b/debian/patches/Catch-dnsmasq-start-failures.patch
@@ -0,0 +1,27 @@
+From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx at sigxcpu.org>
+Date: Sat, 23 Jul 2011 23:24:21 +0200
+Subject: Catch dnsmasq start failures
+
+While we checked the return value we didn't maks sure ret != 0 which
+resulted in dnsmasq errors being ignored.
+---
+ src/network/bridge_driver.c |    4 +++-
+ 1 files changed, 3 insertions(+), 1 deletions(-)
+
+diff --git a/src/network/bridge_driver.c b/src/network/bridge_driver.c
+index 660dd65..7cedbfd 100644
+--- a/src/network/bridge_driver.c
++++ b/src/network/bridge_driver.c
+@@ -732,8 +732,10 @@ networkStartDhcpDaemon(virNetworkObjPtr network)
+     if (ret < 0)
+         goto cleanup;
+ 
+-    if (virCommandRun(cmd, NULL) < 0)
++    ret = virCommandRun(cmd, NULL);
++    if (ret < 0) {
+         goto cleanup;
++    }
+ 
+     /*
+      * There really is no race here - when dnsmasq daemonizes, its
+-- 
diff --git a/debian/patches/series b/debian/patches/series
index fbeb7b0..9958f75 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -9,3 +9,4 @@ Disable-daemon-start-test.patch
 Disable-gnulib-s-test-nonplocking-pipe.sh.patch
 Autodetect-if-the-remote-nc-command-supports-the-q-o.patch
 Disable-failing-virnetsockettest.patch
+Catch-dnsmasq-start-failures.patch

-- 
Libvirt Debian packaging



More information about the Pkg-libvirt-commits mailing list