[blivet][PATCH][f21] Wait for udev to settle before collecting UUID for new filesystems.
David Lehman
dlehman at redhat.com
Fri Oct 24 21:32:49 UTC 2014
The consequence of the bug is that we end up putting paths into
/etc/fstab instead of UUIDs. That happens because as far as we can tell
there is no UUID because, well, udev told us there was no UUID.
Related: rhbz#1156614
---
blivet/deviceaction.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/blivet/deviceaction.py b/blivet/deviceaction.py
index 914e8d1..22b3cd8 100644
--- a/blivet/deviceaction.py
+++ b/blivet/deviceaction.py
@@ -558,6 +558,7 @@ class ActionCreateFormat(DeviceAction):
self.device.format.create(device=self.device.path,
options=self.device.formatArgs)
+ udev.settle()
# Get the UUID now that the format is created
info = udev.get_device(self.device.sysfsPath)
# only do this if the format has a device known to udev
--
1.9.3
More information about the anaconda-patches
mailing list