diff -Nru libvirt-0.9.8/debian/changelog libvirt-0.9.8/debian/changelog --- libvirt-0.9.8/debian/changelog 2012-08-16 11:24:33.000000000 -0500 +++ libvirt-0.9.8/debian/changelog 2012-09-27 17:57:31.000000000 -0500 @@ -1,3 +1,11 @@ +libvirt (0.9.8-2ubuntu17.5) precise-proposed; urgency=low + + * add patch Reduce-udevadm-settle-timeout-to-10-seconds.patch (copied from + Debian tree) to fix 3 minute hang during pool-refresh when using LVM + backed pools. (LP: #1027987) + + -- Serge Hallyn Thu, 27 Sep 2012 17:57:06 -0500 + libvirt (0.9.8-2ubuntu17.4) precise-proposed; urgency=low * storage-fix-a-potential-crash-when-creating-vol-object: avoid a crash diff -Nru libvirt-0.9.8/debian/patches/Reduce-udevadm-settle-timeout-to-10-seconds.patch libvirt-0.9.8/debian/patches/Reduce-udevadm-settle-timeout-to-10-seconds.patch --- libvirt-0.9.8/debian/patches/Reduce-udevadm-settle-timeout-to-10-seconds.patch 1969-12-31 18:00:00.000000000 -0600 +++ libvirt-0.9.8/debian/patches/Reduce-udevadm-settle-timeout-to-10-seconds.patch 2012-09-27 17:57:05.000000000 -0500 @@ -0,0 +1,24 @@ +From: =?UTF-8?q?Guido=20G=C3=BCnther?= +Date: Mon, 4 Jun 2012 16:18:52 +0200 +Subject: Reduce udevadm settle timeout to 10 seconds + +This isn't a proper fix but it will make virt-manager at least start. + +Closes: #663931 +--- + src/util/util.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: libvirt-0.9.8/src/util/util.c +=================================================================== +--- libvirt-0.9.8.orig/src/util/util.c 2011-12-01 21:59:50.000000000 -0600 ++++ libvirt-0.9.8/src/util/util.c 2012-09-27 17:57:02.753442972 -0500 +@@ -2446,7 +2446,7 @@ + void virFileWaitForDevices(void) + { + # ifdef UDEVADM +- const char *const settleprog[] = { UDEVADM, "settle", NULL }; ++ const char *const settleprog[] = { UDEVADM, "settle", "--timeout=10", NULL }; + # else + const char *const settleprog[] = { UDEVSETTLE, NULL }; + # endif diff -Nru libvirt-0.9.8/debian/patches/series libvirt-0.9.8/debian/patches/series --- libvirt-0.9.8/debian/patches/series 2012-08-13 09:49:05.000000000 -0500 +++ libvirt-0.9.8/debian/patches/series 2012-09-27 17:57:00.000000000 -0500 @@ -37,3 +37,4 @@ ubuntu/xen-config-no-vfb-for-hvm.patch ubuntu/qemu-warn-on-pc-0.12.patch ubuntu/storage-fix-a-potential-crash-when-creating-vol-object +Reduce-udevadm-settle-timeout-to-10-seconds.patch