From: "Brian C. Lane" <bcl@xxxxxxxxxx> The Software RAID button was allowing encrypt to be selected. This adds a check to createFSTypeMenu that makes sure it is disabled if the dialog is created with software RAID selected. Resolves: rhbz#771901 --- iw/partition_ui_helpers_gui.py | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/iw/partition_ui_helpers_gui.py b/iw/partition_ui_helpers_gui.py index 6356062..b4be34a 100644 --- a/iw/partition_ui_helpers_gui.py +++ b/iw/partition_ui_helpers_gui.py @@ -211,6 +211,15 @@ def createFSTypeMenu(fstype, fstypechangeCB, mountCombo, fstypecombo.get_active_value().isMountable()) mountCombo.connect("changed", mountptchangeCB, fstypecombo) + # Make sure encryption can't be set on software raid + if lukscb and mountCombo: + fstype = fstypecombo.get_active_value() + if fstype == fileSystemTypeGet("software RAID"): + lukscb.set_active(0) + lukscb.set_sensitive(0) + else: + lukscb.set_sensitive(1) + return fstypecombo def mountptchangeCB(widget, fstypecombo): -- 1.7.6.5 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list