diff options
author | David Lehman <dlehman@redhat.com> | 2010-02-11 13:48:59 -0600 |
---|---|---|
committer | David Lehman <dlehman@redhat.com> | 2010-02-12 10:47:40 -0600 |
commit | b2f29d15dde498d13d7d5e1467168695afa7b3f9 (patch) | |
tree | 2ebc09a2da871703873f9852337bb6d6c7e028d9 | |
parent | a4b75e9e541ac78ba0b0c8a869a893ca69f847af (diff) | |
download | anaconda-b2f29d15dde498d13d7d5e1467168695afa7b3f9.tar.gz anaconda-b2f29d15dde498d13d7d5e1467168695afa7b3f9.tar.xz anaconda-b2f29d15dde498d13d7d5e1467168695afa7b3f9.zip |
Add udev_settle after setup of LUKSDevice. (#534043)
LVM (when looking for PVs) is finding the temporary udev device
instead of the real/final device, so this is to make sure things
are as they should be when lvm goes-a-hunting for devices.
We should probably be explicitly telling lvm which devices to look
for PVs on to avoid it scanning every block device every time we
run an lvm command.
-rw-r--r-- | storage/devices.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/devices.py b/storage/devices.py index 0243e34b4..e357d0c13 100644 --- a/storage/devices.py +++ b/storage/devices.py @@ -1606,6 +1606,7 @@ class LUKSDevice(DMCryptDevice): self.slave.setup() self.slave.format.setup() + udev_settle() # we always probe since the device may not be set up when we want # information about it |