Looks good.
Regards,
Hans
David Lehman wrote:
The cryptsetup call to close the luks mapping fails with some
regularity, presumably because the device is still claiming to
be busy. The addition of this call to udev_settle has seemed to
solve the problem in my testing.
---
storage/devices.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/storage/devices.py b/storage/devices.py
index b593ec7..d8a0323 100644
--- a/storage/devices.py
+++ b/storage/devices.py
@@ -1321,6 +1321,7 @@ class LUKSDevice(DMCryptDevice):
if self.status and self.format.exists:
self.format.teardown()
+ udev_settle()
if self.slave.format.exists:
self.slave.format.teardown()
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list