35ef920500
- Check the proper variable for a custom IMA keys directory (cherry-picked) Part of fate#323289. * adds 0540-Check-the-proper-variable-for-a-custom-IMA-keys-dire.patch OBS-URL: https://build.opensuse.org/request/show/534348 OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=323
26 lines
746 B
Diff
26 lines
746 B
Diff
From 551cc3694e32be97084b1f198f76f4daf908d503 Mon Sep 17 00:00:00 2001
|
|
From: Jason Dana <jasondana@quarksecurity.com>
|
|
Date: Thu, 27 Apr 2017 07:55:58 -0400
|
|
Subject: [PATCH] Check the proper variable for a custom IMA keys directory
|
|
|
|
---
|
|
modules.d/98integrity/ima-keys-load.sh | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/modules.d/98integrity/ima-keys-load.sh b/modules.d/98integrity/ima-keys-load.sh
|
|
index 659b7222..e142f74d 100755
|
|
--- a/modules.d/98integrity/ima-keys-load.sh
|
|
+++ b/modules.d/98integrity/ima-keys-load.sh
|
|
@@ -13,7 +13,7 @@ load_x509_keys()
|
|
. ${IMACONFIG}
|
|
fi
|
|
|
|
- if [ -z "${IMAKEYDIR}" ]; then
|
|
+ if [ -z "${IMAKEYSDIR}" ]; then
|
|
IMAKEYSDIR="/etc/keys/ima"
|
|
fi
|
|
|
|
--
|
|
2.14.1
|
|
|