[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
PATCH; make iscsi login code wait for udev to create the devices (#466661, #470073)
- From: Hans de Goede <hdegoede redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: PATCH; make iscsi login code wait for udev to create the devices (#466661, #470073)
- Date: Thu, 06 Nov 2008 10:22:42 +0100
Hi All,
This patch fixes #466661, #470073, please review.
Regards,
Hans
diff --git a/iscsi.py b/iscsi.py
index a42a03e..915e9ca 100644
--- a/iscsi.py
+++ b/iscsi.py
@@ -189,6 +189,11 @@ class iscsiTarget:
ret = True
self.addNode(node)
+ # Wait for udev to create the devices for the just added disks
+ if ret:
+ iutil.execWithRedirect("/sbin/udevsettle", [ ],
+ stdout = "/dev/tty5", stderr="/dev/tty5")
+
# we return True if there were any successful logins for our portal.
return ret
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]