Now LUKS related warning for non-fadump case is moved to kdumpctl,
and only warn the user if kdump failed to auto-decrypt the LUKS target.
Signed-off-by: Kairui Song <kasong(a)redhat.com>
---
mkdumprd | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mkdumprd b/mkdumprd
index 177a722..33c0b28 100644
--- a/mkdumprd
+++ b/mkdumprd
@@ -393,7 +393,7 @@ if ! check_resettable; then
exit 1
fi
-if ! check_crypt; then
+if is_fadump_capable && ! check_crypt; then
dwarn "Warning: Encrypted device is in dump path, which is not recommended, see
kexec-kdump-howto.txt for more details."
fi
--
2.30.2