Package: libvirt / 0.9.12.3-1+deb7u1

Reduce-udevadm-settle-timeout-to-10-seconds.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: =?UTF-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
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(-)

diff --git a/src/util/util.c b/src/util/util.c
index 48358b2..c026bc8 100644
--- a/src/util/util.c
+++ b/src/util/util.c
@@ -2593,7 +2593,7 @@ virFileFindMountPoint(const char *type ATTRIBUTE_UNUSED)
 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