Upon further investigation I found that my testing above was a bit flawed and there is a general issue with the AuthInfo information not properly read. The below patch fixes this issue and I can configure the munge sockets to whatever I desire.
Maybe I should send this to slurn-dev ?
---
index c33782167a..1568742481 100644
--- a/src/interfaces/auth.c
+++ b/src/interfaces/auth.c
@@ -335,14 +335,18 @@ void *auth_g_create(int index, char *auth_info, uid_t r_uid,
void *data, int dlen)
{
cred_wrapper_t *cred;
+ char *info = auth_info;
xassert(g_context_num > 0);
if (r_uid == SLURM_AUTH_NOBODY)
return NULL;
+ if (!info)
+ info = slurm_conf.authinfo;
+
slurm_rwlock_rdlock(&context_lock);
- cred = (*(ops[index].create))(auth_info, r_uid, data, dlen);
+ cred = (*(ops[index].create))(info, r_uid, data, dlen);
slurm_rwlock_unlock(&context_lock);
if (cred)
---