[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH][rhel6] Fix mis-management of luks dict when renaming encrypted lvs.



On Tue, 8 Feb 2011, David Lehman wrote:

Resolves: rhbz#674773
---
iw/lvm_dialog_gui.py |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index 0192b04..0e86edf 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -798,7 +798,7 @@ class VolumeGroupEditor:

            if self.luks.has_key(origname) and origname != templv.lvname:
                self.luks[templv.lvname] = self.luks[origname]
-                del self.luks[templv.lvname]
+                del self.luks[origname]
        elif templv.format.type != "luks" and self.luks.has_key(origname):
            del self.luks[origname]

Ack.

--
David Cantrell <dcantrell redhat com>
Supervisor, Installer Engineering Team
Red Hat, Inc. | Honolulu, HI | UTC-10


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]