diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2011-06-08 13:12:01 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2011-06-08 13:12:01 +0100 |
commit | bfc02f78f36d88543f8435e450e28c986b667a94 (patch) | |
tree | b6708697c97d1709f71460dac705a723b860c138 /appliance | |
parent | 2f73ea343cc4a3433f20e99a7835152767a70f80 (diff) | |
download | libguestfs-bfc02f78f36d88543f8435e450e28c986b667a94.tar.gz libguestfs-bfc02f78f36d88543f8435e450e28c986b667a94.tar.xz libguestfs-bfc02f78f36d88543f8435e450e28c986b667a94.zip |
init: Remove timeout in udevadm settle command.
The given timeout (10s) was too low if the appliance was
running slowly, which caused a cascade of other failures
during tests.
Note that in udev-171 and above on Fedora, /sbin/start_udev
no longer exists, so now we are using this manual method to
start udevd.
Diffstat (limited to 'appliance')
-rwxr-xr-x | appliance/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appliance/init b/appliance/init index 1d31cd83..8bc422d9 100755 --- a/appliance/init +++ b/appliance/init @@ -28,7 +28,7 @@ elif [ -x /sbin/udevd ]; then echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug /sbin/udevd --daemon /sbin/udevadm trigger - /sbin/udevadm settle --timeout=10 + /sbin/udevadm settle else echo No udev, creating /dev manually mount -t tmpfs none /dev |