Fix issue with getting kerberos credentials
After !80 (merged), we get kerbersos credentials using keytab. We happen to call kinit
taken from conda
environment (krb5
is one of indirect dependency). However, this breaks system kerberos configuration, possibly related with https://github.com/ContinuumIO/anaconda-issues/issues/10772. The issue goes away using kinit
from /cvmfs/.../LbEnv/...
or the system one:
-bash-4.2$ sudo -u lblocal /home/lblocal/override_envs/functions/bin/kinit -k -t /home/lblocal/private/lhcbsoft.keytab lhcbsoft@CERN.CH
kinit: Pre-authentication failed: Invalid argument while getting initial credentials
-bash-4.2$ sudo -u lblocal /cvmfs/lhcb.cern.ch/lib/var/lib/LbEnv/2314/stable/linux-64/bin/kinit -k -t /home/lblocal/private/lhcbsoft.keytab lhcbsoft@CERN.CH
-bash-4.2$
-bash-4.2$ sudo -u lblocal /usr/bin/kinit -k -t /home/lblocal/private/lhcbsoft.keytab lhcbsoft@CERN.CH
-bash-4.2$