dbginfo.sh: rework opencryptoki data collection

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 <siglen@de.ibm.com>
Reviewed-by: Ingo Franzki <ifranzki@de.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Joern Siglen
2023-03-02 14:05:03 +01:00
committed by Jan Höppner
parent 73c46a3056
commit 48d7c6e6d1
2 changed files with 11 additions and 2 deletions

View File

@@ -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:

View File

@@ -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