[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] traceback looking for existing roots (rawhide #473498)
- From: Dave Lehman <dlehman redhat com>
- To: Discussion of Development and Customization of the Red Hat Linux Installer <anaconda-devel-list redhat com>
- Subject: [PATCH] traceback looking for existing roots (rawhide #473498)
- Date: Mon, 01 Dec 2008 10:39:40 -0600
I've attached a simple patch that will fix the traceback, but I admit I
am a little confused how this came to be an issue. Reporter says he/she
has encrypted PV, which presumably is what triggers the traceback. The
thing is that we try to skip such partitions -- the only way this can
happen is if the partition is not active (whatever the hell that means)
or it is a PV in spite of having some other partition type. I guess
there isn't anything we can do in either case?
Anyway, the patch to just fix the traceback is trivial:
diff --git a/partedUtils.py b/partedUtils.py
index f7b9f67..4be0486 100644
--- a/partedUtils.py
+++ b/partedUtils.py
@@ -873,6 +873,7 @@ class DiskSet:
continue
elif part.fs_type or crypto:
theDev = node
+ fstype = None
if part.fs_type:
fstype = part.fs_type.name
Dave
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]