autobuild: Skip some tests on Ubuntu.
[libguestfs.git] / daemon / mount.c
index ccd07c6..250656a 100644 (file)
@@ -324,6 +324,9 @@ do_umount_all (void)
 
   free_stringslen (mounts, size);
 
+  /* Without this, lvm_remove_all was failing on Ubuntu. */
+  udev_settle ();
+
   /* We've unmounted root now, so ... */
   root_mounted = 0;