Thank you for the patch. It will be in version 14.11.3 when released. The commit is here:
https://github.com/SchedMD/slurm/commit/2edef50ddde9a715ba26c8dadd275a8baf8a524c


Quoting Daniel Ahlin <[email protected]>:

Hi,

I believe the parsing fallback for "old" configuration syntax of e.g.
AccountingStoragePass is wrong. It seems to me that if the "old"
syntax is found then NULL will always be returned. Below is a trivial
but untested patch for this:

--- slurm-14.11.2/src/plugins/auth/munge/auth_munge.c~  2014-12-12
20:21:29.000000000 +0100
+++ slurm-14.11.2/src/plugins/auth/munge/auth_munge.c   2014-12-19
08:12:16.348656780 +0100
@@ -709,7 +709,7 @@
        } else if (strchr(opts, '=')) {
                ;       /* New format, but socket not specified */
        } else {
-               socket = xstrdup(tmp);  /* Old format */
+               socket = xstrdup(opts); /* Old format */
        }

        return socket;

Regards,
Daniel Ahlin
PDC, KTH


--
Morris "Moe" Jette
CTO, SchedMD LLC
Commercial Slurm Development and Support

Reply via email to