summaryrefslogtreecommitdiffstats
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/mount.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/mount.c b/daemon/mount.c
index ccd07c6b..250656a5 100644
--- a/daemon/mount.c
+++ b/daemon/mount.c
@@ -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;