DUNE-DAQ / daq-release

Scripts and configuration files for the DUNE DAQ release
https://dune-daq-sw.readthedocs.io/en/latest/packages/daq-release/
2 stars 0 forks source link

`kinit` and `klist` not working in `ext-v2.0` #307

Closed dingp closed 12 months ago

dingp commented 12 months ago

If using AL9 release, when doing klist or kinit, one would end with:

klist: Unknown credential cache type while resolving ccache

This is caused by the fact that the binaries did not link against libkeyutils.so.

We did not have this issue with ext-v1.1 because the docker image we used to build the stack have libkeyutils.so in its system path.

There are two ways to fix/bypass this issue:

  1. install keyutils-libs-devel into the external software stack, and make krb5 dependent on it;
  2. rebuild krb5 in spack using a docker container where keyutils is installed;
  3. do export KRB5CCNAME=$(mktemp), and then kinit on AL9 nodes where kerberized ssh is required.
dingp commented 12 months ago

Implemented 1, this should fix the issue for now.

Do not plan to implement 2, but leave it to spack upstream to fix it.