From 48d7c6e6d1550e9909463d9532b71b99c62fe97f Mon Sep 17 00:00:00 2001 From: Joern Siglen Date: Thu, 2 Mar 2023 14:05:03 +0100 Subject: [PATCH] dbginfo.sh: rework opencryptoki data collection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit changes in opencryptoki setup do require some modifications: - "pkcsconf -mlist" does no longer work in a combined format - config files have changed - ep11info was not yet collected Signed-off-by: Joern Siglen Reviewed-by: Ingo Franzki Signed-off-by: Jan Höppner --- CHANGELOG.md | 1 + scripts/dbginfo.sh | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57970e1b..041ee674 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ Release history for s390-tools (MIT version) Add new tools / libraries: Changes of existing tools: + - dbginfo.sh: rework crypto data collection Bug Fixes: diff --git a/scripts/dbginfo.sh b/scripts/dbginfo.sh index 3c8d0556..da4e8e8e 100755 --- a/scripts/dbginfo.sh +++ b/scripts/dbginfo.sh @@ -409,6 +409,7 @@ CONFIGFILES="\ /etc/multipath\ /etc/network\ /etc/networks\ + /etc/opencryptoki/*.conf\ /etc/pam.d\ /etc/profile\ /etc/profile.d\ @@ -513,13 +514,20 @@ CMDS="${CMDS}\ # crypto specific commands CMDS="${CMDS}\ - :cat /var/lib/opencryptoki/pk_config_data\ + :ep11info -D\ + :ep11info -H\ + :ep11info -M\ :icainfo\ :icastats\ :ivp.e # IBM CCA package install check\ :ls -al /usr/lib64/opencryptoki/stdll\ :lszcrypt -VV\ - :pkcsconf -mlist\ + :pkcsconf -i\ + :pkcsconf -s\ + :pkcsconf -l\ + :pkcsconf -t\ + :pkcsconf -m\ + :systemctl status pkcsslotd\ " # product / distro specific commands