-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 3 Mar 2010, Hans de Goede wrote:
Currently anaconda mis-identifies partitions on mdraid arrays as
being mdraid arrays themselves, causing a backtrace. This patch
fixes this.
---
storage/udev.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/storage/udev.py b/storage/udev.py
index 02a54e7..5faafa3 100644
--- a/storage/udev.py
+++ b/storage/udev.py
@@ -151,6 +151,9 @@ def udev_device_is_dm(info):
def udev_device_is_md(info):
""" Return True if the device is a mdraid array device. """
+ # Don't identify partitions on mdraid arrays as raid arrays
+ if udev_device_is_partition(info):
+ return False
# isw raid set *members* have MD_METADATA set, but are not arrays!
return info.has_key("MD_METADATA") and \
info.get("ID_FS_TYPE") != "isw_raid_member"
Ack for rhel6-branch. Hold off on master until after F-13 alpha is good to
go.
- --
David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iEYEARECAAYFAkuOhnYACgkQ5hsjjIy1Vkl7lwCbBjOZJl31+v8LbxpUWJCRxpCi
BJcAn1wzr543ny8G31qZB/aUAvLZ2PaK
=SfaS
-----END PGP SIGNATURE-----
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list