Skip to content
Snippets Groups Projects
Commit 202939f6 authored by Guido Günther's avatar Guido Günther
Browse files

New patch Reduce-udevadm-settle-timeout-to-10-seconds.patch

Reduce udevadm settle timeout to 10 seconds

Closes: #663931
parent 1efc3040
No related branches found
No related tags found
No related merge requests found
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
......@@ -10,3 +10,4 @@ Disable-gnulib-s-test-nonplocking-pipe.sh.patch
Disable-failing-virnetsockettest.patch
Don-t-fail-if-we-can-t-setup-avahi.patch
Only-check-for-cluster-fs-if-we-re-using-a-filesyste.patch
Reduce-udevadm-settle-timeout-to-10-seconds.patch
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment