[blivet:rhel7-branch] Make missing encryption key error message more helpful (#1074441)
Martin Kolman
mkolman at redhat.com
Tue Aug 19 11:07:26 UTC 2014
On Mon, 2014-08-18 at 12:35 -0400, mulhern wrote:
> Resolves: rhbz#1074441
>
> Signed-off-by: mulhern <amulhern at redhat.com>
> ---
> blivet/__init__.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/blivet/__init__.py b/blivet/__init__.py
> index 3ff2826..293b818 100644
> --- a/blivet/__init__.py
> +++ b/blivet/__init__.py
> @@ -1503,7 +1503,7 @@ class Blivet(object):
> d.format.type == "luks" and \
> not d.format.exists and \
> not d.format.hasKey):
> - yield LUKSDeviceWithoutKeyError(_("LUKS device %s has no encryption key") % (dev.name,))
> + yield LUKSDeviceWithoutKeyError(_("Encryption requested for LUKS device %s but no encryption key specified for this device.") % (dev.name,))
>
> def sanityCheck(self):
> """ Run a series of tests to verify the storage configuration.
Also looks good, also ACK!
More information about the anaconda-patches
mailing list